BootstrapService_CreateBootstrapAgent
POST/v2/sentry/bootstrap/{spec.templateRef}/agent
BootstrapService_CreateBootstrapAgent
Request
Path Parameters
spec.templateRef stringrequired
Possible values: Value must match regular expression template/[^/]+
- application/json
- application/yaml
Body
required
metadata object
spec object
status object
Body
required
metadata object
spec object
status object
Responses
- 200
- 403
- 404
- 500
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
apiVersion API Version
Default value: infra.k8smgmt.io/v3
API Version of the resource
kind Kind
Default value: BootstrapAgent
Kind of the resource
metadata object
spec object
status object
{
"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.375Z",
"fingerprint": "string"
}
}
- Schema
- Example (from schema)
Schema
apiVersion API Version
Default value: infra.k8smgmt.io/v3
API Version of the resource
kind Kind
Default value: BootstrapAgent
Kind of the resource
metadata object
spec object
status object
{
"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.375Z",
"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
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
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' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-API-KEYID: <API_KEY_VALUE>' \
-H 'X-API-TOKEN: <API_KEY_VALUE>'