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:
description: "successful operation"
schema:
$ref: "#/definitions/PhoneNumberList"
$ref: "#/definitions/PhoneNumberListAnswer"
securityDefinitions:
token:
type: "apiKey"
@ -127,24 +127,25 @@ definitions:
format: "JID"
description: "Full JID for the conference OR boolean false if no conference was found (search by ID)"
PhoneNumberList:
description: "List of dial in numbers for the conference."
type: "array"
items:
PhoneNumberListAnswer:
description: "Answer with Phone number list and additional information"
type: "object"
properties:
countryCode:
message:
type: "string"
description: "ISO 3166-1 country code. Alpha-2 supported."
default:
description: "General message"
numbersEnabled:
type: "boolean"
description: "Whether this number is the default one to show. Optional."
formattedNumber:
description: "Determines if the numbers are available"
numbers:
type: object
additionalProperties:
type: "array"
items:
type: "string"
description: "The formatted telephone number to show."
tollFree:
type: "boolean"
description: "Whether the number is toll free number."
example:
US: ["+1.123.456.7890"]
UK: ["+44.123.456.7890"]
externalDocs:
description: "Find out more about the Jitsi Cloud API"