Skip to content

Commit

Permalink
Dev mediaservices microsoft.media 2021 11 01 (#17540)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.Media from version stable/2021-06-01 to version 2021-11-01

* Updates readme

* Updates API version in new specs and examples

* Update Account swagger to 2021-11-01

* add the supressions

* remove descriminator for Layers

* use 2021-06-01 version for encoding service

* remove 404 response

* Revert "use 2021-06-01 version for encoding service"

This reverts commit f1e9a60.

* 202 for patch suprression

* Update privateLinks to v3 to get systemData

* Revert "Update privateLinks to v3 to get systemData"

This reverts commit c43f857.

* update streaming service and assetTracks swagger

* fix lint errors.

* fix some lint check.

* rename examples

* removing patch supression test

* Update asset-tracks-operation-result-by-id-no-content.json

* Update AssetsAndAssetFilters.json

set x-ms-paging with null in list tracks

* Update asset-tracks-operation-result-by-id-no-content.json

remove 202 in post example

* Update asset-tracks-operation-result-by-id.json

add 202 back

* Revert "removing patch supression test"

This reverts commit f897922.

* remove operation result data type

* update description on a suppression.

* add another path to the systemData suppression

* update example and description

* Update AssetsAndAssetFilters.json

update api description

* Add async headers to examples

* add async headers to live event and streaming endpoint examples

* Splitting Account service changes from this PR

* remove unused account examples

* Rebase with x-ms-identifier changes.

* fix a lint error for x-ms-identifier

Co-authored-by: zimao <zimao@microsoft.com>
Co-authored-by: Ziwei Mao <19548067+ZzzMao@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 21, 2022
1 parent e2ef44b commit 56756e4
Show file tree
Hide file tree
Showing 107 changed files with 16,885 additions and 1 deletion.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"filterName": "newAccountFilter",
"api-version": "2021-11-01",
"parameters": {
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"operation": "Equal",
"value": "Audio"
},
{
"property": "Language",
"operation": "NotEqual",
"value": "en"
},
{
"property": "FourCC",
"operation": "NotEqual",
"value": "EC-3"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"operation": "Equal",
"value": "Video"
},
{
"property": "Bitrate",
"operation": "Equal",
"value": "3000000-5000000"
}
]
}
]
}
}
},
"responses": {
"201": {
"body": {
"name": "newAccountFilter",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
},
"200": {
"body": {
"name": "newAccountFilter",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"filterName": "accountFilterWithTimeWindowAndTrack",
"api-version": "2021-11-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"filterName": "accountFilterWithTrack",
"api-version": "2021-11-01"
},
"responses": {
"200": {
"body": {
"name": "accountFilterWithTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"api-version": "2021-11-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "accountFilterWithTimeWindowAndTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTimeWindowAndTrack",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
},
{
"name": "accountFilterWithTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
]
}
}
}
}
Loading

0 comments on commit 56756e4

Please sign in to comment.