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:
DanielHabenicht 2022-05-03 15:43:55 +02:00 committed by GitHub
parent fe7327cd21
commit 1f9a0e91d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 18 deletions

View File

@ -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"
items:
type: "object" type: "object"
properties: properties:
countryCode: message:
type: "string" type: "string"
description: "ISO 3166-1 country code. Alpha-2 supported." description: "General message"
default: numbersEnabled:
type: "boolean" type: "boolean"
description: "Whether this number is the default one to show. Optional." description: "Determines if the numbers are available"
formattedNumber: numbers:
type: object
additionalProperties:
type: "array"
items:
type: "string" type: "string"
description: "The formatted telephone number to show." example:
tollFree: US: ["+1.123.456.7890"]
type: "boolean" UK: ["+44.123.456.7890"]
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"