Skip to content

Commit

Permalink
auto-generated version v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ionoscloudsdk committed Jan 26, 2022
1 parent 0fa5b6f commit c44361c
Show file tree
Hide file tree
Showing 14 changed files with 596 additions and 257 deletions.
24 changes: 12 additions & 12 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ info:
(Auth API, Cloud API, Reseller API, Activity Log API, and others).
title: Auth API
version: "1.0"
x-sdk-patch-level: 1
x-sdk-patch-level: 2
servers:
- url: https://api.ionos.com/auth/v1
tags:
- description: Everything about tokens
name: token
name: tokens
paths:
/tokens/generate:
get:
Expand All @@ -31,7 +31,7 @@ paths:
\n }\n ```\n\n### \n\nSample token use: \n\n\n ```\n ...\n Authorization:\
\ Bearer eyJu...YifQ.eyJpc3...A0MjJ9.Kx_OHrm...HQguU\n ...\n ```\n\n ###\
\ "
operationId: createToken
operationId: tokensGenerate
parameters:
- description: Users with multiple contracts must provide the contract number,
for which the token is generated.
Expand Down Expand Up @@ -122,7 +122,7 @@ paths:
- Token Authentication: []
summary: Create new tokens
tags:
- token
- tokens
/tokens:
delete:
description: 'Delete one or multiple tokens by the required `criteria` parameter
Expand All @@ -131,7 +131,7 @@ paths:
must be encapsulated in the header. With value `CURRENT`, only the ''Token
Authentication'' with valid credentials is required. Users with multiple contracts
must also provide a valid contract number in the `X-Contract-Number` header.'
operationId: deleteTokenByCriteria
operationId: tokensDeleteByCriteria
parameters:
- description: Delete tokens by criteria EXPIRED, ALL, or CURRENT. The tokens
are deleted for the specified contract.
Expand Down Expand Up @@ -255,14 +255,14 @@ paths:
- Token Authentication: []
summary: Delete tokens by criteria
tags:
- token
- tokens
get:
description: List the details of all tokens, generated by the user. To access
this endpoint, 'Basic Authentication' or 'Token Authentication' tokens with
valid credentials must be encapsulated in the header. Users with multiple
contracts must also provide a valid contract number in the `X-Contract-Number`
header.
operationId: getAllTokens
operationId: tokensGet
parameters:
- description: Users with multiple contracts must provide the contract number,
for which the token is generated.
Expand Down Expand Up @@ -376,14 +376,14 @@ paths:
- Token Authentication: []
summary: List all tokens
tags:
- token
- tokens
/tokens/{tokenId}:
delete:
description: Delete a token by Key ID (`tokenId`). To access the endpoint, 'Basic
Authentication' or 'Token Authentication' tokens with valid credentials must
be encapsulated in the header. Users with multiple contracts must also provide
a valid contract number in the `X-Contract-Number` header.
operationId: deleteTokenById
operationId: tokensDeleteById
parameters:
- description: Users with multiple contracts must provide the contract number,
for which the token is generated.
Expand Down Expand Up @@ -507,14 +507,14 @@ paths:
- Token Authentication: []
summary: Delete tokens
tags:
- token
- tokens
get:
description: Retrieve the details for a token by the Key ID (`tokenId`). To
access this endpoint, 'Basic Authentication' or 'Token Authentication' tokens
with valid credentials must be encapsulated in the header. Users with multiple
contracts must also provide a valid contract number in the `X-Contract-Number`
header.
operationId: getTokenById
operationId: tokensFindById
parameters:
- description: Users with multiple contracts must provide the contract number,
for which the token is generated.
Expand Down Expand Up @@ -658,7 +658,7 @@ paths:
- Token Authentication: []
summary: Get tokens by Key ID
tags:
- token
- tokens
components:
parameters:
contractNumber:
Expand Down
Loading

0 comments on commit c44361c

Please sign in to comment.