Fetch memberships - leerbedrijflisa/breakpoint-api GitHub Wiki
GET /memberships/
Request
Query parameters
Field |
Description |
project |
The name of the project you want to filter by. |
role |
The role of the user you want to filter by. |
userName |
The name of the user you want to filter by. |
Example
GET /memberships/?project=BreakpointApi&userName=User
Response
Data fields
Field |
Description |
id |
A unique identifier for a particular membership. |
userName |
Name of the user that is assigned to the project. |
project |
The name of the project that the user is assigned to. |
role |
Role of the user assigned to the project. |
Example
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"id": "458312d4-310d-4e79-98f1-4ebe008d2ef7",
"userName": "User",
"project": "projectname",
"role": "tester"
},
{
"id": "ce31b00d-0110-44b1-9458-fa438c6995d9",
"userName": "User2",
"project": "projectname",
"role": "Developer"
}
]