Get all origins
GET/api/v1/services/:service_id/origins/
Returns the list of origins of a service.
Request
Path Parameters
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
HTTP
- HttpHTTPS
- HttpsHTTP & HTTPS
- BothArray [
]
CUSTOM
- CustomSERVICE_PROVIDER
- Service Provider]
Possible values: <= 255 characters
, Value must match regular expression (^(?=.{1,253}\.)[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*\.[a-zA-Z]{2,}$)|(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))
Possible values: <= 65535
Possible values: [HTTP
, HTTPS
, HTTP & HTTPS
]
service_provider
object
nullable
Possible values: <= 255 characters
Possible values: <= 255 characters
shield_providers
object[]
Possible values: >= -2147483648
and <= 2147483647
Possible values: [CUSTOM
, SERVICE_PROVIDER
]
[
{
"host": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_private_s3": true,
"is_s3": true,
"path": "string",
"port": 0,
"protocol": "HTTP",
"s3_aws_region": "string",
"s3_bucket_name": "string",
"service": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"shield_providers": [
{
"provider_location": "string",
"service_provider": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"timeout_ms": 0,
"type": "CUSTOM"
}
]