List Content Key Policies
Listing, Sorting and Filtering Content Key Policies
This endpoint returns the list of content key policies 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/lastModified, properties/policyId, updated, updatedBy
Filtering
The $filter query parameter allows for content key policies 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/created, properties/lastModified, properties/policyId, updated, updatedBy, updatedByEmail, updatedByName
Examples:
?$top=10 - Returns only the first 10 content key policies from the list.
?$orderby=name desc - Sorts content key policies by name in descending order.
?$filter=name eq 'descriptive name' - Returns content key policies that match the provided name.
?$orderby=created desc - Sorts content key policies by creation date in descending order.
?$filter=created ge 2021-01-01T00:00:00Z - Returns content key policies created after January 1, 2021.
Authentication
Bearer authentication of the form Bearer <token>, where token is your
auth token.
Path parameters
Query parameters
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.@odata.nextLink in the result object to enumerate the collection -
it will be present only if there's more than one page of entities.Response
200 A list of content key policies.
Show 5 propertiesHide 5 properties
Show 4 propertiesHide 4 properties
Show 2 propertiesHide 2 properties
Show 5 propertiesHide 5 properties
Show 6 propertiesHide 6 properties
Show 4 propertiesHide 4 properties
Show 5 variantsHide 5 variants
Discriminated by @odata.type. Select one variant:
#Microsoft.Media.ContentKeyPolicyClearKeyConfigurationobjectContentKeyPolicyClearKeyConfiguration
#Microsoft.Media.ContentKeyPolicyFairPlayConfigurationobjectContentKeyPolicyFairPlayConfiguration
Show 2 propertiesHide 2 properties
#Microsoft.Media.ContentKeyPolicyPlayReadyConfigurationobjectContentKeyPolicyPlayReadyConfiguration
Show 11 propertiesHide 11 properties
Show 2 variantsHide 2 variants
Discriminated by @odata.type. Select one variant:
#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderobjectContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader
#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierobjectContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
Show 13 propertiesHide 13 properties
Show 2 propertiesHide 2 properties
#Microsoft.Media.ContentKeyPolicyUnknownConfigurationobjectContentKeyPolicyUnknownConfiguration
#Microsoft.Media.ContentKeyPolicyWidevineConfigurationobjectContentKeyPolicyWidevineConfiguration
Show 3 variantsHide 3 variants
Discriminated by @odata.type. Select one variant:
#Microsoft.Media.ContentKeyPolicyOpenRestrictionobjectContentKeyPolicyOpenRestriction
#Microsoft.Media.ContentKeyPolicyTokenRestrictionobjectContentKeyPolicyTokenRestriction
Show 3 variantsHide 3 variants
Discriminated by @odata.type. Select one variant:
#Microsoft.Media.ContentKeyPolicyRsaTokenKeyobjectContentKeyPolicyRsaTokenKey
#Microsoft.Media.ContentKeyPolicySymmetricTokenKeyobjectContentKeyPolicySymmetricTokenKey
#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKeyobjectContentKeyPolicyX509CertificateTokenKey
Show 3 variantsHide 3 variants
Discriminated by @odata.type. Select one variant: