chore(docs): Updated API Reference (v2) (#8609)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-08-15 14:31:35 +00:00
committed by GitHub
parent 4bd0917aed
commit b23ddcdde8
1211 changed files with 92070 additions and 5062 deletions

View File

@@ -73,6 +73,41 @@ get:
tags:
- Api Keys
responses:
'200':
description: OK
content:
application/json:
schema:
allOf:
- type: object
description: SUMMARY
required:
- limit
- offset
- count
properties:
limit:
type: number
title: limit
description: The api key's limit.
offset:
type: number
title: offset
description: The api key's offset.
count:
type: number
title: count
description: The api key's count.
- type: object
description: SUMMARY
required:
- api_keys
properties:
api_keys:
type: array
description: The api key's api keys.
items:
$ref: ../components/schemas/ApiKeyResponse.yaml
'400':
$ref: ../components/responses/400_error.yaml
'401':
@@ -163,6 +198,12 @@ post:
tags:
- Api Keys
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: ../components/schemas/AdminApiKeyResponse.yaml
'400':
$ref: ../components/responses/400_error.yaml
'401':
@@ -175,3 +216,4 @@ post:
$ref: ../components/responses/invalid_request_error.yaml
'500':
$ref: ../components/responses/500_error.yaml
x-workflow: createApiKeysWorkflow