Member

API for Project Member object

Method & Permission

API

GET

POST

PUT

PATCH

DELETE

Member List

Admin, Project Admin, Project Edit, Project View

Admin, Project Admin

-

-

-

Member Detail

Admin, Project Admin, Project Edit, Project View

-

-

Admin, Project Admin

Admin, Project Admin

Project Member List

GET {{ base_url }} /projects/member/list/{level}/{sid}/{serializer}/

Path Parameters

NameTypeDescription

level

string

organization

sid

string

organization sid

serializer

string

Query Parameters

NameTypeDescription

project__sid

string

Headers

NameTypeDescription

token

string

# serializer = name
{
    "page_size": 10,
    "page_number": 1,
    "page_count": 1,
    "count": 3,
    "next": null,
    "previous": null,
    "add_permission": true,
    "results": [
        {
            "sid": "xxx",
            "name": "xxx"
        },
    ]
}
# serializer = list
{
    "page_size": 10,
    "page_number": 1,
    "page_count": 1,
    "count": 3,
    "next": null,
    "previous": null,
    "add_permission": true,
    "results": [
        {
            "sid": "xxx",
            "team": null,
            "personnel": {
                "sid": "xxx",
                "name": "xxx"
            },
            "project": {
                "sid": "xxx",
                "name": "xxx"
            },
            "permission": "Admin",
            "is_archived": false,
            "change_permission": true
        },
    ]
}
# serializer = detail
{
    "page_size": 10,
    "page_number": 1,
    "page_count": 1,
    "count": 3,
    "next": null,
    "previous": null,
    "add_permission": true,
    "results": [
        {
            "sid": "xxx",
            "name": "xxx",
            "team": null,
            "personnel": {
                "sid": "xxx",
                "name": "xxx"
            },
            "project": {
                "sid": "xxx",
                "name": "xxx"
            },
            "permission": "Admin",
            "is_archived": false,
            "change_permission": true
        },
    ]
}

Project Member List

POST {{ base_url }} /projects/member/list/{level}/{sid}/{serializer}/

Path Parameters

NameTypeDescription

level

string

organization

sid

string

organization sid

serializer

string

Query Parameters

NameTypeDescription

project__sid

string

Headers

NameTypeDescription

token

string

Request Body

NameTypeDescription

member

array

team

array

permission

string

is_archived

string

{
    "sid": "xxx",
    "name": "xxx",
    "team": null,
    "personnel": {
        "sid": "xxx",
        "name": "xxx"
    },
    "project": {
        "sid": "xxx",
        "name": "xxx"
    },
    "permission": "Admin",
    "is_archived": false,
    "change_permission": true
}

Project Member Detail

GET {{ base_url }} /projects/projectmember/detail/{sid}/

Path Parameters

NameTypeDescription

sid

string

Headers

NameTypeDescription

token

string

{
    "sid": "xxx",
    "name": "xxx",
    "team": null,
    "personnel": {
        "sid": "xxx",
        "name": "xxx"
    },
    "project": {
        "sid": "xxx",
        "name": "xxx"
    },
    "permission": "Admin",
    "is_archived": false,
    "change_permission": true
}

Project Member Detail

PATCH {{ base_url }} /projects/projectmember/detail/{sid}/

Path Parameters

NameTypeDescription

sid

string

Headers

NameTypeDescription

token

string

Request Body

NameTypeDescription

team

object

member

object

permission

string

is_archived

boolean

{
    "sid": "xxx",
    "name": "xxx",
    "team": null,
    "personnel": {
        "sid": "xxx",
        "name": "xxx"
    },
    "project": {
        "sid": "xxx",
        "name": "xxx"
    },
    "permission": "Admin",
    "is_archived": false,
    "change_permission": true
}

Project Member Detail

DELETE {{ base_url }} /projects/projectmember/detail/{sid}/

Path Parameters

NameTypeDescription

sid

string

Headers

NameTypeDescription

token

string

{}

Last updated