Update cloud-api.swagger (#11481)
* Update cloud-api.swagger Update to match with the current implementation * Update cloud-api.swagger
This commit is contained in:
parent
fe7327cd21
commit
1f9a0e91d2
|
@ -85,7 +85,7 @@ paths:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/definitions/PhoneNumberList"
|
$ref: "#/definitions/PhoneNumberListAnswer"
|
||||||
securityDefinitions:
|
securityDefinitions:
|
||||||
token:
|
token:
|
||||||
type: "apiKey"
|
type: "apiKey"
|
||||||
|
@ -127,24 +127,25 @@ definitions:
|
||||||
format: "JID"
|
format: "JID"
|
||||||
description: "Full JID for the conference OR boolean false if no conference was found (search by ID)"
|
description: "Full JID for the conference OR boolean false if no conference was found (search by ID)"
|
||||||
|
|
||||||
PhoneNumberList:
|
PhoneNumberListAnswer:
|
||||||
description: "List of dial in numbers for the conference."
|
description: "Answer with Phone number list and additional information"
|
||||||
type: "array"
|
type: "object"
|
||||||
items:
|
properties:
|
||||||
type: "object"
|
message:
|
||||||
properties:
|
type: "string"
|
||||||
countryCode:
|
description: "General message"
|
||||||
|
numbersEnabled:
|
||||||
|
type: "boolean"
|
||||||
|
description: "Determines if the numbers are available"
|
||||||
|
numbers:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
type: "string"
|
type: "string"
|
||||||
description: "ISO 3166-1 country code. Alpha-2 supported."
|
example:
|
||||||
default:
|
US: ["+1.123.456.7890"]
|
||||||
type: "boolean"
|
UK: ["+44.123.456.7890"]
|
||||||
description: "Whether this number is the default one to show. Optional."
|
|
||||||
formattedNumber:
|
|
||||||
type: "string"
|
|
||||||
description: "The formatted telephone number to show."
|
|
||||||
tollFree:
|
|
||||||
type: "boolean"
|
|
||||||
description: "Whether the number is toll free number."
|
|
||||||
|
|
||||||
externalDocs:
|
externalDocs:
|
||||||
description: "Find out more about the Jitsi Cloud API"
|
description: "Find out more about the Jitsi Cloud API"
|
||||||
|
|
Loading…
Reference in New Issue