Code | Description |
---|---|
401 | Unauthorized |
403 | Forbidden |
404 | Project Not Found. |
Param name | Description |
---|---|
project_id required |
Project ID Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
403 | Forbidden |
404 | Project Not Found. |
422 | Unprocessable Participant. |
POST /api/projects/59c241dba83dc1219d4f29f1/participants { "roles": [ "writer" ], "user_id": "59c241daa83dc1219d4f29ee", "participant": { "roles": [ "writer" ], "user_id": "59c241daa83dc1219d4f29ee" } } 201
Param name | Description |
---|---|
project_id required |
Project ID Validations:
|
participant required |
Participant parameter container Validations:
|
participant[user_id] required |
User ID Validations:
|
participant[roles] optional |
Roles of user Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
403 | Forbidden |
404 | Participant / Project Not Found. |
422 | Unprocessable Participant. |
Param name | Description |
---|---|
project_id required |
Project ID Validations:
|
id required |
Participant ID Validations:
|
participant required |
Participant parameter container Validations:
|
participant[roles] optional |
Roles of user Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
403 | Forbidden |
404 | Project Not Found. |
404 | Participant Not Found. |
422 | Unprocessable Participant. |
Param name | Description |
---|---|
project_id required |
Project ID Validations:
|
id required |
Participant ID Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
403 | Forbidden |
404 | Project Not Found. |
404 | Participant Not Found. |
422 | Unprocessable Participant. |
Param name | Description |
---|---|
project_id required |
Project ID Validations:
|
id required |
Participant ID Validations:
|