Detail of Your Origin

Gethttps://api.cdn77.com/v3/origin/url/{id}

Request parameters

  • idstring in pathrequired

Responses

Detail of the given Origin returned.

Response parameters

  • cdnsarray of objects

    List of all CDN Resources assigned to the Origin.

  • idstring

    Origin ID.

  • labelstring

    Origin label.

  • notestring

    Optional note for the Origin.

  • schemestring

    Available values: http, https

  • base_dirstring

    Directory where the content is stored on the URL Origin. Maximum length is 255.

  • hoststring

    Origin URL host without scheme and port. Can be a domain name or an IP address.

  • portinteger

    Origin URL port. If not specified, the default scheme port is used. Allowed range is between 1 and 65535.

  • typestring

    Available values: aws, object-storage, storage, url

Example of the response
{
  "cdns": [
    {
      "id": 1234567890,
      "label": "My cdn"
    }
  ],
  "id": "e56564d1-8d3e-4457-93a6-082b054bc736",
  "label": "My origin",
  "note": "Note for my Origin",
  "scheme": "https",
  "base_dir": "/pictures/images",
  "host": "my-domain.com",
  "port": 8080,
  "type": "url"
}
Can’t find what you are looking for?