Gotipath Docs
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
  1. Cache Controls
  • 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
    • Request Let's Encrypt Certificate for Distribution
  • 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. Cache Controls

Get All Cache Conrols

Tested
GET
https://apistream.gotipath.com/v1/distributions/d5a062ad-5d84-4629-9b0e-7eef9cffc0c2/cache-rules
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 ********************
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/d5a062ad-5d84-4629-9b0e-7eef9cffc0c2/cache-rules' \
--header 'X-Auth-ClientId;' \
--header 'X-Auth-LibraryId;' \
--header 'X-Auth-ApiKey;'

Responses

🟢200OK
application/json
Body
object {0}
Example
{
    "status": 200,
    "message": "Cache Rules fetched successfully",
    "result": [
        {
            "id": "3576c092-52d2-4e0c-9bb3-3d537c0e5eb0",
            "customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
            "name": "gotipath",
            "match_type": "regex",
            "match": "^/*/hello",
            "priority": 0,
            "ttl": 3600,
            "never_cache": true,
            "ignore_client_no_cache": true,
            "ignore_origin_no_cache": true,
            "ignore_query_string": true,
            "ignore_set_cookie": true,
            "enable_gzip": true,
            "enable_brotli": true,
            "created_at": "2023-08-16T15:29:01+06:00",
            "updated_at": "2023-08-16T15:29:01+06:00",
            "created_by": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "updated_by": null
        },
        {
            "id": "7033e8c5-a525-46a4-93a3-96441322cfa5",
            "customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
            "name": "gotipath",
            "match_type": "regex",
            "match": "^/*",
            "priority": 0,
            "ttl": 3600,
            "never_cache": true,
            "ignore_client_no_cache": true,
            "ignore_origin_no_cache": true,
            "ignore_query_string": true,
            "ignore_set_cookie": true,
            "enable_gzip": true,
            "enable_brotli": true,
            "created_at": "2023-08-16T14:34:26+06:00",
            "updated_at": "2023-08-16T14:34:26+06:00",
            "created_by": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "updated_by": null
        },
        {
            "id": "b1f82108-8ae2-40ae-991a-28f6de9825b0",
            "customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
            "name": "gotipath",
            "match_type": "regex",
            "match": "^/*",
            "priority": 0,
            "ttl": 3600,
            "never_cache": true,
            "ignore_client_no_cache": true,
            "ignore_origin_no_cache": true,
            "ignore_query_string": true,
            "ignore_set_cookie": true,
            "enable_gzip": true,
            "enable_brotli": true,
            "created_at": "2023-08-16T14:35:20+06:00",
            "updated_at": "2023-08-16T14:35:20+06:00",
            "created_by": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "updated_by": null
        },
        {
            "id": "c89866a2-3149-4e3a-9f80-247e3fbe6a93",
            "customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
            "name": "gotipath",
            "match_type": "regex",
            "match": "^/*",
            "priority": 0,
            "ttl": 3600,
            "never_cache": true,
            "ignore_client_no_cache": true,
            "ignore_origin_no_cache": true,
            "ignore_query_string": true,
            "ignore_set_cookie": true,
            "enable_gzip": true,
            "enable_brotli": true,
            "created_at": "2023-08-16T15:21:42+06:00",
            "updated_at": "2023-08-16T15:21:42+06:00",
            "created_by": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "updated_by": null
        },
        {
            "id": "e4a3f6d1-a000-417d-8d23-907b86fa8033",
            "customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
            "name": "gotipath",
            "match_type": "regex",
            "match": "^/*",
            "priority": 0,
            "ttl": 3600,
            "never_cache": true,
            "ignore_client_no_cache": true,
            "ignore_origin_no_cache": true,
            "ignore_query_string": true,
            "ignore_set_cookie": true,
            "enable_gzip": true,
            "enable_brotli": true,
            "created_at": "2023-08-16T14:40:24+06:00",
            "updated_at": "2023-08-16T14:40:24+06:00",
            "created_by": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
            "updated_by": null
        }
    ],
    "success": true
}
Previous
Get Cache Control
Next
Create Access Control
Built with