Detail of AWS Origin
Gethttps://api.cdn77.com/v3/origin/aws/{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
- 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.
- hoststring
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
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",
"aws_access_key_id": "KLAMIDYDRAP8CJYC1DN",
"aws_region": "us-east-1",
"base_dir": "/pictures/images",
"host": "my.s3.amazonaws.com",
"port": 1000,
"type": "aws"
}