Skip to content

Commit

Permalink
Update Media Composition Swagger to latest version (#21642)
Browse files Browse the repository at this point in the history
* 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
minnieliu and Minnie Liu authored Dec 5, 2022
1 parent 39e5b4a commit d8a5fbd
Show file tree
Hide file tree
Showing 7 changed files with 683 additions and 452 deletions.
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."
}
}
}
}
}

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."
}
}
}
}
}
Loading

0 comments on commit d8a5fbd

Please sign in to comment.