Get a resource type
GET
/v2/scim/2.0/ResourceTypes/{name} Returns a resource type by name.
Connection and access
API connection and authentication guidance
https://hub.docker.com
—
Docker HUB API
Use one of these alternatives. Requirements within an alternative apply together.
scimToken
Parameters
name
path
Required
Name of the SCIM resource type.
Type:
string
All schema constraints and annotations
{
"type": "string"
}Request and responses
Response
200
application/scim+json
Schema:
scim_resource_type
Schema example
{
"description": "User",
"endpoint": "/Users",
"id": "User",
"name": "User",
"schema": "urn:ietf:params:scim:schemas:core:2.0:User",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:ResourceType"
]
}Response
401
Unauthorized
application/scim+json
All constraints apply
Schema:
scim_error
status
All schema constraints and annotations
{
"example": "401"
}All schema constraints and annotations
{
"properties": {
"status": {
"example": "401"
}
}
}All schema constraints and annotations
{
"allOf": [
{
"$ref": "#/components/schemas/scim_error"
},
{
"properties": {
"status": {
"example": "401"
}
}
}
]
}error
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "401"
}Response
404
Not Found
application/scim+json
All constraints apply
Schema:
scim_error
status
All schema constraints and annotations
{
"example": "404"
}All schema constraints and annotations
{
"properties": {
"status": {
"example": "404"
}
}
}All schema constraints and annotations
{
"allOf": [
{
"$ref": "#/components/schemas/scim_error"
},
{
"properties": {
"status": {
"example": "404"
}
}
}
]
}error
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "404"
}Response
500
Internal Error
application/scim+json
All constraints apply
Schema:
scim_error
status
All schema constraints and annotations
{
"example": "500"
}All schema constraints and annotations
{
"properties": {
"status": {
"example": "500"
}
}
}All schema constraints and annotations
{
"allOf": [
{
"$ref": "#/components/schemas/scim_error"
},
{
"properties": {
"status": {
"example": "500"
}
}
}
]
}error
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"status": "500"
}Referenced schemas
Complete operation contract
{
"description": "Returns a resource type by name.\n",
"operationId": "getV2Scim20ResourceTypesByName",
"parameters": [
{
"description": "Name of the SCIM resource type.",
"example": "User",
"in": "path",
"name": "name",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"$ref": "#/components/responses/scim_get_resource_type_resp"
},
"401": {
"$ref": "#/components/responses/scim_unauthorized"
},
"404": {
"$ref": "#/components/responses/scim_not_found"
},
"500": {
"$ref": "#/components/responses/scim_error"
}
},
"security": [
{
"scimToken": []
}
],
"summary": "Get a resource type",
"tags": [
"scim"
]
}