From 2937c542ee51e68df8cbe31cb25800cd42089e0b Mon Sep 17 00:00:00 2001 From: Matthew DeVenny Date: Mon, 16 Sep 2024 08:30:55 -0700 Subject: [PATCH] Add get /assets/{orgId}/{assetId}/{version}/asset Signed-off-by: Matthew DeVenny --- spec/exchange_assets.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/spec/exchange_assets.yml b/spec/exchange_assets.yml index 5dd0c5a..9c26b82 100644 --- a/spec/exchange_assets.yml +++ b/spec/exchange_assets.yml @@ -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