TokensApi
All URIs are relative to https://api.ionos.com/containerregistries
Method | HTTP request | Description |
---|---|---|
Delete /registries/{registryId}/tokens/{tokenId} | Delete token | |
Get /registries/{registryId}/tokens/{tokenId} | Get token information | |
Get /registries/{registryId}/tokens | List all tokens for the container registry | |
Patch /registries/{registryId}/tokens/{tokenId} | Update token | |
Post /registries/{registryId}/tokens | Create token | |
Put /registries/{registryId}/tokens/{tokenId} | Create or replace token |
RegistriesTokensDelete
Delete token
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registryId | string | The unique ID of the registry | |
tokenId | string | The unique ID of the token |
Other Parameters
Other parameters are passed through a pointer to an apiRegistriesTokensDeleteRequest struct via the builder pattern
Return type
(empty response body)
HTTP request headers
Content-Type: Not defined
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "TokensApiService.RegistriesTokensDelete"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
RegistriesTokensFindById
Get token information
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registryId | string | The unique ID of the registry | |
tokenId | string | The unique ID of the token |
Other Parameters
Other parameters are passed through a pointer to an apiRegistriesTokensFindByIdRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "TokensApiService.RegistriesTokensFindById"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
RegistriesTokensGet
List all tokens for the container registry
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registryId | string | The unique ID of the registry |
Other Parameters
Other parameters are passed through a pointer to an apiRegistriesTokensGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
offset | string | The first element (from the complete list of the elements) to include in the response (used together with limit for pagination) | [default to "0"] |
limit | string | The maximum number of elements to return (used together with offset for pagination) | [default to "100"] |
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "TokensApiService.RegistriesTokensGet"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
RegistriesTokensPatch
Update token
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registryId | string | The unique ID of the registry | |
tokenId | string | The unique ID of the token |
Other Parameters
Other parameters are passed through a pointer to an apiRegistriesTokensPatchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
patchTokenInput |
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "TokensApiService.RegistriesTokensPatch"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
RegistriesTokensPost
Create token
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registryId | string | The unique ID of the registry |
Other Parameters
Other parameters are passed through a pointer to an apiRegistriesTokensPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
postTokenInput |
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "TokensApiService.RegistriesTokensPost"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
RegistriesTokensPut
Create or replace token
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registryId | string | The unique ID of the registry | |
tokenId | string | The unique ID of the token |
Other Parameters
Other parameters are passed through a pointer to an apiRegistriesTokensPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
putTokenInput |
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "TokensApiService.RegistriesTokensPut"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
Last updated