Skip to content

Commit

Permalink
Support bulk change of access credentials (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
alekshs authored Oct 1, 2024
1 parent 0be2b1c commit 31ef6fa
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions openapi-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5004,6 +5004,24 @@ definitions:
pagination_metadata:
$ref: "#/definitions/PaginationMetadata"

ChangeAssetCredentialsRequest:
description: Request body to change the credentials of the given assets
type: object
required:
- access_credentials
- asset_uuids
properties:
access_credentials:
description: The name or uuid of the access credentials
type: string
x-nullable: false
asset_uuids:
description: The list of asset uuids to have their credentials changed
type: array
items:
type: string
x-nullable: false

paths:
/.stats:
get:
Expand Down Expand Up @@ -10710,3 +10728,32 @@ paths:
description: error response
schema:
$ref: "#/definitions/Error"

/assets/{namespace}/change_credentials:
parameters:
- name: namespace
in: path
description: The namespace to send the request on behalf of.
type: string
required: true
post:
tags:
- assets
description: Changes the access credentials to the given assets
operationId: changeAssetCredentials
parameters:
- name: changeCredentialsRequest
in: body
description: aws access credentials to store for a namespace
schema:
$ref: "#/definitions/ChangeAssetCredentialsRequest"
required: true
responses:
204:
description: Credentials changed successfully
502:
description: Bad Gateway
default:
description: error response
schema:
$ref: "#/definitions/Error"

0 comments on commit 31ef6fa

Please sign in to comment.