action threatjammer_query_origin_address_status_information_v1_origin_addresses_get { label: "Get the address status of the origin of the user in the region." description: "### What\n\nObtain the status that trigger the change in the status of the origin of a specific IP address. The status will also describe the current state of the status and the information that triggered the change.\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 the status of an origin.\n- ``addresses``: a list of JSON objects with the following fields:\n - ``address``: the IP address of the origin.\n - ``status``: the status of IP address for the given origin.\n - ``log_id``: the ID of the log that triggered the change in the status of the origin.\n - ``expiry``: the date and time when the origin status will expire in UNIX timestamp in milliseconds.\n - ``created_at``: the date and time when the origin status was created in UNIX timestamp in milliseconds.\n - ``updated_at``: the date and time when the origin status was last updated in UNIX timestamp in milliseconds.\n\n### Errors\n- a `404 Not Found` error if the origin 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/addresses" encoding: json input: { type: "object" properties: { page: { type: "integer" description: "The page to be returned" } page_size: { type: "integer" description: "The number of items per page" } query: { type: "string" description: "The origin site to query" } } required: ["query"] additionalProperties: false } output: { type: "object" required: ["addresses", "page", "page_size", "self"] properties: { addresses: { type: "array" items: { type: "object" required: ["status", "address"] properties: { address: { type: "string" } created_at: { type: "integer" } expiry: { type: "integer" } log_id: { type: "string" } status: { type: "string" } updated_at: { type: "integer" } } } } page: { type: "integer" } page_size: { type: "integer" } self: { type: "string" } } } }