Resources
Get a resource
GET
/
v1
/
resources
/
{resourceId}
curl --request GET \
--url https://api.ctrlplane.dev/api/v1/resources/{resourceId}
{
"id": "<string>",
"name": "<string>",
"workspaceId": "<string>",
"kind": "<string>",
"identifier": "<string>",
"version": "<string>",
"config": {},
"lockedAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"provider": {
"id": "<string>",
"name": "<string>"
},
"metadata": {},
"variable": {}
}
Path Parameters
The resource ID
Response
200
application/json
OK
The response is of type object
.
curl --request GET \
--url https://api.ctrlplane.dev/api/v1/resources/{resourceId}
{
"id": "<string>",
"name": "<string>",
"workspaceId": "<string>",
"kind": "<string>",
"identifier": "<string>",
"version": "<string>",
"config": {},
"lockedAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"provider": {
"id": "<string>",
"name": "<string>"
},
"metadata": {},
"variable": {}
}
Assistant
Responses are generated using AI and may contain mistakes.