Assets - List Streaming Locators

List Streaming Locators
Lists Streaming Locators which are associated with this asset.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listStreamingLocators?api-version=2018-07-01

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The unique identifier for a Microsoft Azure subscription.

resourceGroupName
path True
  • string

The name of the resource group within the Azure subscription.

accountName
path True
  • string

The Media Services account name.

assetName
path True
  • string

The Asset name.

api-version
query True
  • string

The Version of the API to be used with the client request.

Responses

Name Type Description
200 OK

OK

Other Status Codes

Detailed error information.

Examples

List Asset SAS URLs

Sample Request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaServices/contosomedia/assets/ClimbingMountSaintHelens/listStreamingLocators?api-version=2018-07-01

Sample Response

{
  "streamingLocators": [
    {
      "name": "secureStreamingLocator",
      "assetName": "ClimbingMountSaintHelens",
      "created": "2018-08-08T18:29:26.9729344Z",
      "endTime": "9999-12-31T23:59:59.9999999Z",
      "streamingLocatorId": "36b74ce3-20b4-4de0-84f1-97e9138e886c",
      "streamingPolicyName": "secureStreamingPolicy"
    },
    {
      "name": "clearStreamingLocator",
      "assetName": "ClimbingMountSaintHelens",
      "created": "2018-08-08T18:29:26.9487636Z",
      "endTime": "9999-12-31T23:59:59.9999999Z",
      "streamingLocatorId": "3e8d9ac3-50f6-4f6d-8482-078ceb56f23a",
      "streamingPolicyName": "clearStreamingPolicy"
    }
  ]
}

Definitions

ApiError

The API error.

AssetStreamingLocator

Properties of the Streaming Locator.

ListStreamingLocatorsResponse

The Streaming Locators associated with this Asset.

ODataError

Information about an error.

ApiError

The API error.

Name Type Description
error

The error properties.

AssetStreamingLocator

Properties of the Streaming Locator.

Name Type Description
assetName
  • string

Asset Name.

created
  • string

The creation time of the Streaming Locator.

defaultContentKeyPolicyName
  • string

Name of the default ContentKeyPolicy used by this Streaming Locator.

endTime
  • string

The end time of the Streaming Locator.

name
  • string

Streaming Locator name.

startTime
  • string

The start time of the Streaming Locator.

streamingLocatorId
  • string

StreamingLocatorId of the Streaming Locator.

streamingPolicyName
  • string

Name of the Streaming Policy used by this Streaming Locator.

ListStreamingLocatorsResponse

The Streaming Locators associated with this Asset.

Name Type Description
streamingLocators

The list of Streaming Locators.

ODataError

Information about an error.

Name Type Description
code
  • string

A language-independent error name.

details

The error details.

message
  • string

The error message.

target
  • string

The target of the error (for example, the name of the property in error).