From 491e57d762b6c228736f7d54aa2681bad229919b Mon Sep 17 00:00:00 2001 From: HejdaJakub Date: Wed, 31 Mar 2021 13:57:49 +0200 Subject: [PATCH] Added sponsorMember to OpenAPI * Method sponsorMemeber added to OpenAPI. --- perun-openapi/openapi.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/perun-openapi/openapi.yml b/perun-openapi/openapi.yml index 3c8a42fb4a..1f398c9515 100644 --- a/perun-openapi/openapi.yml +++ b/perun-openapi/openapi.yml @@ -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: