Skip to content

Commit

Permalink
Merge pull request #23 from mulesoft-anypoint/dev
Browse files Browse the repository at this point in the history
Exchange Resource: Get Asset by Version
  • Loading branch information
soufi authored Oct 9, 2024
2 parents 935400f + 3b3ab7d commit 721733a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions spec/exchange_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,37 @@ paths:
'200':
$ref: '#/components/responses/SuccessGetAsset'

/assets/{orgId}/{assetId}/{version}/asset:
get:
summary: Get Asset by Version
description: Get one specific Asset by version
parameters:
- name: orgId
in: path
description: The ID of the organization in GUID format
required: true
schema:
type: string
- name: assetId
in: path
description: The ID of the asset
required: true
schema:
type: string
- name: version
in: path
description: The version of the asset
required: true
schema:
type: string
responses:
'401':
$ref: '#/components/responses/UnauthorizedError'
'400':
$ref: '#/components/responses/BadRequestError'
'200':
$ref: '#/components/responses/SuccessGetAsset'

/assets/{orgId}/{assetId}:
patch:
summary: update Asset name and description
Expand Down

0 comments on commit 721733a

Please sign in to comment.