Gotipath Docs
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
  1. Distribution
  • Distribution
    • Delete CDN Distribution
      DELETE
    • Create CDN Distribution
      POST
    • Update CDN Distribution
      PUT
    • Get All CDN Distributions
      GET
    • Get Distribution
      GET
    • Distribution Verify
      POST
  • Headers
    • Response headers
      POST
    • Create Headers
      POST
    • Request Headers
      POST
    • List
      GET
  • origin
    • Get All Origins
      GET
    • Create Origins
      POST
    • Origin Batch update
      POST
    • Update Origins
      PUT
    • Delete Origins
      DELETE
  • SSL Certificates
    • Attach Certificate to Distribution
      PUT
    • Delete Certificate
      DELETE
    • Get All Certificates
      GET
    • Create Certificate
      POST
    • Revoke Certificate from Distribution
      DELETE
  • Let's Encrypt
    • Let's Encrypt Certificate
      POST
    • Request Let's Encrypt Certificate for Distribution
      POST
  • Cache Controls
    • Create Cache Control
      POST
    • Update Cache Control
      PUT
    • Delete Cache Rules
      DELETE
    • Get Cache Control
      GET
    • Get All Cache Conrols
      GET
  • Access Controls
    • Create Access Control
    • Update Access Control
    • Delete Access Control
    • Token Reset
    • Get All Access Controls
    • Details
  • Prefetch
    • Create Prefetch
  • Purge
    • Purge
  • usages
    • Volume usage
    • Volume usage Copy
  • Traffic Usage
    • Get Bandwidth Usage
    • Get Volume Usage
    • Get Request Number Usage
  1. Distribution

Get All CDN Distributions

GET
https://apistream.gotipath.com/v1/distributions
distribution
Last modified:2023-09-19 14:46:20
Maintainer:Not configured
Get information about all CDN Distribution in your account.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
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' \
--header 'X-Auth-ClientId;' \
--header 'X-Auth-LibraryId;' \
--header 'X-Auth-ApiKey;'

Responses

🟢200OK
application/json
Body
status
integer 
required
message
string 
required
result
array [object {21}] 
required
id
string 
required
delivery_domain
string 
required
acme_challenge_domain
string  | null 
required
customer_id
string 
required
certificate_id
string 
required
label
string 
required
description
string 
required
origin_type
string 
required
cdn_type
string 
required
domain
string 
required
acceleration_type
string 
required
enable_ssl
boolean 
required
is_http2
boolean 
required
is_redirect_http_to_https
boolean 
required
status
enum<string> 
required
Allowed values:
activeinactiveprovisioningsuspend
origins
array [object {9}] 
required
certificate
null 
required
created_by
string 
required
updated_by
null 
required
created_at
string 
required
updated_at
string 
required
meta
object 
required
current_page
integer 
required
total
integer 
required
from
integer 
required
to
integer 
required
last_page
integer 
required
per_page
integer 
required
success
boolean 
required
Example
{
    "status": 0,
    "message": "string",
    "result": [
        {
            "id": "string",
            "delivery_domain": "string",
            "acme_challenge_domain": "string",
            "customer_id": "string",
            "certificate_id": "string",
            "label": "string",
            "description": "string",
            "origin_type": "string",
            "cdn_type": "string",
            "domain": "string",
            "acceleration_type": "string",
            "enable_ssl": true,
            "is_http2": true,
            "is_redirect_http_to_https": true,
            "status": "active",
            "origins": [
                {
                    "id": "string",
                    "distribution_id": "string",
                    "type": "string",
                    "label": "string",
                    "description": "string",
                    "url": "string",
                    "protocol": "string",
                    "load_balancer_type": "string",
                    "is_primary": true
                }
            ],
            "certificate": null,
            "created_by": "string",
            "updated_by": null,
            "created_at": "string",
            "updated_at": "string"
        }
    ],
    "meta": {
        "current_page": 0,
        "total": 0,
        "from": 0,
        "to": 0,
        "last_page": 0,
        "per_page": 0
    },
    "success": true
}
Previous
Update CDN Distribution
Next
Get Distribution
Built with