Resources
List resources of a specific type
CLI Reference
- Get Started
- Root Command
- App Commands
- Auth Commands
- Resource Commands
- Project Commands
- Recipe Commands
API Reference
- Get Started
- Apps
- Resources
- Recipes
- Projects
Resources
List resources of a specific type
Retrieve a list of resources filtered by type.
POST
/
resources.list
curl --request POST \
--url https://developer.tempestdx.com/api/v1/resources.list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"next": "<string>"
}'
{
"response_type": "<string>",
"resources": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"display_name": "<string>",
"external_id": "<string>",
"external_url": "<string>",
"name": "<string>",
"organization_id": "<string>",
"type": "<string>",
"status": "<string>",
"synced_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"links": {
"links": [
{
"title": "<string>",
"url": "<string>",
"type": "documentation"
}
]
}
}
],
"next": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Resources retrieved successfully
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://developer.tempestdx.com/api/v1/resources.list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"next": "<string>"
}'
{
"response_type": "<string>",
"resources": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"display_name": "<string>",
"external_id": "<string>",
"external_url": "<string>",
"name": "<string>",
"organization_id": "<string>",
"type": "<string>",
"status": "<string>",
"synced_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"links": {
"links": [
{
"title": "<string>",
"url": "<string>",
"type": "documentation"
}
]
}
}
],
"next": "<string>"
}