List Streaming Locators – Media API – MediaKind

List Streaming Locators

Get https://app.mk.io/api/v1/projects/:project_name/media/streamingLocators

Listing, Sorting and Filtering Streaming Locators

This endpoint returns the list of streaming locators in the specified project.

Sorting

The results from this endpoint can be ordered using the $orderby query parameter. Specify a list of field names, separated by commas where each one can optionally specify asc or desc.

Sorting is valid on the following fields: created, createdBy, id, name, properties/created, properties/endTime, properties/startTime, updated, updatedBy

Filtering

The $filter query parameter allows for streaming locators to be filtered on the basis of fields in the schema using OData query syntax. See this document for more details on the syntax used.

Filters are valid on the following fields: created, createdBy, createdByEmail, createdByName, id, name, properties/assetName, properties/created, properties/endTime, properties/startTime, updated, updatedBy, updatedByEmail, updatedByName

Examples:

?$top=10 - Returns only the first 10 streaming locators from the list.

?$orderby=name desc - Sorts streaming locators by name in descending order.

?$filter=name eq 'descriptive name' - Returns streaming locators that match the provided name.

?$orderby=created desc - Sorts streaming locators by creation date in descending order.

?$filter=created ge 2021-01-01T00:00:00Z - Returns streaming locators created after January 1, 2021.

RBAC Capability Required: ams.streaminglocator.get

Authentication

Authorization Bearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_name string Required

Query parameters

Response

200 A list of storage accounts

@odata.nextLink string Optional

@odata.nextLink URL if the page length and number of items match.

supplemental object ListResponseSupplementalSchema Required

value list of objects StreamingLocatorSchema Required

Errors