GET : List Contracts
This endpoint lets you retrieve all contracts use throughout Piloty
All Contracts elements
GET
https://api.piloty.fr/contracts
{
"total": 121,
"data":[
{
"id": "627d16c172f9aba0dccfb00d",
"name": "Apprenticeship",
"ref": "apprenticeship",
"content": {
"translation": {
"en": "Apprenticeship",
"fr": "Alternance"
}
}
},
{
"id": "627d176572f9aba0dccfd39f",
"name": "Fixed-term Contract",
"ref": "fixed_term"
"content": {
"translation": {
"en": "Fixed-term Contract",
"fr": "CDD"
}
}
},
{...},
]
}
Request example
curl -X GET -G "https://api-piloty.fr/contracts" \
-H "Authorization: Bearer PILOTY_TOKEN" \
Last updated