Skip to content

Commit

Permalink
Merge pull request CESNET#3147 from HejdaJakub/dev7138
Browse files Browse the repository at this point in the history
Added sponsorMember to OpenAPI
  • Loading branch information
Vojtech-Sassmann authored Mar 31, 2021
2 parents efbd477 + 491e57d commit d564213
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions perun-openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9045,6 +9045,22 @@ paths:
default:
$ref: '#/components/responses/ExceptionResponse'

/urlinjsonout/membersManager/sponsorMember:
post:
tags:
- MembersManager
operationId: sponsorMember
summary: For an existing member, assigns a new sponsor
parameters:
- $ref: '#/components/parameters/memberId'
- $ref: '#/components/parameters/sponsorId'
- $ref: '#/components/parameters/optionalValidityTo'
responses:
'200':
$ref: '#/components/responses/RichMemberResponse'
default:
$ref: '#/components/responses/ExceptionResponse'

/urlinjsonout/membersManager/moveMembership:
post:
tags:
Expand Down

0 comments on commit d564213

Please sign in to comment.