KubeConfigService_GetForUser
GET/v2/sentry/kubeconfig/user
KubeConfigService_GetForUser
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
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
The HTTP Content-Type header value specifying the content type of the body.
The HTTP request/response body as raw binary.
{
"contentType": "string",
"data": "string"
}
- Schema
- Example (from schema)
Schema
The HTTP Content-Type header value specifying the content type of the body.
The HTTP request/response body as raw binary.
{
"contentType": "string",
"data": "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
string
- Schema
Schema
string
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/kubeconfig/user' \
-H 'Accept: application/json' \
-H 'X-API-KEYID: <API_KEY_VALUE>' \
-H 'X-API-TOKEN: <API_KEY_VALUE>'