Co-authored-by: Michael Hoennig <michael@hoennig.de> Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/164 Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
27 lines
935 B
YAML
27 lines
935 B
YAML
get:
|
|
tags:
|
|
- hs-office-coopShares
|
|
description: 'Fetch a single share transaction by its uuid, if visible for the current subject.'
|
|
operationId: getSingleCoopShareTransactionByUuid
|
|
parameters:
|
|
- $ref: 'auth.yaml#/components/parameters/assumedRoles'
|
|
- name: shareTransactionUUID
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: string
|
|
format: uuid
|
|
description: UUID of the share transaction to fetch.
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
$ref: 'hs-office-coopshares-schemas.yaml#/components/schemas/HsOfficeCoopSharesTransaction'
|
|
|
|
"401":
|
|
$ref: 'error-responses.yaml#/components/responses/Unauthorized'
|
|
"403":
|
|
$ref: 'error-responses.yaml#/components/responses/Forbidden'
|