Response will contain the requested agent if the caller is authorized to view it
curl --request GET \
--url https://api.cpln.io/org/{org}/agent/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"status": {
"bootstrapConfig": {
"registrationToken": "<string>",
"agentId": "<string>",
"agentLink": "<string>",
"hubEndpoint": "<string>"
}
}
}
curl --request GET \
--url https://api.cpln.io/org/{org}/agent/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"status": {
"bootstrapConfig": {
"registrationToken": "<string>",
"agentId": "<string>",
"agentLink": "<string>",
"hubEndpoint": "<string>"
}
}
}
Response will contain the requested agent if the caller is authorized to view it
curl --request GET \
--url https://api.cpln.io/org/{org}/agent/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"status": {
"bootstrapConfig": {
"registrationToken": "<string>",
"agentId": "<string>",
"agentLink": "<string>",
"hubEndpoint": "<string>"
}
}
}
curl --request GET \
--url https://api.cpln.io/org/{org}/agent/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"status": {
"bootstrapConfig": {
"registrationToken": "<string>",
"agentId": "<string>",
"agentLink": "<string>",
"hubEndpoint": "<string>"
}
}
}