curl --request GET \
--url https://use.hoop.dev/api/resources/{name}{
"agent_id": "1837453e-01fc-46f3-9e4c-dcf22d395393",
"created_at": "2024-07-25T15:56:35.317601Z",
"env_vars": {},
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "my-resource",
"subtype": "mysql",
"type": "database",
"updated_at": "2024-07-25T15:56:35.317601Z"
}Gets a resource by ID for the organization.
curl --request GET \
--url https://use.hoop.dev/api/resources/{name}{
"agent_id": "1837453e-01fc-46f3-9e4c-dcf22d395393",
"created_at": "2024-07-25T15:56:35.317601Z",
"env_vars": {},
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "my-resource",
"subtype": "mysql",
"type": "database",
"updated_at": "2024-07-25T15:56:35.317601Z"
}The resource name
OK
The agent associated with this resource
"1837453e-01fc-46f3-9e4c-dcf22d395393"
The time the resource was created
"2024-07-25T15:56:35.317601Z"
The resource environment variables
Show child attributes
The resource ID
"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7"
The resource name
"my-resource"
The resource subtype
"mysql"
The resource type
"database"
The time the resource was updated
"2024-07-25T15:56:35.317601Z"
Was this page helpful?