CDN77 API reference

List of Origins

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

Responses

Origin list for CDN Resource setup was returned

Response parameters

  • object-storageobject

    CDN77 Object Storage Origin detail

    • cdnsarray of objects

      List of all CDN Resources assigned to the Origin.

    • idstringrequired

      Origin ID.

    • labelstringrequired

      Origin label.

    • notestring

      Optional note for the Origin.

    • schemestring

      Available values: http, https

    • access_key_idstring

      Access key to your bucket.

    • access_secretstring

      Access secret to your bucket.

    • bucket_namestringrequired

      Name of your bucket.

    • created_atstring, format date-timerequired
    • hoststringrequired

      Origin host without scheme and port.

    • portinteger

      Origin 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

    • usageobject
      • file_countinteger
      • size_bytesinteger
  • storageobject

    CDN77 Storage Origin detail

    • cdnsarray of objects

      List of all CDN Resources assigned to the Origin.

    • idstringrequired

      Origin ID.

    • labelstringrequired

      Origin label.

    • notestring

      Optional note for the Origin.

    • schemestring

      Available values: http, https

    • usageobject
      • spaceinteger

        CDN77 Storage space used in bytes.

      • nodesinteger

        The number of files on the CDN77 Storage.

      • timestring, format date-time
    • serverobject

      Location of the CDN77 Storage server.

      • idstring
      • locationstring
    • typestring

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

  • awsobject

    S3 Origin detail

    • cdnsarray of objects

      List of all CDN Resources assigned to the Origin.

    • idstringrequired

      Origin ID.

    • labelstringrequired

      Origin label.

    • notestring

      Optional note for the Origin.

    • schemestring

      Available values: http, https

    • aws_access_key_idstring

      Located in the Security Credentials section of your AWS account.

    • aws_regionstring

      Located in the Security Credentials section of your AWS account. Possibly stored as AWS_DEFAULT_REGION.

    • base_dirstring

      Directory of the stored content on your AWS Origin. Maximum length is 255 characters.

    • hoststringrequired

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

    • portinteger

      AWS Origin 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

  • urlobject

    URL Origin detail

    • cdnsarray of objects

      List of all CDN Resources assigned to the Origin.

    • idstringrequired

      Origin ID.

    • labelstringrequired

      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.

    • hoststringrequired

      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",
	"access_key_id": "KLAMIDYDRAP8CJYC1DN",
	"access_secret": "adkl123SADowqiqwe!432",
	"bucket_name": "my-bucket",
	"created_at": "2025-03-28T13:43:05.312Z",
	"host": "region.cdn77-storage.com",
	"port": 8080,
	"type": "object-storage",
	"usage": {
	  "file_count": 0,
	  "size_bytes": 0
	}
  },
  {
	"cdns": [
	  {
		"id": 1234567890,
		"label": "My cdn"
	  }
	],
	"id": "e56564d1-8d3e-4457-93a6-082b054bc736",
	"label": "My origin",
	"note": "Note for my Origin",
	"scheme": "https",
	"usage": {
	  "space": 7216780,
	  "nodes": 123456789,
	  "time": "2025-03-28T13:43:05.312Z"
	},
	"server": {
	  "id": "push-XX.cdn77.com",
	  "location": "Europe - Frankfurt"
	},
	"type": "storage"
  },
  {
	"cdns": [
	  {
		"id": 1234567890,
		"label": "My cdn"
	  }
	],
	"id": "e56564d1-8d3e-4457-93a6-082b054bc736",
	"label": "My origin",
	"note": "Note for my Origin",
	"scheme": "https",
	"aws_access_key_id": "KLAMIDYDRAP8CJYC1DN",
	"aws_region": "us-east-1",
	"base_dir": "/pictures/images",
	"host": "my.s3.amazonaws.com",
	"port": 1000,
	"type": "aws"
  },
  {
	"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?