diff --git a/perun-openapi/openapi.yml b/perun-openapi/openapi.yml index 6734d9dd00..7e4c70e432 100644 --- a/perun-openapi/openapi.yml +++ b/perun-openapi/openapi.yml @@ -7811,6 +7811,38 @@ paths: default: $ref: '#/components/responses/ExceptionResponse' + /json/membersManager/getSponsors/member: + get: + tags: + - MembersManager + operationId: getSponsorsByMember + summary: Gets sponsors for given member with optional attribute names. + parameters: + - $ref: '#/components/parameters/memberId' + - $ref: '#/components/parameters/attrNamesOptional' + responses: + '200': + $ref: '#/components/responses/ListOfRichUsersResponse' + default: + $ref: '#/components/responses/ExceptionResponse' + + /json/membersManager/getSponsors/vo: + get: + tags: + - MembersManager + operationId: getSponsorsByVo + summary: Gets sponsors for given VO, extSourceName and extLogin with optional attribute names. + parameters: + - $ref: '#/components/parameters/voId' + - $ref: '#/components/parameters/extSourceName' + - $ref: '#/components/parameters/extLogin' + - $ref: '#/components/parameters/attrNamesOptional' + responses: + '200': + $ref: '#/components/responses/ListOfRichUsersResponse' + default: + $ref: '#/components/responses/ExceptionResponse' + /json/membersManager/createSponsoredMember/withFullName: post: tags: