-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Media Composition Swagger to latest version (#21642)
* Update Media Composition Swagger * Manually update the swagger to unblock * Fix spec errors * Prettify * Prettify * Updating swagger * Prettify Co-authored-by: Minnie Liu <peiliu@microsoft.com>
- Loading branch information
Showing
7 changed files
with
683 additions
and
452 deletions.
There are no files selected for viewing
189 changes: 96 additions & 93 deletions
189
...position/preview/2022-07-16-preview/examples/MediaComposition_CreateMediaComposition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,104 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://contoso.westus.communications.azure.com", | ||
"api-version": "2022-07-16-preview1", | ||
"mediaCompositionId": "49b2b09f-5be7-4a67-835e-9b11aa260f08", | ||
"mediaComposition": { | ||
"layout": { | ||
"kind": "autoGrid", | ||
"inputIds": [ "meeting" ], | ||
"resolution": { | ||
"width": 1920, | ||
"height": 1080 | ||
} | ||
}, | ||
"inputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
}, | ||
"outputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
} | ||
"parameters": { | ||
"endpoint": "https://contoso.westus.communications.azure.com", | ||
"api-version": "2022-07-16-preview", | ||
"mediaCompositionId": "49b2b09f-5be7-4a67-835e-9b11aa260f08", | ||
"body": { | ||
"layout": { | ||
"kind": "autoGrid", | ||
"inputIds": [ | ||
"meeting" | ||
], | ||
"resolution": { | ||
"width": 1920, | ||
"height": 1080 | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "49b2b09f-5be7-4a67-835e-9b11aa260f08", | ||
"layout": { | ||
"kind": "autoGrid", | ||
"inputIds": [ "meeting" ], | ||
"highlightDominantSpeaker": false, | ||
"resolution": { | ||
"width": 1920, | ||
"height": 1080 | ||
} | ||
}, | ||
"inputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
}, | ||
"outputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
}, | ||
"streamState": { | ||
"status": "notStarted" | ||
} | ||
} | ||
}, | ||
"400": { | ||
"body": { | ||
"error": { | ||
"code": "BadRequest", | ||
"message": "The request contains invalid data." | ||
} | ||
} | ||
}, | ||
"401": { | ||
"body": { | ||
"error": { | ||
"code": "Unauthorized", | ||
"message": "Request is not authorized." | ||
} | ||
} | ||
}, | ||
"inputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
}, | ||
"outputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "49b2b09f-5be7-4a67-835e-9b11aa260f08", | ||
"layout": { | ||
"kind": "autoGrid", | ||
"inputIds": [ | ||
"meeting" | ||
], | ||
"highlightDominantSpeaker": false, | ||
"resolution": { | ||
"width": 1920, | ||
"height": 1080 | ||
} | ||
}, | ||
"403": { | ||
"body": { | ||
"error": { | ||
"code": "Forbidden", | ||
"message": "User is not allowed to perform specified action." | ||
} | ||
} | ||
"inputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
}, | ||
"429": { | ||
"body": { | ||
"error": { | ||
"code": "TooManyRequests", | ||
"message": "Rate limit exceeded." | ||
} | ||
} | ||
"outputs": { | ||
"meeting": { | ||
"kind": "teamsMeeting", | ||
"teamsJoinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjhlYTc5NTEtYjQ0Ny00ZDkwLWIxZTYtYzg0MDNmMTg5MGIy%40thread.v2/0?context=%7b%22Tid%22%3a%2221fa45a2-67de-4731-b654-ccf5c9c0d577%22%2c%22Oid%22%3a%22fbb3436a-4ec7-46e0-b20d-e6de72513e58%22%7d" | ||
} | ||
}, | ||
"503": { | ||
"body": { | ||
"error": { | ||
"code": "ServiceUnavailable", | ||
"message": "The server is currently unable to handle the request." | ||
} | ||
} | ||
"streamState": { | ||
"status": "notStarted" | ||
} | ||
} | ||
}, | ||
"400": { | ||
"body": { | ||
"error": { | ||
"code": "BadRequest", | ||
"message": "The request contains invalid data." | ||
} | ||
} | ||
}, | ||
"401": { | ||
"body": { | ||
"error": { | ||
"code": "Unauthorized", | ||
"message": "Request is not authorized." | ||
} | ||
} | ||
}, | ||
"403": { | ||
"body": { | ||
"error": { | ||
"code": "Forbidden", | ||
"message": "User is not allowed to perform specified action." | ||
} | ||
} | ||
}, | ||
"429": { | ||
"body": { | ||
"error": { | ||
"code": "TooManyRequests", | ||
"message": "Rate limit exceeded." | ||
} | ||
} | ||
}, | ||
"503": { | ||
"body": { | ||
"error": { | ||
"code": "ServiceUnavailable", | ||
"message": "The server is currently unable to handle the request." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
90 changes: 45 additions & 45 deletions
90
...position/preview/2022-07-16-preview/examples/MediaComposition_DeleteMediaComposition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://contoso.westus.communications.azure.com", | ||
"api-version": "2022-07-16-preview1", | ||
"mediaCompositionId": "49b2b09f-5be7-4a67-835e-9b11aa260f08" | ||
"parameters": { | ||
"endpoint": "https://contoso.westus.communications.azure.com", | ||
"api-version": "2022-07-16-preview", | ||
"mediaCompositionId": "49b2b09f-5be7-4a67-835e-9b11aa260f08" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"400": { | ||
"body": { | ||
"error": { | ||
"code": "BadRequest", | ||
"message": "The request contains invalid data." | ||
} | ||
} | ||
}, | ||
"401": { | ||
"body": { | ||
"error": { | ||
"code": "Unauthorized", | ||
"message": "Request is not authorized." | ||
} | ||
} | ||
}, | ||
"403": { | ||
"body": { | ||
"error": { | ||
"code": "Forbidden", | ||
"message": "User is not allowed to perform specified action." | ||
} | ||
} | ||
}, | ||
"429": { | ||
"body": { | ||
"error": { | ||
"code": "TooManyRequests", | ||
"message": "Rate limit exceeded." | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"400": { | ||
"body": { | ||
"error": { | ||
"code": "BadRequest", | ||
"message": "The request contains invalid data." | ||
} | ||
} | ||
}, | ||
"401": { | ||
"body": { | ||
"error": { | ||
"code": "Unauthorized", | ||
"message": "Request is not authorized." | ||
} | ||
} | ||
}, | ||
"403": { | ||
"body": { | ||
"error": { | ||
"code": "Forbidden", | ||
"message": "User is not allowed to perform specified action." | ||
} | ||
} | ||
}, | ||
"429": { | ||
"body": { | ||
"error": { | ||
"code": "TooManyRequests", | ||
"message": "Rate limit exceeded." | ||
} | ||
} | ||
}, | ||
"503": { | ||
"body": { | ||
"error": { | ||
"code": "ServiceUnavailable", | ||
"message": "The server is currently unable to handle the request." | ||
} | ||
} | ||
"503": { | ||
"body": { | ||
"error": { | ||
"code": "ServiceUnavailable", | ||
"message": "The server is currently unable to handle the request." | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.