RolepermissionService_GetRolepermissions
GET/auth/v3/rolepermissions
RolepermissionService_GetRolepermissions
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
- Array [
- ]
API Version of the role permission list resource
Kind of the role permission list resource
metadata object
Metadata of the role permission list resource
items object[]
List of the role permission resources
Default value: system.k8smgmt.io/v3
API Version of the role permission resource
Default value: RolePermission
Kind of the role permission resource
metadata objectrequired
Metadata of the role permission 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 objectrequired
Metadata of the role permission resource
Scope of permisions for role
status object
Status of the resource
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
status of the condition
when the condition status is last updated
reason of the last condition status
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"apiVersion": "system.k8smgmt.io/v3",
"kind": "RolePermission",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"scope": "string"
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.148Z",
"reason": "string"
}
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
API Version of the role permission list resource
Kind of the role permission list resource
metadata object
Metadata of the role permission list resource
items object[]
List of the role permission resources
Default value: system.k8smgmt.io/v3
API Version of the role permission resource
Default value: RolePermission
Kind of the role permission resource
metadata objectrequired
Metadata of the role permission 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 objectrequired
Metadata of the role permission resource
Scope of permisions for role
status object
Status of the resource
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
status of the condition
when the condition status is last updated
reason of the last condition status
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"apiVersion": "system.k8smgmt.io/v3",
"kind": "RolePermission",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"scope": "string"
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.148Z",
"reason": "string"
}
}
]
}
Returned when the rolepermission 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
- 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"
}
]
}