- Distribution
- Headers
- origin
- SSL Certificates
- Let's Encrypt
- Cache Controls
- Access Controls
- Prefetch
- Purge
- usages
- Traffic Usage
List
Developing
GET
https://apistream.gotipath.com/v1/distributions/bb52605c-5bbc-41f4-af77-1c1bf12ec7d9/headers
Last modified:2023-09-19 14:46:20
Maintainer:Not configured
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379
Header Params
X-Auth-ClientId
string
required
Default:
ebe8bac0-eaef-4548-8b59-96c9ec38a22b
X-Auth-LibraryId
string
required
Default:
89898172-d32b-49f8-a94a-bdf0c6ca1bd9
X-Auth-ApiKey
string
required
Default:
pEBPYVUNMbP7uDsb0W2h3oTjpEqr32fFh/3TNUhvFcJt7/J/hyV+5LctVWONgzaw+w+PpQ
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apistream.gotipath.com/v1/distributions/bb52605c-5bbc-41f4-af77-1c1bf12ec7d9/headers' \
--header 'X-Auth-ClientId;' \
--header 'X-Auth-LibraryId;' \
--header 'X-Auth-ApiKey;'
Responses
🟢200OK
application/json
Body
message
string
required
result
array [object {9}]
required
id
string
required
customer_id
string
required
distribution_id
string
required
key
string
required
value
string
required
type
string
required
created_at
string
required
updated_at
string
required
action
string
required
Example
{
"message": "success",
"result": [
{
"id": "052530ec-4f13-453d-80e6-430d7e453317",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"key": "Access-Control-Expose-Headers",
"value": "GET,POST",
"type": "cors",
"created_at": "2023-08-21T14:17:16+06:00",
"updated_at": "2023-08-21T14:17:16+06:00"
},
{
"id": "2fb2a823-caff-46b2-a2f4-ea870c6ed1ea",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"key": "Access-Control-Allow-Origin",
"value": "*",
"type": "cors",
"created_at": "2023-08-21T14:17:16+06:00",
"updated_at": "2023-08-21T14:17:16+06:00"
},
{
"id": "6d2a04a9-f240-4db2-9e66-e4d803288187",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"key": "Access-Control-Allow-Credentials",
"value": "GET,POST",
"type": "cors",
"created_at": "2023-08-21T14:17:16+06:00",
"updated_at": "2023-08-21T14:17:16+06:00"
},
{
"id": "7d98a4f7-9cda-488f-9413-644039b82a57",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"key": "Access-Control-Allow-Origin",
"value": "*",
"type": "response",
"action": "add",
"created_at": "2023-08-21T14:30:11+06:00",
"updated_at": "2023-08-21T14:30:11+06:00"
},
{
"id": "8b530f4b-edc0-4f02-a4f1-eed511724c34",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"key": "Access-Control-Allow-Headers",
"value": "GET,POST",
"type": "cors",
"created_at": "2023-08-21T14:17:16+06:00",
"updated_at": "2023-08-21T14:17:16+06:00"
},
{
"id": "9dc0a96f-3777-49a4-a115-9fd9fb09e978",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"key": "Access-Control-Allow-Methods",
"value": "GET",
"type": "response",
"action": "add",
"created_at": "2023-08-21T14:30:11+06:00",
"updated_at": "2023-08-21T14:30:11+06:00"
},
{
"id": "ba702887-06bf-44b9-b91d-0c4f524fb670",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"key": "Access-Control-Allow-Methods",
"value": "GET",
"type": "cors",
"created_at": "2023-08-21T14:17:16+06:00",
"updated_at": "2023-08-21T14:17:16+06:00"
}
]
}
Modified at 2023-09-19 14:46:20