Download OpenAPI specification:Download
Endpoints to perform CRUD (create, read, update, delete) operations on M2A Cache resources.
Perform CRUD (create, read, update, delete) operations on Cache Access Control Configuration resource.
| owner required | string <uuid> |
| page[offset] | string non-empty |
| include | string Enum: "config-associations" "config-associations.cache" |
| fields[cache-ac-config-association] | string Enum: "access-control-config-id" "cache-instance-id" "last-modified" "last-modified-by" "status" |
| fields[cache] | string Enum: "description" "name" |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
{- "links": {
- "next": "string"
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config",
- "attributes": {
- "name": "string",
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "type": "header-auth",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b",
- "status": "FAILED",
- "ip-address-version": "IPV4",
- "cidr-list": [
- {
- "description": "string",
- "range": null
}
]
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}
], - "included": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c",
- "status": "ASSOCIATING",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "string"
}, - "relationships": {
- "config": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config"
}
}, - "cache": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache"
}
}, - "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
]
}Maximum number of configurations per target account is 50.
| Content-Type | string Value: "application/vnd.api+json" The original media type of the resource. |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
required | object (Access Control Configuration primary data) |
{- "data": {
- "type": "cache-ac-config",
- "attributes": {
- "name": "string",
- "metadata": {
- "labels": [
- {
- "key": "m2amedia.tv:organisation-id",
- "value": "25fb8cc0-d04d-4b2e-955b-055d4888f2ea"
}, - {
- "key": "m2amedia.tv:target-account-name",
- "value": "Example account name"
}
]
}, - "type": "ip-allowlist",
- "ip-address-version": "IPV4",
- "cidr-list": [
- {
- "range": "string",
- "description": "string"
}
]
}, - "relationships": {
- "owner": {
- "data": {
- "id": "7e2f2cf8-5ca3-4b66-b4e6-89633ef85fac",
- "type": "target-account"
}
}
}
}
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config",
- "attributes": {
- "name": "string",
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "type": "header-auth",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b",
- "status": "FAILED",
- "ip-address-version": "IPV4",
- "cidr-list": [
- {
- "description": "string",
- "range": null
}
]
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}, - "included": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c",
- "status": "ASSOCIATING",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "string"
}, - "relationships": {
- "config": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config"
}
}, - "cache": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache"
}
}, - "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
]
}| config_id required | string |
| owner required | string <uuid> |
| include | string Enum: "config-associations" "config-associations.cache" |
| fields[cache-ac-config-association] | string Enum: "access-control-config-id" "cache-instance-id" "last-modified" "last-modified-by" "status" |
| fields[cache] | string Enum: "description" "name" |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config",
- "attributes": {
- "name": "string",
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "type": "header-auth",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b",
- "status": "FAILED",
- "ip-address-version": "IPV4",
- "cidr-list": [
- {
- "description": "string",
- "range": null
}
]
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}, - "included": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c",
- "status": "ASSOCIATING",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "string"
}, - "relationships": {
- "config": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config"
}
}, - "cache": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache"
}
}, - "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
]
}Update an IP Allowlist Configuration's name and IP addresses. Header Auth configurations cannot be updated. Only configurations with status 'ACTIVE' can be updated.
| config_id required | string |
| Content-Type | string Value: "application/vnd.api+json" The original media type of the resource. |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
object (AccessControlConfigData) |
{- "data": {
- "type": "cache-ac-config",
- "attributes": {
- "name": "string",
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "type": "header-auth",
- "ip-address-version": "IPV4",
- "cidr-list": [
- {
- "description": "string",
- "range": null
}
]
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config",
- "attributes": {
- "name": "string",
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "type": "header-auth",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b",
- "status": "FAILED",
- "ip-address-version": "IPV4",
- "cidr-list": [
- {
- "description": "string",
- "range": null
}
]
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}, - "included": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c",
- "status": "ASSOCIATING",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "string"
}, - "relationships": {
- "config": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config"
}
}, - "cache": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache"
}
}, - "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
]
}Delete a Cache Access Control Configuration. Configuration must not have any existing associations with cache instances.
| config_id required | string |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
{- "errors": [
- {
- "detail": {
- "query": {
- "owner": [
- "Not a valid UUID."
]
}
}, - "id": "477d2384-62b4-4a6a-b406-ca19cd28a0ae",
- "status": "400",
- "title": "Validation error"
}
]
}Perform CRUD (create) operations on Cache Access Control Config Associations resource.
Many to many associations between cache instances and access control configs
| Content-Type | string Value: "application/vnd.api+json" The original media type of the resource. |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
required | object (Data) |
{- "data": {
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c"
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
}{- "data": {
- "id": "string",
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c",
- "status": "ASSOCIATING",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "string"
}, - "relationships": {
- "config": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config"
}
}, - "cache": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache"
}
}, - "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
}| owner required | string <uuid> |
| page[offset] | string non-empty |
| include | string Enum: "config-associations" "config-associations.config" |
| fields[cache-ac-config] | string Enum: "last-modified-by" "name" "status" "type" |
| fields[cache-ac-config-association] | string Enum: "access-control-config-id" "cache-instance-id" "last-modified" "last-modified-by" "status" |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
{- "links": {
- "next": "string"
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache",
- "attributes": {
- "name": "string",
- "description": "string",
- "organisation-id": "aa66c92f-35c1-4408-ac12-5f30df0cbb1a",
- "access-control-enabled": true,
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "cache-settings": {
- "cache-type": "cloudfront-emp-prog",
- "distribution-id": "string",
- "cf-domain-name": "string",
- "provisioning-state": "PENDING",
- "provisioning-error": {
- "message": "string",
- "action-id": "7f032314-218f-42d4-96e9-551c877a6255"
}, - "price-class": "string",
- "http-version": "string",
- "ip-v6-enabled": true,
- "log-s3-bucket": "string",
- "log-s3-prefix": "string",
- "cache-resources": {
- "route-table-name": "string",
- "route-table-region": "string",
- "route-table-role-arn": "string"
}, - "waf-webacl-arn": "string",
- "waf-webacl-name": "string"
}, - "state": "ACTIVE",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b"
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}
], - "included": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c",
- "status": "ASSOCIATING",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "string"
}, - "relationships": {
- "config": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config"
}
}, - "cache": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache"
}
}, - "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
]
}Create a new Cache Instance.
| Content-Type | string Value: "application/vnd.api+json" The original media type of the resource. |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
required | object (schemas-CacheInstance) |
{- "data": {
- "type": "string",
- "attributes": {
- "name": "string",
- "description": "string",
- "access-control-enabled": true,
- "metadata": {
- "labels": [
- {
- "key": "m2amedia.tv:organisation-id",
- "value": "25fb8cc0-d04d-4b2e-955b-055d4888f2ea"
}, - {
- "key": "m2amedia.tv:target-account-name",
- "value": "Example account name"
}
]
}, - "cache-settings": {
- "distribution-id": "string",
- "cf-domain-name": "string",
- "log-s3-bucket": "string",
- "log-s3-prefix": "string",
- "cache-type": "cloudfront-emp-prog",
- "cache-resources": {
- "route-table-name": "string",
- "route-table-region": "string",
- "route-table-role-arn": "string"
}
}
}, - "relationship": {
- "owner": {
- "data": {
- "id": "7e2f2cf8-5ca3-4b66-b4e6-89633ef85fac",
- "type": "target-account"
}
}
}
}
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache",
- "attributes": {
- "name": "string",
- "description": "string",
- "organisation-id": "aa66c92f-35c1-4408-ac12-5f30df0cbb1a",
- "access-control-enabled": true,
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "cache-settings": {
- "cache-type": "cloudfront-emp-prog",
- "distribution-id": "string",
- "cf-domain-name": "string",
- "provisioning-state": "PENDING",
- "provisioning-error": {
- "message": "string",
- "action-id": "7f032314-218f-42d4-96e9-551c877a6255"
}, - "price-class": "string",
- "http-version": "string",
- "ip-v6-enabled": true,
- "log-s3-bucket": "string",
- "log-s3-prefix": "string",
- "cache-resources": {
- "route-table-name": "string",
- "route-table-region": "string",
- "route-table-role-arn": "string"
}, - "waf-webacl-arn": "string",
- "waf-webacl-name": "string"
}, - "state": "ACTIVE",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b"
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}
}| cache_id required | string |
| owner required | string <uuid> |
| include | string Enum: "config-associations" "config-associations.config" |
| fields[cache-ac-config] | string Enum: "last-modified-by" "name" "status" "type" |
| fields[cache-ac-config-association] | string Enum: "access-control-config-id" "cache-instance-id" "last-modified" "last-modified-by" "status" |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache",
- "attributes": {
- "name": "string",
- "description": "string",
- "organisation-id": "aa66c92f-35c1-4408-ac12-5f30df0cbb1a",
- "access-control-enabled": true,
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "cache-settings": {
- "cache-type": "cloudfront-emp-prog",
- "distribution-id": "string",
- "cf-domain-name": "string",
- "provisioning-state": "PENDING",
- "provisioning-error": {
- "message": "string",
- "action-id": "7f032314-218f-42d4-96e9-551c877a6255"
}, - "price-class": "string",
- "http-version": "string",
- "ip-v6-enabled": true,
- "log-s3-bucket": "string",
- "log-s3-prefix": "string",
- "cache-resources": {
- "route-table-name": "string",
- "route-table-region": "string",
- "route-table-role-arn": "string"
}, - "waf-webacl-arn": "string",
- "waf-webacl-name": "string"
}, - "state": "ACTIVE",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b"
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}, - "included": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association",
- "attributes": {
- "cache-instance-id": "d2265614-5314-44e0-9e55-f5ca71f84be4",
- "access-control-config-id": "3308d2db-9531-4fc9-acae-9dce4ff6427c",
- "status": "ASSOCIATING",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "string"
}, - "relationships": {
- "config": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config"
}
}, - "cache": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache"
}
}, - "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}
}
}
]
}Update an existing Cache Instance.
| cache_id required | string |
| owner required | string <uuid> |
| Content-Type | string Value: "application/vnd.api+json" The original media type of the resource. |
| Accept | string Value: "application/vnd.api+json" Content type (expressed as MIME types) the client is able to understand. |
| If-Match | string <uuid> An ETag value to match during update operation |
required | object (CacheInstancePatch) |
{- "data": {
- "id": "string",
- "type": "string",
- "attributes": {
- "name": "string",
- "description": "string",
- "access-control-enabled": true,
- "metadata": {
- "labels": [
- {
- "key": "m2amedia.tv:organisation-id",
- "value": "25fb8cc0-d04d-4b2e-955b-055d4888f2ea"
}, - {
- "key": "m2amedia.tv:target-account-name",
- "value": "Example account name"
}
]
}, - "cache-settings": {
- "distribution-id": "string",
- "cf-domain-name": "string",
- "log-s3-bucket": "string",
- "log-s3-prefix": "string",
- "cache-resources": {
- "route-table-name": "string",
- "route-table-region": "string",
- "route-table-role-arn": "string"
}
}
}
}
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache",
- "attributes": {
- "name": "string",
- "description": "string",
- "organisation-id": "aa66c92f-35c1-4408-ac12-5f30df0cbb1a",
- "access-control-enabled": true,
- "metadata": {
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}, - "cache-settings": {
- "cache-type": "cloudfront-emp-prog",
- "distribution-id": "string",
- "cf-domain-name": "string",
- "provisioning-state": "PENDING",
- "provisioning-error": {
- "message": "string",
- "action-id": "7f032314-218f-42d4-96e9-551c877a6255"
}, - "price-class": "string",
- "http-version": "string",
- "ip-v6-enabled": true,
- "log-s3-bucket": "string",
- "log-s3-prefix": "string",
- "cache-resources": {
- "route-table-name": "string",
- "route-table-region": "string",
- "route-table-role-arn": "string"
}, - "waf-webacl-arn": "string",
- "waf-webacl-name": "string"
}, - "state": "ACTIVE",
- "last-modified": "2019-08-24T14:15:22Z",
- "last-modified-by": "c1839b4f-ddea-43f0-abd3-607484b0170b"
}, - "relationships": {
- "owner": {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "target-account"
}
}, - "config-associations": {
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "cache-ac-config-association"
}
]
}
}
}
}