openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 55.8 kB
JSON
{"openapi":"3.0.0","info":{"description":"This Swagger was generated by the API Framework.","title":"Azure Media Services","version":"2018-07-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"mediaservices-StreamingPoliciesAndStreamingLocators","x-tags":["Azure","Microsoft"]},"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators":{"get":{"description":"Lists the Streaming Locators in the account","operationId":"StreamingLocators_List","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/ApiVersion"},{"description":"Restricts the set of items returned.","in":"query","name":"$filter","required":false,"schema":{"type":"string"}},{"description":"Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.","in":"query","name":"$top","required":false,"schema":{"type":"integer"}},{"description":"Specifies the key by which the result collection should be ordered.","in":"query","name":"$orderby","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingLocatorCollection"},"examples":{"Lists Streaming Locators":{"$ref":"#/components/examples/Lists_Streaming_Locators"}}}}},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"List Streaming Locators","x-ms-odata":"#/components/schemas/StreamingLocator","x-ms-pageable":{"nextLinkName":"@odata.nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}":{"delete":{"description":"Deletes a Streaming Locator in the Media Services account","operationId":"StreamingLocators_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Locator name.","in":"path","name":"streamingLocatorName","required":true,"schema":{"type":"string"},"examples":{"Delete a Streaming Locator":{"value":"clearStreamingLocator"}}},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK"},"204":{"description":"NoContent"},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Delete a Streaming Locator"},"get":{"description":"Get the details of a Streaming Locator in the Media Services account","operationId":"StreamingLocators_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Locator name.","in":"path","name":"streamingLocatorName","required":true,"schema":{"type":"string"},"examples":{"Get a Streaming Locator by name":{"value":"clearStreamingLocator"}}},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingLocator"},"examples":{"Get a Streaming Locator by name":{"$ref":"#/components/examples/Get_a_Streaming_Locator_by_name"}}}}},"404":{"description":"NotFound"},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Get a Streaming Locator"},"put":{"description":"Create a Streaming Locator in the Media Services account","operationId":"StreamingLocators_Create","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Locator name.","in":"path","name":"streamingLocatorName","required":true,"schema":{"type":"string"},"examples":{"Creates a Streaming Locator with clear streaming":{"value":"UserCreatedClearStreamingLocator"},"Creates a Streaming Locator with secure streaming":{"value":"UserCreatedSecureStreamingLocator"},"Creates a Streaming Locator with user defined content keys":{"value":"UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys"}}},{"$ref":"#/components/parameters/ApiVersion"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingLocator"}}},"description":"The request parameters","required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingLocator"},"examples":{"Creates a Streaming Locator with clear streaming":{"$ref":"#/components/examples/Creates_a_Streaming_Locator_with_clear_streaming"},"Creates a Streaming Locator with secure streaming":{"$ref":"#/components/examples/Creates_a_Streaming_Locator_with_secure_streaming"},"Creates a Streaming Locator with user defined content keys":{"$ref":"#/components/examples/Creates_a_Streaming_Locator_with_user_defined_content_keys"}}}}},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Create a Streaming Locator"}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys":{"post":{"description":"List Content Keys used by this Streaming Locator","operationId":"StreamingLocators_ListContentKeys","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Locator name.","in":"path","name":"streamingLocatorName","required":true,"schema":{"type":"string"},"examples":{"List Content Keys":{"value":"secureStreamingLocator"}}},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListContentKeysResponse"},"examples":{"List Content Keys":{"$ref":"#/components/examples/List_Content_Keys"}}}}},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"List Content Keys"}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths":{"post":{"description":"List Paths supported by this Streaming Locator","operationId":"StreamingLocators_ListPaths","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Locator name.","in":"path","name":"streamingLocatorName","required":true,"schema":{"type":"string"},"examples":{"List Paths which has streaming paths and download paths":{"value":"clearStreamingLocator"},"List Paths which has streaming paths only":{"value":"secureStreamingLocator"}}},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPathsResponse"},"examples":{"List Paths which has streaming paths and download paths":{"$ref":"#/components/examples/List_Paths_which_has_streaming_paths_and_download_paths"},"List Paths which has streaming paths only":{"$ref":"#/components/examples/List_Paths_which_has_streaming_paths_only"}}}}},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"List Paths"}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies":{"get":{"description":"Lists the Streaming Policies in the account","operationId":"StreamingPolicies_List","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/ApiVersion"},{"description":"Restricts the set of items returned.","in":"query","name":"$filter","required":false,"schema":{"type":"string"}},{"description":"Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.","in":"query","name":"$top","required":false,"schema":{"type":"integer"}},{"description":"Specifies the key by which the result collection should be ordered.","in":"query","name":"$orderby","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingPolicyCollection"},"examples":{"Lists Streaming Policies":{"$ref":"#/components/examples/Lists_Streaming_Policies"}}}}},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"List Streaming Policies","x-ms-odata":"#/components/schemas/StreamingPolicy","x-ms-pageable":{"nextLinkName":"@odata.nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}":{"delete":{"description":"Deletes a Streaming Policy in the Media Services account","operationId":"StreamingPolicies_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Policy name.","in":"path","name":"streamingPolicyName","required":true,"schema":{"type":"string"},"examples":{"Delete a Streaming Policy":{"value":"secureStreamingPolicyWithCommonEncryptionCbcsOnly"}}},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK"},"204":{"description":"NoContent"},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Delete a Streaming Policy"},"get":{"description":"Get the details of a Streaming Policy in the Media Services account","operationId":"StreamingPolicies_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Policy name.","in":"path","name":"streamingPolicyName","required":true,"schema":{"type":"string"},"examples":{"Get a Streaming Policy by name":{"value":"clearStreamingPolicy"}}},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingPolicy"},"examples":{"Get a Streaming Policy by name":{"$ref":"#/components/examples/Get_a_Streaming_Policy_by_name"}}}}},"404":{"description":"NotFound"},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Get a Streaming Policy"},"put":{"description":"Create a Streaming Policy in the Media Services account","operationId":"StreamingPolicies_Create","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"description":"The Streaming Policy name.","in":"path","name":"streamingPolicyName","required":true,"schema":{"type":"string"},"examples":{"Creates a Streaming Policy with clear streaming":{"value":"UserCreatedClearStreamingPolicy"},"Creates a Streaming Policy with commonEncryptionCbcs only":{"value":"UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly"},"Creates a Streaming Policy with commonEncryptionCenc only":{"value":"UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly"},"Creates a Streaming Policy with envelopeEncryption only":{"value":"UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly"},"Creates a Streaming Policy with secure streaming":{"value":"UserCreatedSecureStreamingPolicy"}}},{"$ref":"#/components/parameters/ApiVersion"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingPolicy"}}},"description":"The request parameters","required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingPolicy"},"examples":{"Creates a Streaming Policy with clear streaming":{"$ref":"#/components/examples/Creates_a_Streaming_Policy_with_clear_streaming"},"Creates a Streaming Policy with commonEncryptionCbcs only":{"$ref":"#/components/examples/Creates_a_Streaming_Policy_with_commonEncryptionCbcs_only"},"Creates a Streaming Policy with commonEncryptionCenc only":{"$ref":"#/components/examples/Creates_a_Streaming_Policy_with_commonEncryptionCenc_only"},"Creates a Streaming Policy with envelopeEncryption only":{"$ref":"#/components/examples/Creates_a_Streaming_Policy_with_envelopeEncryption_only"},"Creates a Streaming Policy with secure streaming":{"$ref":"#/components/examples/Creates_a_Streaming_Policy_with_secure_streaming"}}}}},"default":{"description":"Detailed error information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Create a Streaming Policy"}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Lists_Streaming_Locators":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/clearStreamingLocator","name":"clearStreamingLocator","properties":{"assetName":"ClimbingMountRainier","contentKeys":[],"created":"2018-08-08T18:29:31.9341192Z","endTime":"9999-12-31T23:59:59.9999999Z","streamingLocatorId":"6a116ec6-0c85-441f-9c31-89a5bc3adf0a","streamingPolicyName":"clearStreamingPolicy"},"type":"Microsoft.Media/mediaservices/streamingLocators"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/secureStreamingLocator","name":"secureStreamingLocator","properties":{"assetName":"ClimbingMountRainier","contentKeys":[],"created":"2018-08-08T18:29:31.9544387Z","endTime":"9999-12-31T23:59:59.9999999Z","streamingLocatorId":"7338ef90-ffc8-42de-8bff-de8f99973300","streamingPolicyName":"secureStreamingPolicy"},"type":"Microsoft.Media/mediaservices/streamingLocators"}]}},"Get_a_Streaming_Locator_by_name":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/clearStreamingLocator","name":"clearStreamingLocator","properties":{"assetName":"ClimbingMountRainier","contentKeys":[],"created":"2018-08-08T18:29:32.1154071Z","endTime":"9999-12-31T23:59:59.9999999Z","filters":[],"streamingLocatorId":"7684043b-f6d1-44a7-8bed-8a4aa474c5a4","streamingPolicyName":"clearStreamingPolicy"},"type":"Microsoft.Media/mediaservices/streamingLocators"}},"Creates_a_Streaming_Locator_with_clear_streaming":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedClearStreamingLocator","name":"UserCreatedClearStreamingLocator","properties":{"assetName":"ClimbingMountRainier","contentKeys":[],"created":"2019-06-06T17:28:03.7992857Z","endTime":"9999-12-31T23:59:59.9999999Z","filters":[],"streamingLocatorId":"7ccb6b56-686c-4d93-a267-8117ee145878","streamingPolicyName":"clearStreamingPolicy"},"type":"Microsoft.Media/mediaservices/streamingLocators"}},"Creates_a_Streaming_Locator_with_secure_streaming":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedSecureStreamingLocator","name":"UserCreatedSecureStreamingLocator","properties":{"assetName":"ClimbingMountRainier","contentKeys":[{"id":"41ddc803-579c-4fe8-b298-b37be5924d9e","labelReferenceInStreamingPolicy":"cbcsDefaultKey","tracks":[],"type":"CommonEncryptionCbcs"},{"id":"68a5fd6e-ed9e-4cdf-b276-40304299dc4a","labelReferenceInStreamingPolicy":"cencDefaultKey","tracks":[],"type":"CommonEncryptionCenc"},{"id":"bfb7cbf3-5834-4d43-a87d-f25ed1b88ed3","labelReferenceInStreamingPolicy":"aesDefaultKey","tracks":[],"type":"EnvelopeEncryption"}],"created":"2019-06-06T17:28:03.9392829Z","endTime":"2028-12-31T23:59:59.9999999Z","filters":[],"startTime":"2018-03-01T00:00:00Z","streamingLocatorId":"1f5db621-0c21-43d7-a340-2b143d62d4e7","streamingPolicyName":"secureStreamingPolicy"},"type":"Microsoft.Media/mediaservices/streamingLocators"}},"Creates_a_Streaming_Locator_with_user_defined_content_keys":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys","name":"UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys","properties":{"assetName":"ClimbingMountRainier","contentKeys":[{"id":"60000000-0000-0000-0000-000000000007","labelReferenceInStreamingPolicy":"cbcsDefaultKey","tracks":[],"type":"CommonEncryptionCbcs"},{"id":"60000000-0000-0000-0000-000000000004","labelReferenceInStreamingPolicy":"cencDefaultKey","tracks":[],"type":"CommonEncryptionCenc"},{"id":"60000000-0000-0000-0000-000000000001","labelReferenceInStreamingPolicy":"aesDefaultKey","tracks":[],"type":"EnvelopeEncryption"}],"created":"2019-06-06T18:00:49.849356Z","endTime":"9999-12-31T23:59:59.9999999Z","filters":[],"streamingLocatorId":"90000000-0000-0000-0000-00000000000a","streamingPolicyName":"secureStreamingPolicy"},"type":"Microsoft.Media/mediaservices/streamingLocators"}},"List_Content_Keys":{"value":{"contentKeys":[{"id":"9259eb06-eeee-4f77-987f-48f4ea5c649f","labelReferenceInStreamingPolicy":"aesDefaultKey","policyName":"PolicyWithMultipleOptions","tracks":[],"type":"EnvelopeEncryption","value":"QpiqeQROdN5xamnfUF2Wdw=="},{"id":"06bfeff1-2bb6-4f58-af27-a2767f058bca","labelReferenceInStreamingPolicy":"cencDefaultKey","policyName":"PolicyWithMultipleOptions","tracks":[],"type":"CommonEncryptionCenc","value":"ZjgWhNnqnqcov/h+wrYusw=="},{"id":"799e78a0-ed6f-4179-9222-ed4ec4223cec","labelReferenceInStreamingPolicy":"cbcsDefaultKey","policyName":"PolicyWithMultipleOptions","tracks":[],"type":"CommonEncryptionCbcs","value":"FjZ3n3yRcVxRFftdYFbe9g=="}]}},"List_Paths_which_has_streaming_paths_and_download_paths":{"value":{"downloadPaths":["/262a87b6-b538-4657-bac1-b6897924471d/textTrack.vtt","/262a87b6-b538-4657-bac1-b6897924471d/video1.mp4","/262a87b6-b538-4657-bac1-b6897924471d/video2.mp4","/262a87b6-b538-4657-bac1-b6897924471d/video3.mp4"],"streamingPaths":[{"encryptionScheme":"NoEncryption","paths":["/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=m3u8-aapl)","/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=m3u8-aapl)","/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=m3u8-aapl)"],"streamingProtocol":"Hls"},{"encryptionScheme":"NoEncryption","paths":["/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=mpd-time-csf)","/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=mpd-time-csf)","/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=mpd-time-csf)"],"streamingProtocol":"Dash"},{"encryptionScheme":"NoEncryption","paths":["/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest","/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest","/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest"],"streamingProtocol":"SmoothStreaming"}]}},"List_Paths_which_has_streaming_paths_only":{"value":{"downloadPaths":[],"streamingPaths":[{"encryptionScheme":"EnvelopeEncryption","paths":["/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbc)"],"streamingProtocol":"Hls"},{"encryptionScheme":"EnvelopeEncryption","paths":["/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cbc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cbc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cbc)"],"streamingProtocol":"Dash"},{"encryptionScheme":"EnvelopeEncryption","paths":["/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cbc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cbc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cbc)"],"streamingProtocol":"SmoothStreaming"},{"encryptionScheme":"CommonEncryptionCenc","paths":["/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cenc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cenc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cenc)"],"streamingProtocol":"Dash"},{"encryptionScheme":"CommonEncryptionCenc","paths":["/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cenc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cenc)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cenc)"],"streamingProtocol":"SmoothStreaming"},{"encryptionScheme":"CommonEncryptionCbcs","paths":["/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)","/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)"],"streamingProtocol":"Hls"}]}},"Lists_Streaming_Policies":{"value":{"@odata.nextLink":"http://server/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaServices/contosomedia/streamingPolicies?api-version=2018-07-01&$skiptoken=secureStreamingPolicyWithEnvelopeEncryptionOnly","value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/clearStreamingPolicy","name":"clearStreamingPolicy","properties":{"created":"2018-08-08T18:29:30.676067Z","noEncryption":{"enabledProtocols":{"dash":true,"download":true,"hls":true,"smoothStreaming":true}}},"type":"Microsoft.Media/mediaservices/streamingPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicy","name":"secureStreamingPolicy","properties":{"commonEncryptionCbcs":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"cbcsDefaultKey"},"keyToTrackMappings":[]},"drm":{"fairPlay":{"allowPersistentLicense":true,"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"}},"enabledProtocols":{"dash":false,"download":false,"hls":true,"smoothStreaming":false}},"commonEncryptionCenc":{"clearTracks":[{"trackSelections":[{"operation":"Unknown","property":"FourCC","value":"hev1"}]}],"contentKeys":{"defaultKey":{"label":"cencDefaultKey"},"keyToTrackMappings":[]},"drm":{"playReady":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}","playReadyCustomAttributes":"PlayReady CustomAttributes"},"widevine":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"}},"enabledProtocols":{"dash":true,"download":false,"hls":false,"smoothStreaming":true}},"created":"2018-08-08T18:29:30.6781134Z","defaultContentKeyPolicyName":"PolicyWithMultipleOptions","envelopeEncryption":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"aesDefaultKey"},"keyToTrackMappings":[]},"customKeyAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}","enabledProtocols":{"dash":true,"download":false,"hls":true,"smoothStreaming":true}}},"type":"Microsoft.Media/mediaservices/streamingPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithCommonEncryptionCbcsOnly","name":"secureStreamingPolicyWithCommonEncryptionCbcsOnly","properties":{"commonEncryptionCbcs":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"cbcsDefaultKey"},"keyToTrackMappings":[]},"drm":{"fairPlay":{"allowPersistentLicense":true,"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"}},"enabledProtocols":{"dash":false,"download":false,"hls":true,"smoothStreaming":false}},"created":"2018-08-08T18:29:30.6781134Z","defaultContentKeyPolicyName":"PolicyWithMultipleOptions"},"type":"Microsoft.Media/mediaservices/streamingPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithCommonEncryptionCencOnly","name":"secureStreamingPolicyWithCommonEncryptionCencOnly","properties":{"commonEncryptionCenc":{"clearTracks":[{"trackSelections":[{"operation":"Unknown","property":"FourCC","value":"hev1"}]}],"contentKeys":{"defaultKey":{"label":"cencDefaultKey"},"keyToTrackMappings":[]},"drm":{"playReady":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}","playReadyCustomAttributes":"PlayReady CustomAttributes"},"widevine":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"}},"enabledProtocols":{"dash":true,"download":false,"hls":false,"smoothStreaming":true}},"created":"2018-08-08T18:29:30.6781134Z","defaultContentKeyPolicyName":"PolicyWithMultipleOptions"},"type":"Microsoft.Media/mediaservices/streamingPolicies"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithEnvelopeEncryptionOnly","name":"secureStreamingPolicyWithEnvelopeEncryptionOnly","properties":{"created":"2018-08-08T18:29:30.6781134Z","defaultContentKeyPolicyName":"PolicyWithClearKeyOptionAndTokenRestriction","envelopeEncryption":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"aesDefaultKey"},"keyToTrackMappings":[]},"customKeyAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}","enabledProtocols":{"dash":true,"download":false,"hls":true,"smoothStreaming":true}}},"type":"Microsoft.Media/mediaservices/streamingPolicies"}]}},"Get_a_Streaming_Policy_by_name":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/clearStreamingPolicy","name":"clearStreamingPolicy","properties":{"created":"2018-08-08T18:29:30.8501486Z","noEncryption":{"enabledProtocols":{"dash":true,"download":true,"hls":true,"smoothStreaming":true}}},"type":"Microsoft.Media/mediaservices/streamingPolicies"}},"Creates_a_Streaming_Policy_with_clear_streaming":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedClearStreamingPolicy","name":"UserCreatedClearStreamingPolicy","properties":{"created":"2018-08-08T18:29:31.1535417Z","noEncryption":{"enabledProtocols":{"dash":true,"download":true,"hls":true,"smoothStreaming":true}}},"type":"Microsoft.Media/mediaservices/streamingPolicies"}},"Creates_a_Streaming_Policy_with_commonEncryptionCbcs_only":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly","name":"UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly","properties":{"commonEncryptionCbcs":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"cbcsDefaultKey"},"keyToTrackMappings":[]},"drm":{"fairPlay":{"allowPersistentLicense":true,"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"}},"enabledProtocols":{"dash":false,"download":false,"hls":true,"smoothStreaming":false}},"created":"2018-08-08T18:29:31.6197199Z","defaultContentKeyPolicyName":"PolicyWithMultipleOptions"},"type":"Microsoft.Media/mediaservices/streamingPolicies"}},"Creates_a_Streaming_Policy_with_commonEncryptionCenc_only":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly","name":"UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly","properties":{"commonEncryptionCenc":{"clearTracks":[{"trackSelections":[{"operation":"Equal","property":"FourCC","value":"hev1"}]}],"contentKeys":{"defaultKey":{"label":"cencDefaultKey"},"keyToTrackMappings":[]},"drm":{"playReady":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}","playReadyCustomAttributes":"PlayReady CustomAttributes"},"widevine":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"}},"enabledProtocols":{"dash":true,"download":false,"hls":false,"smoothStreaming":true}},"created":"2018-08-08T18:29:31.4678543Z","defaultContentKeyPolicyName":"PolicyWithPlayReadyOptionAndOpenRestriction"},"type":"Microsoft.Media/mediaservices/streamingPolicies"}},"Creates_a_Streaming_Policy_with_envelopeEncryption_only":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly","name":"UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly","properties":{"created":"2018-08-08T18:29:31.3055712Z","defaultContentKeyPolicyName":"PolicyWithClearKeyOptionAndTokenRestriction","envelopeEncryption":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"aesDefaultKey"},"keyToTrackMappings":[]},"customKeyAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}","enabledProtocols":{"dash":true,"download":false,"hls":true,"smoothStreaming":true}}},"type":"Microsoft.Media/mediaservices/streamingPolicies"}},"Creates_a_Streaming_Policy_with_secure_streaming":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicy","name":"UserCreatedSecureStreamingPolicy","properties":{"commonEncryptionCbcs":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"cbcsDefaultKey"},"keyToTrackMappings":[]},"drm":{"fairPlay":{"allowPersistentLicense":true,"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"}},"enabledProtocols":{"dash":false,"download":false,"hls":true,"smoothStreaming":false}},"commonEncryptionCenc":{"clearTracks":[{"trackSelections":[{"operation":"Equal","property":"FourCC","value":"hev1"}]}],"contentKeys":{"defaultKey":{"label":"cencDefaultKey"},"keyToTrackMappings":[]},"drm":{"playReady":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}","playReadyCustomAttributes":"PlayReady CustomAttributes"},"widevine":{"customLicenseAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"}},"enabledProtocols":{"dash":true,"download":false,"hls":false,"smoothStreaming":true}},"created":"2018-08-08T18:29:31.7715696Z","defaultContentKeyPolicyName":"PolicyWithMultipleOptions","envelopeEncryption":{"clearTracks":[],"contentKeys":{"defaultKey":{"label":"aesDefaultKey"},"keyToTrackMappings":[]},"customKeyAcquisitionUrlTemplate":"https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}","enabledProtocols":{"dash":true,"download":false,"hls":true,"smoothStreaming":true}}},"type":"Microsoft.Media/mediaservices/streamingPolicies"}}},"parameters":{"ApiVersion":{"description":"The Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Lists Streaming Locators":{"value":"2018-07-01"},"Delete a Streaming Locator":{"value":"2018-07-01"},"Get a Streaming Locator by name":{"value":"2018-07-01"},"Creates a Streaming Locator with clear streaming":{"value":"2018-07-01"},"Creates a Streaming Locator with secure streaming":{"value":"2018-07-01"},"Creates a Streaming Locator with user defined content keys":{"value":"2018-07-01"},"List Content Keys":{"value":"2018-07-01"},"List Paths which has streaming paths and download paths":{"value":"2018-07-01"},"List Paths which has streaming paths only":{"value":"2018-07-01"},"Lists Streaming Policies":{"value":"2018-07-01"},"Delete a Streaming Policy":{"value":"2018-07-01"},"Get a Streaming Policy by name":{"value":"2018-07-01"},"Creates a Streaming Policy with clear streaming":{"value":"2018-07-01"},"Creates a Streaming Policy with commonEncryptionCbcs only":{"value":"2018-07-01"},"Creates a Streaming Policy with commonEncryptionCenc only":{"value":"2018-07-01"},"Creates a Streaming Policy with envelopeEncryption only":{"value":"2018-07-01"},"Creates a Streaming Policy with secure streaming":{"value":"2018-07-01"}}},"MediaServicesAccountName":{"description":"The Media Services account name.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Lists Streaming Locators":{"value":"contosomedia"},"Delete a Streaming Locator":{"value":"contosomedia"},"Get a Streaming Locator by name":{"value":"contosomedia"},"Creates a Streaming Locator with clear streaming":{"value":"contosomedia"},"Creates a Streaming Locator with secure streaming":{"value":"contosomedia"},"Creates a Streaming Locator with user defined content keys":{"value":"contosomedia"},"List Content Keys":{"value":"contosomedia"},"List Paths which has streaming paths and download paths":{"value":"contosomedia"},"List Paths which has streaming paths only":{"value":"contosomedia"},"Lists Streaming Policies":{"value":"contosomedia"},"Delete a Streaming Policy":{"value":"contosomedia"},"Get a Streaming Policy by name":{"value":"contosomedia"},"Creates a Streaming Policy with clear streaming":{"value":"contosomedia"},"Creates a Streaming Policy with commonEncryptionCbcs only":{"value":"contosomedia"},"Creates a Streaming Policy with commonEncryptionCenc only":{"value":"contosomedia"},"Creates a Streaming Policy with envelopeEncryption only":{"value":"contosomedia"},"Creates a Streaming Policy with secure streaming":{"value":"contosomedia"}}},"ResourceGroupName":{"description":"The name of the resource group within the Azure subscription.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Lists Streaming Locators":{"value":"contoso"},"Delete a Streaming Locator":{"value":"contoso"},"Get a Streaming Locator by name":{"value":"contoso"},"Creates a Streaming Locator with clear streaming":{"value":"contoso"},"Creates a Streaming Locator with secure streaming":{"value":"contoso"},"Creates a Streaming Locator with user defined content keys":{"value":"contoso"},"List Content Keys":{"value":"contoso"},"List Paths which has streaming paths and download paths":{"value":"contoso"},"List Paths which has streaming paths only":{"value":"contoso"},"Lists Streaming Policies":{"value":"contoso"},"Delete a Streaming Policy":{"value":"contoso"},"Get a Streaming Policy by name":{"value":"contoso"},"Creates a Streaming Policy with clear streaming":{"value":"contoso"},"Creates a Streaming Policy with commonEncryptionCbcs only":{"value":"contoso"},"Creates a Streaming Policy with commonEncryptionCenc only":{"value":"contoso"},"Creates a Streaming Policy with envelopeEncryption only":{"value":"contoso"},"Creates a Streaming Policy with secure streaming":{"value":"contoso"}}},"SubscriptionId":{"description":"The unique identifier for a Microsoft Azure subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Lists Streaming Locators":{"value":"00000000-0000-0000-0000-000000000000"},"Delete a Streaming Locator":{"value":"00000000-0000-0000-0000-000000000000"},"Get a Streaming Locator by name":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Locator with clear streaming":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Locator with secure streaming":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Locator with user defined content keys":{"value":"00000000-0000-0000-0000-000000000000"},"List Content Keys":{"value":"00000000-0000-0000-0000-000000000000"},"List Paths which has streaming paths and download paths":{"value":"00000000-0000-0000-0000-000000000000"},"List Paths which has streaming paths only":{"value":"00000000-0000-0000-0000-000000000000"},"Lists Streaming Policies":{"value":"00000000-0000-0000-0000-000000000000"},"Delete a Streaming Policy":{"value":"00000000-0000-0000-0000-000000000000"},"Get a Streaming Policy by name":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Policy with clear streaming":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Policy with commonEncryptionCbcs only":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Policy with commonEncryptionCenc only":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Policy with envelopeEncryption only":{"value":"00000000-0000-0000-0000-000000000000"},"Creates a Streaming Policy with secure streaming":{"value":"00000000-0000-0000-0000-000000000000"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"Impersonate your user account"}}}}},"schemas":{"ApiError":{"description":"The API error.","properties":{"error":{"$ref":"#/components/schemas/ODataError"}},"type":"object"},"CbcsDrmConfiguration":{"description":"Class to specify DRM configurations of CommonEncryptionCbcs scheme in Streaming Policy","properties":{"fairPlay":{"$ref":"#/components/schemas/StreamingPolicyFairPlayConfiguration"},"playReady":{"$ref":"#/components/schemas/StreamingPolicyPlayReadyConfiguration"},"widevine":{"$ref":"#/components/schemas/StreamingPolicyWidevineConfiguration"}},"type":"object"},"CencDrmConfiguration":{"description":"Class to specify DRM configurations of CommonEncryptionCenc scheme in Streaming Policy","properties":{"playReady":{"$ref":"#/components/schemas/StreamingPolicyPlayReadyConfiguration"},"widevine":{"$ref":"#/components/schemas/StreamingPolicyWidevineConfiguration"}},"type":"object"},"CommonEncryptionCbcs":{"description":"Class for CommonEncryptionCbcs encryption scheme","properties":{"clearTracks":{"description":"Representing which tracks should not be encrypted","items":{"$ref":"#/components/schemas/TrackSelection"},"type":"array"},"contentKeys":{"$ref":"#/components/schemas/StreamingPolicyContentKeys"},"drm":{"$ref":"#/components/schemas/CbcsDrmConfiguration"},"enabledProtocols":{"$ref":"#/components/schemas/EnabledProtocols"}},"type":"object"},"CommonEncryptionCenc":{"description":"Class for envelope encryption scheme","properties":{"clearTracks":{"description":"Representing which tracks should not be encrypted","items":{"$ref":"#/components/schemas/TrackSelection"},"type":"array"},"contentKeys":{"$ref":"#/components/schemas/StreamingPolicyContentKeys"},"drm":{"$ref":"#/components/schemas/CencDrmConfiguration"},"enabledProtocols":{"$ref":"#/components/schemas/EnabledProtocols"}},"type":"object"},"DefaultKey":{"description":"Class to specify properties of default content key for each encryption scheme","properties":{"label":{"description":"Label can be used to specify Content Key when creating a Streaming Locator","type":"string"},"policyName":{"description":"Policy used by Default Key","type":"string"}},"type":"object"},"EnabledProtocols":{"description":"Class to specify which protocols are enabled","properties":{"dash":{"description":"Enable DASH protocol or not","type":"boolean"},"download":{"description":"Enable Download protocol or not","type":"boolean"},"hls":{"description":"Enable HLS protocol or not","type":"boolean"},"smoothStreaming":{"description":"Enable SmoothStreaming protocol or not","type":"boolean"}},"required":["download","dash","hls","smoothStreaming"],"type":"object"},"EnvelopeEncryption":{"description":"Class for EnvelopeEncryption encryption scheme","properties":{"clearTracks":{"description":"Representing which tracks should not be encrypted","items":{"$ref":"#/components/schemas/TrackSelection"},"type":"array"},"contentKeys":{"$ref":"#/components/schemas/StreamingPolicyContentKeys"},"customKeyAcquisitionUrlTemplate":{"description":"Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.","type":"string"},"enabledProtocols":{"$ref":"#/components/schemas/EnabledProtocols"}},"type":"object"},"ListContentKeysResponse":{"description":"Class of response for listContentKeys action","properties":{"contentKeys":{"description":"ContentKeys used by current Streaming Locator","items":{"$ref":"#/components/schemas/StreamingLocatorContentKey"},"type":"array"}},"type":"object"},"ListPathsResponse":{"description":"Class of response for listPaths action","properties":{"downloadPaths":{"description":"Download Paths supported by current Streaming Locator","items":{"type":"string"},"type":"array"},"streamingPaths":{"description":"Streaming Paths supported by current Streaming Locator","items":{"$ref":"#/components/schemas/StreamingPath"},"type":"array"}},"type":"object"},"NoEncryption":{"description":"Class for NoEncryption scheme","properties":{"enabledProtocols":{"$ref":"#/components/schemas/EnabledProtocols"}},"type":"object"},"ODataError":{"description":"Information about an error.","properties":{"code":{"description":"A language-independent error name.","type":"string"},"details":{"description":"The error details.","items":{"$ref":"#/components/schemas/ODataError"},"type":"array"},"message":{"description":"The error message.","type":"string"},"target":{"description":"The target of the error (for example, the name of the property in error).","type":"string"}},"type":"object"},"StreamingLocator":{"allOf":[{"allOf":[{"description":"The core properties of ARM resources.","properties":{"id":{"description":"Fully qualified resource ID for the resource.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource."}],"description":"A Streaming Locator resource","properties":{"properties":{"$ref":"#/components/schemas/StreamingLocatorProperties"}},"type":"object"},"StreamingLocatorCollection":{"description":"A collection of StreamingLocator items.","properties":{"@odata.nextLink":{"description":"A link to the next page of the collection (when the collection contains too many results to return in one response).","type":"string"},"value":{"description":"A collection of StreamingLocator items.","items":{"$ref":"#/components/schemas/StreamingLocator"},"type":"array"}},"type":"object"},"StreamingLocatorContentKey":{"description":"Class for content key in Streaming Locator","properties":{"id":{"description":"ID of Content Key","format":"uuid","type":"string"},"labelReferenceInStreamingPolicy":{"description":"Label of Content Key as specified in the Streaming Policy","type":"string"},"policyName":{"description":"ContentKeyPolicy used by Content Key","readOnly":true,"type":"string"},"tracks":{"description":"Tracks which use this Content Key","items":{"$ref":"#/components/schemas/TrackSelection"},"readOnly":true,"type":"array"},"type":{"description":"Encryption type of Content Key","enum":["CommonEncryptionCenc","CommonEncryptionCbcs","EnvelopeEncryption"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"StreamingLocatorContentKeyType","values":[{"description":"Common Encryption using CENC","value":"CommonEncryptionCenc"},{"description":"Common Encryption using CBCS","value":"CommonEncryptionCbcs"},{"description":"Envelope Encryption","value":"EnvelopeEncryption"}]},"nullable":false},"value":{"description":"Value of Content Key","type":"string"}},"required":["id"],"type":"object"},"StreamingLocatorProperties":{"description":"Properties of the Streaming Locator.","properties":{"alternativeMediaId":{"description":"Alternative Media ID of this Streaming Locator","type":"string"},"assetName":{"description":"Asset Name","type":"string"},"contentKeys":{"description":"The ContentKeys used by this Streaming Locator.","items":{"$ref":"#/components/schemas/StreamingLocatorContentKey"},"type":"array"},"created":{"description":"The creation time of the Streaming Locator.","format":"date-time","readOnly":true,"type":"string","nullable":false},"defaultContentKeyPolicyName":{"description":"Name of the default ContentKeyPolicy used by this Streaming Locator.","type":"string"},"endTime":{"description":"The end time of the Streaming Locator.","format":"date-time","type":"string"},"filters":{"description":"A list of asset or account filters which apply to this streaming locator","items":{"type":"string"},"type":"array"},"startTime":{"description":"The start time of the Streaming Locator.","format":"date-time","type":"string"},"streamingLocatorId":{"description":"The StreamingLocatorId of the Streaming Locator.","format":"uuid","type":"string"},"streamingPolicyName":{"description":"Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'","type":"string"}},"required":["assetName","streamingPolicyName"],"type":"object"},"StreamingPath":{"description":"Class of paths for streaming","properties":{"encryptionScheme":{"description":"Encryption scheme","enum":["NoEncryption","EnvelopeEncryption","CommonEncryptionCenc","CommonEncryptionCbcs"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EncryptionScheme","values":[{"description":"NoEncryption scheme","value":"NoEncryption"},{"description":"EnvelopeEncryption scheme","value":"EnvelopeEncryption"},{"description":"CommonEncryptionCenc scheme","value":"CommonEncryptionCenc"},{"description":"CommonEncryptionCbcs scheme","value":"CommonEncryptionCbcs"}]}},"paths":{"description":"Streaming paths for each protocol and encryptionScheme pair","items":{"type":"string"},"type":"array"},"streamingProtocol":{"description":"Streaming protocol","enum":["Hls","Dash","SmoothStreaming","Download"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"StreamingPolicyStreamingProtocol","values":[{"description":"HLS protocol","value":"Hls"},{"description":"DASH protocol","value":"Dash"},{"description":"SmoothStreaming protocol","value":"SmoothStreaming"},{"description":"Download protocol","value":"Download"}]}}},"required":["streamingProtocol","encryptionScheme"],"type":"object"},"StreamingPolicy":{"allOf":[{"allOf":[{"description":"The core properties of ARM resources.","properties":{"id":{"description":"Fully qualified resource ID for the resource.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type