Skip to content

Commit 30205d1

Browse files
authored
PROJQUAY-193 Automate API docs (#326)
* PROJQUAY-193 Automate API docs * PROJQUAY-193 Automate API docs
1 parent 7b41cbc commit 30205d1

File tree

339 files changed

+7449
-23230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

339 files changed

+7449
-23230
lines changed

api/master.adoc

+223-210
Large diffs are not rendered by default.

modules/api-aggregatelog-get.adoc

-74
This file was deleted.

modules/api-appclientid-get.adoc

-69
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
= createAppToken
3+
Create a new app specific token for user.
4+
5+
[discrete]
6+
== POST /api/v1/user/apptoken
7+
8+
9+
10+
**Authorizations: **oauth2_implicit (**user:admin**)
11+
12+
13+
14+
[discrete]
15+
== Request body schema (application/json)
16+
17+
Description of a new token.
18+
19+
[options="header", width=100%, cols=".^3a,.^9a,.^4a"]
20+
|===
21+
|Name|Description|Schema
22+
|**friendlyName** +
23+
_optional_|Friendly name to help identify the token|string
24+
|===
25+
26+
27+
[discrete]
28+
== Responses
29+
30+
[options="header", width=100%, cols=".^2a,.^14a,.^4a"]
31+
|===
32+
|HTTP Code|Description|Schema
33+
|201|Successful creation|
34+
|400|Bad Request|<<_apierror,ApiError>>
35+
|401|Session required|<<_apierror,ApiError>>
36+
|403|Unauthorized access|<<_apierror,ApiError>>
37+
|404|Not found|<<_apierror,ApiError>>
38+
|===

modules/api-appspecifictokens-delete-token.adoc

-70
This file was deleted.

modules/api-appspecifictokens-get-return-app.adoc

-68
This file was deleted.

modules/api-appspecifictokens-get-tokens.adoc

-70
This file was deleted.

0 commit comments

Comments
 (0)