BootstrapService_GetBootstrapAgents
GET/v2/sentry/bootstrap/:templateScope/agent
BootstrapService_GetBootstrapAgents
Request
Path Parameters
Possible values: Value must match regular expression template/[^/]+
Query Parameters
query for filtering
name is unique ID of a resource along with (partnerID, organizationID, projectID)
selector is used to filter the labels of a resource
displayName only used for update queries to set displayName (READONLY)
labels only used for update queries to set labels (READONLY)
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
annotations only used for update queries to set annotations (READONLY)
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
ignoreScopeDefault ignores default values for partnerID, organizationID and projectID
globalScope sets partnerID,organizationID,projectID = 0
urlScope is supposed to be passed in the URL as kind/HashID(value)
generic way to specify a type of resource, mainly for use in users endpoint
Responses
- 200
- 403
- 404
- 500
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
Default value: infra.k8smgmt.io/v3
API Version of the list resource
Default value: BootstrapAgentList
Kind of the list resource
metadata object
items object[]
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentList",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgent",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"token": "string",
"templateRef": "string",
"agentMode": "InCluster"
},
"status": {
"tokenState": "NotSet",
"ipAddress": "string",
"lastCheckedIn": "2024-02-15T00:40:10.380Z",
"fingerprint": "string"
}
}
]
}
- Schema
- Example (from schema)
Schema
Default value: infra.k8smgmt.io/v3
API Version of the list resource
Default value: BootstrapAgentList
Kind of the list resource
metadata object
items object[]
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentList",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgent",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"token": "string",
"templateRef": "string",
"agentMode": "InCluster"
},
"status": {
"tokenState": "NotSet",
"ipAddress": "string",
"lastCheckedIn": "2024-02-15T00:40:10.381Z",
"fingerprint": "string"
}
}
]
}
Returned when the user does not have permission to access the resource.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the resource does not exist.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned for internal server error
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
An unexpected error response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Authorization: X-API-KEYID
name: X-API-KEYIDtype: apiKeyin: header
name: X-API-TOKENtype: apiKeyin: header
name: BasicAuthtype: httpscheme: basic
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://website-qwrdwgng9-paralus.vercel.app/v2/sentry/bootstrap/:templateScope/agent' \
-H 'Accept: application/json' \
-H 'X-API-KEYID: <API_KEY_VALUE>' \
-H 'X-API-TOKEN: <API_KEY_VALUE>'