GET
/
inventory
/
{id}
/
resource
/
{resource_id}
curl --request GET \
  --url https://api.alerty.ai/inventory/{id}/resource/{resource_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "type": "WEBSITE",
  "configuration": {
    "url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

the inventory identifier

resource_id
string
required

the inventory resource identifier

Response

200
application/json
successful inventory resource retrieval
id
string
required

Unique identifier for the entity

createdAt
string
required
updatedAt
string
required
name
string
required

the inventory resource name

type
enum<string>
required

the inventory resource type

Available options:
WEBSITE,
DATABASE,
COMPUTE,
STRIPE,
AWS_CLOUDFRONT,
CLOUDFLARE,
STATUS_PAGE,
RDS_DATABASE
configuration
object
required