Skip to content

Commit

Permalink
Upd: add list api keys endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Oct 24, 2023
1 parent 8e0d733 commit f116b77
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
30 changes: 30 additions & 0 deletions openapi/v2023.8.2/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2363,6 +2363,36 @@ paths:
description: bad input parameter
security:
- BearerAuth: []
/config/admin/apikeys:
get:
description: LIST - List all api keys
operationId: configListApiKey
parameters:
- $ref: '#/paths/~1config~1policies/get/parameters/1'
- $ref: '#/paths/~1config~1policies/get/parameters/2'
responses:
'200':
content:
application/json:
schema:
type: object
properties:
apiKeys:
$ref: '#/paths/~1config~1admin~1apikey~1%7BapiKeyId%7D/delete/responses/200/content/application~1json/schema'
pagination:
$ref: '#/components/schemas/Pagination'
description: ''
'400':
description: bad input parameter
security:
- BearerAuth: []
summary: LIST - List all api keys
tags:
- config
x-specification-crudl-model: ApiKey
x-specification-pii-or-sensitive: 'False'
x-specification-scenario: ''
x-specification-usecase: UC-C-PIC-A-003
/config/admin/apikey:
post:
description: CREATE - Create an API key
Expand Down
3 changes: 3 additions & 0 deletions openapi/v2023.8.2/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ paths:
/config/idp/open-ids:
post:
$ref: "./paths/configListIdp.yaml"
/config/admin/apikeys:
get:
$ref: "./paths/configListApiKey.yaml"
/config/admin/apikey:
post:
$ref: "./paths/configCreateApikey.yaml"
Expand Down
28 changes: 28 additions & 0 deletions openapi/v2023.8.2/paths/configListApiKey.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
description: LIST - List all api keys
operationId: configListApiKey
parameters:
- $ref: "../parameters/offset.yaml"
- $ref: "../parameters/limit.yaml"
responses:
"200":
content:
application/json:
schema:
type: object
properties:
apiKeys:
$ref: ../definitions/ApiKey.yaml
pagination:
$ref: "../definitions/Pagination.yaml"
description: ""
"400":
description: bad input parameter
security:
- BearerAuth: []
summary: LIST - List all api keys
tags:
- config
x-specification-crudl-model: ApiKey
x-specification-pii-or-sensitive: "False"
x-specification-scenario: ""
x-specification-usecase: UC-C-PIC-A-003

0 comments on commit f116b77

Please sign in to comment.