CDN77 API reference

List of CDN Resources

Gethttps://api.cdn77.com/v3/cdn

Responses

List of CDN Resources

Response parameters

  • idinteger
    ID of the CDN Resource. This is also used as the CDN Resource URL.
  • cnamesarray of objects
    All CNAMEs should be mapped via DNS to CDN URL. Otherwise it's not possible to generate SSL certificate. Maximum number of CNAMEs is "10". To add more, contact our support.
  • creation_timestring, format date-time
    Timestamp when CDN Resource was created.
  • labelstring
    The label helps you to identify your CDN Resource.
  • notestring
    Optional note for the CDN Resource.
  • origin_idstring
    ID of attached Origin (content source for CDN Resource). More information in our Origin API documentation.
  • origin_referenceobject
  • urlstring
    URL of the CDN Resource. Automatically generated when the CDN Resource is created. The number is the same as the CDN Resource ID.
  • mp4_pseudo_streamingobject
    Turn this option on if using a flash-based video player with MP4 files. Pseudo-streaming is used mainly in flash players. HTML5 players use range-requests. When enabled the "query_string" option must be set to ignore all parameters.
Example of the response
[
  {
    "id": 1234567890,
    "cnames": [
      {
        "id": "9880280c-0507-46d1-88f3-71cfee83fa57",
        "cname": "cname.your-domain.com"
      }
    ],
    "creation_time": "2027-07-07T00:00:00.000Z",
    "label": "My cdn",
    "note": "Note for my CDN",
    "origin_id": "e56564d1-8d3e-4457-93a6-082b054bc736",
    "origin_reference": {
      "id": "e56564d1-8d3e-4457-93a6-082b054bc736",
      "label": "My origin",
      "fallbacks": [
        {
          "id": "e56564d1-8d3e-4457-93a6-082b054bc736",
          "label": "My fallback origin"
        }
      ]
    },
    "url": "1234567890.rsc.cdn77.org",
    "mp4_pseudo_streaming": {
      "enabled": false
    }
  }
]