Skip to content

Commit

Permalink
Himasekhar ms mediaservices microsoft.media 2023 01 01 (#22557)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.Media/Metadata from version stable/2022-08-01 to version 2023-01-01

* Updates readme

* Updates API version in new specs and examples

* Adding new version 2023-01-01 for metadata APIs which includes ecryption scope support in Assets create API

* Updating AssetsAndAssetFilters manifest with new property encryptionScope and adding new test case for asset create with encryption scope

* Fixed text alignment issues in the example file

* Adding new example file in AssetsAndAssetFilters

* Add missing swagger files and update tag name

* Fixing the path for the Swagger file

* Updating stemingService version to 2022-01-01

* Updating stemingService version to 2022-08-01

* Reverting the StremingServive API version changes

* fix the test readMe file

* fix the test readMe input file version

---------

Co-authored-by: giakas <giakas@microsoft.com>
  • Loading branch information
himasekhar-ms and giakas authored Mar 16, 2023
1 parent ee157d6 commit ebd66fc
Show file tree
Hide file tree
Showing 68 changed files with 9,284 additions and 5 deletions.

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": "contosorg",
"accountName": "contosomedia",
"filterName": "newAccountFilter",
"api-version": "2023-01-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/contosorg/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/contosorg/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": "contosorg",
"accountName": "contosomedia",
"filterName": "accountFilterWithTimeWindowAndTrack",
"api-version": "2023-01-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": "contosorg",
"accountName": "contosomedia",
"filterName": "accountFilterWithTrack",
"api-version": "2023-01-01"
},
"responses": {
"200": {
"body": {
"name": "accountFilterWithTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/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": "contosorg",
"accountName": "contosomedia",
"api-version": "2023-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "accountFilterWithTimeWindowAndTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/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/contosorg/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 ebd66fc

Please sign in to comment.