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
- storageobject
CDN77 Storage Origin detail
- awsobject
S3 Origin detail
- urlobject
URL Origin detail
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": "2024-11-14T13:10:44.892Z",
"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": "2024-11-14T13:10:44.892Z"
},
"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"
}
]