Schema
createOrgAccessTokenResponse
Type:
object
All constraints apply
Type:
object
created_at
Type:
string
All schema constraints and annotations
{
"example": "2022-05-20T00:54:18Z",
"format": "date-time",
"type": "string"
}expires_at
Type:
string | null
All schema constraints and annotations
{
"example": "2023-05-20T00:54:18Z",
"format": "date-time",
"type": [
"string",
"null"
]
}id
Type:
string
All schema constraints and annotations
{
"example": "a7a5ef25-8889-43a0-8cc7-f2a94268e861",
"type": "string"
}is_active
Type:
boolean
All schema constraints and annotations
{
"example": true,
"type": "boolean"
}label
Type:
string
All schema constraints and annotations
{
"example": "My organization token",
"type": "string"
}last_used_at
Type:
string | null
All schema constraints and annotations
{
"example": "2022-06-15T12:30:45Z",
"format": "date-time",
"type": [
"string",
"null"
]
}All schema constraints and annotations
{
"properties": {
"created_at": {
"example": "2022-05-20T00:54:18Z",
"format": "date-time",
"type": "string"
},
"expires_at": {
"example": "2023-05-20T00:54:18Z",
"format": "date-time",
"type": [
"string",
"null"
]
},
"id": {
"example": "a7a5ef25-8889-43a0-8cc7-f2a94268e861",
"type": "string"
},
"is_active": {
"example": true,
"type": "boolean"
},
"label": {
"example": "My organization token",
"type": "string"
},
"last_used_at": {
"example": "2022-06-15T12:30:45Z",
"format": "date-time",
"type": [
"string",
"null"
]
}
},
"type": "object"
}Type:
object
resources
Type:
array
Array item
Schema:
orgAccessTokenResource
All schema constraints and annotations
{
"$ref": "#/components/schemas/orgAccessTokenResource"
}All schema constraints and annotations
{
"items": {
"$ref": "#/components/schemas/orgAccessTokenResource"
},
"type": "array"
}token
Type:
string
The actual token value that can be used for authentication
All schema constraints and annotations
{
"description": "The actual token value that can be used for authentication",
"example": "dckr_oat_7awgM4jG5SQvxcvmNzhKj8PQjxo",
"type": "string"
}All schema constraints and annotations
{
"properties": {
"resources": {
"items": {
"$ref": "#/components/schemas/orgAccessTokenResource"
},
"type": "array"
},
"token": {
"description": "The actual token value that can be used for authentication",
"example": "dckr_oat_7awgM4jG5SQvxcvmNzhKj8PQjxo",
"type": "string"
}
},
"type": "object"
}All schema constraints and annotations
{
"allOf": [
{
"properties": {
"created_at": {
"example": "2022-05-20T00:54:18Z",
"format": "date-time",
"type": "string"
},
"expires_at": {
"example": "2023-05-20T00:54:18Z",
"format": "date-time",
"type": [
"string",
"null"
]
},
"id": {
"example": "a7a5ef25-8889-43a0-8cc7-f2a94268e861",
"type": "string"
},
"is_active": {
"example": true,
"type": "boolean"
},
"label": {
"example": "My organization token",
"type": "string"
},
"last_used_at": {
"example": "2022-06-15T12:30:45Z",
"format": "date-time",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
{
"properties": {
"resources": {
"items": {
"$ref": "#/components/schemas/orgAccessTokenResource"
},
"type": "array"
},
"token": {
"description": "The actual token value that can be used for authentication",
"example": "dckr_oat_7awgM4jG5SQvxcvmNzhKj8PQjxo",
"type": "string"
}
},
"type": "object"
}
],
"examples": [
{
"created_at": "2022-05-20T00:54:18Z",
"expires_at": "2023-05-20T00:54:18Z",
"id": "a7a5ef25-8889-43a0-8cc7-f2a94268e861",
"is_active": true,
"label": "My organization token",
"last_used_at": "2022-06-15T12:30:45Z",
"resources": [
{
"path": "myorg/myrepo",
"scopes": [
"scope-image-pull"
],
"type": "TYPE_REPO"
}
],
"token": "dckr_oat_7awgM4jG5SQvxcvmNzhKj8PQjxo"
}
],
"type": "object"
}