action threatjammer_query_origin_information_v1_origin_get { label: "Get the information of an origin of the user in the region." description: "### What\nObtain 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.\n\nThe origin is a combination of protocol and domain (Ex: https://example.com) 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.\n Hence, the protocol and domain of the origin must be the one where the javascript is loaded.\n\n### Parameters\nIn 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``.\n2. Domain: The domain of the origin.\n\nThen, the origin must be urlencoded. Example:\n```\nhttps://example.com\n```\n\n```\nhttps%3A%2F%2Fexample.com\n```\n\nThe querystring must be like this:\n```\n?query=https%3A%2F%2Fexample.com\n```\n\n### Result\nThe result is a JSON object with the following fields:\n- ``self``: the URI to the request to obtain the full details of an origin.\n- ``origin``: the protocol and the domain where the origin token is valid.\n- ``status``: the status of the origin token. The only allowed values are ``ENABLED`` and ``DISABLED``.\n- ``token``: the URI to the request to obtain the token of the origin.\n- ``data``: a JSON object containing all the parameters of the origin as key-value pairs.\n- ``logs``: the URI to the request to obtain the log activity in the origin.\n- ``addresses``: the URI to the request to obtain the list of IP addresses active in the origin.\n- ``cookies``: the URI to the request to obtain the list of cookies active in the origin.\n- ``created_at``: the date and time when the origin token was created in UNIX timestamp in milliseconds.\n- ``updated_at``: the date and time when the origin token was last updated in UNIX timestamp in milliseconds.\n\n### Errors\n- a `404 Not Found` error if the origin token is not found.\n- a `400 Bad Request` error if the origin does not have the correct format.\n\nIt will return the API Global errors described in the API description." provider: threatjammer method: GET path: "/v1/origin" encoding: json input: { type: "object" properties: { query: { type: "string" description: "The origin site to query" } } required: ["query"] additionalProperties: false } output: { type: "object" required: ["actions", "addresses", "config", "cookies", "created_at", "logs", "origin", "scripts", "self", "status", "token", "updated_at"] properties: { actions: { type: "string" } addresses: { type: "string" } config: { type: "object" } cookies: { type: "string" } created_at: { type: "integer" } logs: { type: "string" } origin: { type: "string" } scripts: { type: "string" } self: { type: "string" } status: { type: "string" enum: ["ENABLED", "DISABLED"] } token: { type: "string" } updated_at: { type: "integer" } } } }