Project and Candidates Membership

Add candidates to a project

Add candidates into a project.

Returns 204 no content if candidates are successfully added to the project.

If candidates are already in the project, a 400 error will be returned with errors containing information on the candidates already in the project in this shape:

{
    "code": 400,
    "errors": {
        "json": {
            "candidate_ids": [
                "string"
            ]
        }
    },
    "message": "Candidates with the ids are already in the project",
    "status": "Bad Request"
}
put/v0/projects/{project_id}/candidates

Request

  • Base URL
    https://api.gem.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.gem.com/v0/projects/{project_id}/candidates
  • Auth
    none declared

Request body

candidate_idsstring[] required
user_idstring ObjectID

User performing the update. If included, the user must have write access to the project.

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.