Get Jobs

  • Path:
/job/getJobs
  • Type:
POST

Schemas

Request

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The device's token linked to the user that is linked to the wanted jobs"
    }
  },
  "required": [
    "token"
  ],
  "additionalProperties": false
}

Response

Pendant

Rules

  • This service will retreive all the jobs linked to the current Nido, and will group them in 3 categories:
  • Open
  • In course
  • Rate Pending
  • If device's token does not exist, return status code invalid_token
  • If device's token is not linked with a user, return status code unlinked_token