action threatjammer_query_status_by_the_name_v1_asn_status_code_get { label: "Get the information of a status given." description: "### What\nObtain the information about the status of an object in the registry as a parameter.\n\n### Parameters\nThe endpoint accepts only the following parameter in the path:\n- ``code``: (Mandatory) The code that identifies uniquely the status in the registry. Possible values are: assigned, reserved, allocated, available.\n\n\n### Result\nThe result is a JSON object with the following structure:\n- ``self``: the URI to individual status.\n- ``name``: the human readable name of the status.\n- ``code``: the internal code of the status in the system.\n\n### Errors\n- a `422 Unprocessable Entity` error if the code is not one of the available.\n\nIt will also return the API Global errors described in the API description." provider: threatjammer method: GET path: "/v1/asn/status/{code}" encoding: json input: { type: "object" properties: { code: { type: "string" enum: ["assigned", "reserved", "available", "allocated"] } } required: ["code"] additionalProperties: false } output: { type: "object" description: "The Status information" required: ["code", "name", "self"] properties: { code: { type: "string" } name: { type: "string" } self: { type: "string" } } } }