Skip to content

Commit

Permalink
Merge pull request #2914 from HejdaJakub/dev6531
Browse files Browse the repository at this point in the history
Add method getSponsors to OpenApi
  • Loading branch information
zlamalp authored Oct 7, 2020
2 parents a4ceb72 + 803ce04 commit 7a2a224
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions perun-openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7a2a224

Please sign in to comment.