How to get content key policy based on locator id in MK API

How to get content key policy based on locator id in MK API

Hello, we have an application that requires obtaining the content key policy based on the locator ID for the DRM JWT token. Essentially, the logic is as follows:

Streaming Locator ID -> Content Key Policies -> Primary Verification Keys -> JWT Token.

The MediaKind API (https://api.io.mediakind.com/api/ams/{project_name}/streamingLocators/{locator_name}) only accepts the locator name. However, I haven’t been able to figure out how to query it in the List Streaming Locators (https://api.io.mediakind.com/api/ams/{project_name}/streamingLocators).

Do you have any recommendations? Thank you

    Features & Ideas

    Have an idea for a feature? Request a feature or an idea!