BootstrapService_GetBootstrapAgentTemplates
GET/v2/sentry/bootstrap/template
BootstrapService_GetBootstrapAgentTemplates
Request
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
- Array [
- Array [
- ]
- ]
Default value: infra.k8smgmt.io/v3
API Version of the list resource
Default value: BootstrapAgentTemplateList
Kind of the list resource
metadata object
Metadata of the list resource
items object[]
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: BootstrapAgentTemplate
Kind of the resource
metadata object
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec object
Possible values: [TemplateTypeNotSet
, Client
, Server
, Mixed
]
Default value: TemplateTypeNotSet
hosts object[]
Possible values: [HostTypeNotSet
, HostTypeInternal
, HostTypeExternal
]
Default value: HostTypeNotSet
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentTemplateList",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentTemplate",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"infraRef": "string",
"autoRegister": true,
"ignoreMultipleRegister": true,
"autoApprove": true,
"templateType": "TemplateTypeNotSet",
"token": "string",
"hosts": [
{
"host": "string",
"type": "HostTypeNotSet"
}
],
"inClusterTemplate": "string",
"outOfClusterTemplate": "string"
},
"status": {}
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
Default value: infra.k8smgmt.io/v3
API Version of the list resource
Default value: BootstrapAgentTemplateList
Kind of the list resource
metadata object
Metadata of the list resource
items object[]
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: BootstrapAgentTemplate
Kind of the resource
metadata object
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec object
Possible values: [TemplateTypeNotSet
, Client
, Server
, Mixed
]
Default value: TemplateTypeNotSet
hosts object[]
Possible values: [HostTypeNotSet
, HostTypeInternal
, HostTypeExternal
]
Default value: HostTypeNotSet
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentTemplateList",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentTemplate",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"infraRef": "string",
"autoRegister": true,
"ignoreMultipleRegister": true,
"autoApprove": true,
"templateType": "TemplateTypeNotSet",
"token": "string",
"hosts": [
{
"host": "string",
"type": "HostTypeNotSet"
}
],
"inClusterTemplate": "string",
"outOfClusterTemplate": "string"
},
"status": {}
}
]
}
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
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}