Project Member

Last updated 4 months ago

get
Project Member List

{{ base_url }}
/projects/projectmember/list/{level}/{sid}/{serializer}/
Request
Response
Path Parameters
level
required
string
sid
required
string
serializer
required
string
Headers
token
required
string
200: OK
{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 5,
"next": null,
"previous": null,
"add_permission": false,
"results": [
{
"sid": "xxx",
"name": "xxx",
"permission": "Edit",
"is_archived": false,
"change_permission": true
},
...
]
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct
Wrong level - the provided level is not acceptable

post
Project Member List

{{ base_url }}
/projects/projectmember/list/{level}/{sid}/{serializer}/
Request
Response
Path Parameters
level
required
string
sid
required
string
serializer
required
string
Headers
token
required
string
Form Data Parameters
member
optional
array
team
optional
array
permission
required
string
is_archived
optional
string
201: Created
{
"sid": "xxx",
"name": "xxx",
"permission": "Edit",
"is_archived": false,
"change_permission": true
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct
Wrong level - the provided level is not acceptable

get
Project Member Detail

{{ base_url }}
/projects/projectmember/detail/{sid}/
Request
Response
Path Parameters
sid
required
string
Headers
token
required
string
200: OK
{
"sid": "xxx",
"name": "xxx",
"permission": "Edit",
"is_archived": false,
"change_permission": true
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct

patch
Project Member Detail

{{ base_url }}
/projects/projectmember/detail/{sid}/
Request
Response
Path Parameters
sid
required
string
Headers
token
required
string
Form Data Parameters
team
optional
object
member
optional
object
permission
optional
string
is_archived
optional
boolean
200: OK
{
"sid": "xxx",
"name": "xxx",
"permission": "Edit",
"is_archived": false,
"change_permission": true
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct

delete
Project Member Detail

{{ base_url }}
/projects/projectmember/detail/{sid}/
Request
Response
Path Parameters
sid
required
string
Headers
token
required
string
204: No Content
{}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct