Drm
On project
Get auth
{{baseHost}}/v1/drm/auth/:project_idReturns the DRM auth configuration (URL, headers) currently used for license requests.
{ "data": { "url": "https://example.io/auth/kinescope", "username": "", "password": "", "created_at": "2021-11-10T10:33:43.359069Z", "updated_at": null }}{ "error": { "code": 404404, "message": "no such entity" }}Update auth
{{baseHost}}/v1/drm/auth/:project_idUpdates the DRM license auth configuration.
| Field | Type | Description |
|---|---|---|
| url | string | Auth endpoint |
| username | string | Username for auth endpoint |
| password | string | Password |
| strict | bool | Strict mode. |
If true then provide drm license then url return http code 200. | ||
| If false then provide drm license for any http code except 403. |
{ "url": "https://example.io/auth/kinescope", "username": "", "password": "", "strict": false}{ "data": { "url": "https://example.io/auth/kinescope", "username": "", "password": "", "created_at": "2021-11-10T10:33:43.359069Z", "updated_at": null }}Delete auth
{{baseHost}}/v1/drm/auth/:project_idRemoves the DRM license auth configuration. DRM must be reconfigured before use.
{ "data": { "success": true }}Get auth
{{baseHost}}/v1/drm/authReturns the DRM auth configuration (URL, headers) currently used for license requests.
{ "data": { "url": "https://example.io/auth/kinescope", "username": "", "password": "", "created_at": "2021-11-10T10:33:43.359069Z", "updated_at": null }}{ "error": { "code": 404404, "message": "no such entity" }}Update auth
{{baseHost}}/v1/drm/authUpdates the DRM license auth configuration.
| Field | Type | Description |
|---|---|---|
| url | string | Auth endpoint |
| username | string | Username for auth endpoint |
| password | string | Password |
| strict | bool | Strict mode. |
If true then provide drm license then url return http code 200. | ||
| If false then provide drm license for any http code except 403. |
{ "url": "https://example.io/auth/kinescope", "username": "", "password": "", "strict": true}{ "data": { "url": "https://example.io/auth/kinescope", "username": "", "password": "", "created_at": "2021-11-10T10:33:43.359069Z", "updated_at": null }}Delete auth
{{baseHost}}/v1/drm/authRemoves the DRM license auth configuration. DRM must be reconfigured before use.
{ "data": { "success": true }}Privacy domains
Get domains
{{baseHost}}/v1/privacy-domainsReturns a list of privacy domains. Results are paginated and can be filtered via query parameters.
{ "meta": { "offset": 0, "limit": 10, "total": 22, "total_count": 0, "order": { "created_at": "asc" }, "parent_id": null }, "data": [ { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "edbyte.ru", "created_by_user_name": "Igor", "created_at": "2021-08-09T08:56:36.632808Z", "updated_at": null, "archived_at": null, "media_count": 0 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "newwwww", "created_by_user_name": "Igor", "created_at": "2021-10-09T17:34:03.51782Z", "updated_at": null, "archived_at": null, "media_count": 0 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "www.the-village.ru", "created_by_user_name": "Igor", "created_at": "2021-11-23T15:38:15.360147Z", "updated_at": null, "archived_at": null, "media_count": 0 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "example-shop.com", "created_by_user_name": "Igor", "created_at": "2021-12-30T10:59:19.447503Z", "updated_at": "2022-03-23T10:55:36.938605Z", "archived_at": null, "media_count": 0 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "vc.ru", "created_by_user_name": "Igor", "created_at": "2021-12-30T11:03:22.627174Z", "updated_at": null, "archived_at": null, "media_count": 0 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "kinescope.io", "created_by_user_name": "Igor", "created_at": "2022-05-02T13:13:09.277207Z", "updated_at": null, "archived_at": null, "media_count": 1 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "iframely.com", "created_by_user_name": "Igor", "created_at": "2022-05-02T13:27:50.013863Z", "updated_at": null, "archived_at": null, "media_count": 0 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "antitreningi.ru", "created_by_user_name": "Igor", "created_at": "2022-05-02T13:27:50.013863Z", "updated_at": null, "archived_at": null, "media_count": 3 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "*.iframely.com", "created_by_user_name": "Igor", "created_at": "2022-05-02T13:29:54.470445Z", "updated_at": null, "archived_at": null, "media_count": 1 }, { "id": "<UUID>", "workspace_id": "<UUID>", "domain": "druzh.ru", "created_by_user_name": "Igor", "created_at": "2022-06-06T19:33:22.540944Z", "updated_at": null, "archived_at": null, "media_count": 2 } ]}Create domain
{{baseHost}}/v1/privacy-domainsCreates a new privacy domain. Returns the newly created object on success.
{ "domain": "test.ru"}Update domain
{{baseHost}}/v1/privacy-domains/:domain_idUpdates the specified privacy domain. Only fields provided in the request body are changed; others are left unchanged.
{ "domain": "test.ru", "archived": true}Delete domain
{{baseHost}}/v1/privacy-domains/:domain_idPermanently deletes the privacy domain. This action cannot be undone.
{ "domain": "test.ru", "archived": true}