get: tags: - hs-hosting-assets description: 'Fetch a single managed asset by its uuid, if visible for the current subject.' operationId: getSingleHostingAssetByUuid parameters: - $ref: 'auth.yaml#/components/parameters/currentSubject' - $ref: 'auth.yaml#/components/parameters/assumedRoles' - name: assetUuid in: path required: true schema: type: string format: uuid description: UUID of the hosting asset to fetch. responses: "200": description: OK content: 'application/json': schema: $ref: 'hs-hosting-asset-schemas.yaml#/components/schemas/HsHostingAsset' "401": $ref: 'error-responses.yaml#/components/responses/Unauthorized' "403": $ref: 'error-responses.yaml#/components/responses/Forbidden' patch: tags: - hs-hosting-assets description: 'Updates a single hosting asset identified by its uuid, if permitted for the current subject.' operationId: patchHostingAsset parameters: - $ref: 'auth.yaml#/components/parameters/currentSubject' - $ref: 'auth.yaml#/components/parameters/assumedRoles' - name: assetUuid in: path required: true schema: type: string format: uuid requestBody: content: 'application/json': schema: $ref: 'hs-hosting-asset-schemas.yaml#/components/schemas/HsHostingAssetPatch' responses: "200": description: OK content: 'application/json': schema: $ref: 'hs-hosting-asset-schemas.yaml#/components/schemas/HsHostingAsset' "401": $ref: 'error-responses.yaml#/components/responses/Unauthorized' "403": $ref: 'error-responses.yaml#/components/responses/Forbidden' delete: tags: - hs-hosting-assets description: 'Delete a single hosting asset identified by its uuid, if permitted for the current subject.' operationId: deleteHostingAssetByUuid parameters: - $ref: 'auth.yaml#/components/parameters/currentSubject' - $ref: 'auth.yaml#/components/parameters/assumedRoles' - name: assetUuid in: path required: true schema: type: string format: uuid description: UUID of the hosting asset to delete. responses: "204": description: No Content "401": $ref: 'error-responses.yaml#/components/responses/Unauthorized' "403": $ref: 'error-responses.yaml#/components/responses/Forbidden' "404": $ref: 'error-responses.yaml#/components/responses/NotFound'