Skip to content

Commit

Permalink
fix(openapi): Regenerate OpenAPI
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Oct 9, 2023
1 parent 50a3843 commit 1228fef
Showing 1 changed file with 157 additions and 1 deletion.
158 changes: 157 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -12697,7 +12697,7 @@
}
},
"501": {
"description": "",
"description": "SIP dial-out is not configured",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -14596,6 +14596,162 @@
}
}
},
"/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/verify-dialout": {
"get": {
"operationId": "room-get-participant-by-dial-out-number",
"summary": "Get a participant by their dial-out number (SIP bridge)",
"tags": [
"room"
],
"security": [
{},
{
"bearer_auth": []
},
{
"basic_auth": []
}
],
"parameters": [
{
"name": "number",
"in": "query",
"description": "E164 formatted phone number",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "options",
"in": "query",
"description": "Additional details to verify the validity of the request",
"schema": {
"type": "string"
}
},
{
"name": "apiVersion",
"in": "path",
"required": true,
"schema": {
"type": "string",
"enum": [
"v4"
],
"default": "v4"
}
},
{
"name": "token",
"in": "path",
"required": true,
"schema": {
"type": "string",
"pattern": "^[a-z0-9]{4,30}$"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
"required": true,
"schema": {
"type": "boolean",
"default": true
}
}
],
"responses": {
"200": {
"description": "Participant created successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {
"$ref": "#/components/schemas/Room"
}
}
}
}
}
}
}
},
"400": {
"description": "Phone number and details could not be confirmed",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
},
"401": {
"description": "SIP request invalid",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
}
}
}
},
"/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/notify": {
"post": {
"operationId": "room-set-notification-level",
Expand Down

0 comments on commit 1228fef

Please sign in to comment.