What
Obtain the attributes of the origin of the user passed as argument in the selected region. The purpose of this function is to display the information of configuration of the origin and also access to the live data of the origin.
The origin is a combination of protocol and domain (Ex: ) and the origin token is a special key used in conjunction with javascript library used for abuse detection. This key is owned by the user and is used to identify the origin of the request. Hence, the protocol and domain of the origin must be the one where the javascript is loaded.
Parameters
In the querystring of the request, add the origin of the user to the query parameter with the following format:1. Protocol: Can be http or https.
2. Domain: The domain of the origin.
Then, the origin must be urlencoded. Example:
The querystring must be like this:
Result
The result is a JSON object with the following fields:
self: the URI to the request to obtain the full details of an origin.origin: the protocol and the domain where the origin token is valid.status: the status of the origin token. The only allowed values areENABLEDandDISABLED.token: the URI to the request to obtain the token of the origin.data: a JSON object containing all the parameters of the origin as key-value pairs.logs: the URI to the request to obtain the log activity in the origin.addresses: the URI to the request to obtain the list of IP addresses active in the origin.cookies: the URI to the request to obtain the list of cookies active in the origin.created_at: the date and time when the origin token was created in UNIX timestamp in milliseconds.updated_at: the date and time when the origin token was last updated in UNIX timestamp in milliseconds.
Errors
- a
404 Not Founderror if the origin token is not found. - a
400 Bad Requesterror if the origin does not have the correct format.
It will return the API Global errors described in the API description.