Candidate
Information on candidate comments
Changed onget/candidate/{id}/comment
Request
- Base URLhttps://hurma.work/api/v1
- Authnone declared. Required headers: token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Ідентифікатор кандидата
Query parameters
pageinteger
per_pageinteger
Headers
tokenstring required
Api token
Response
ОК
Example response
{
"result": {
"current_page": 1,
"data": [
{
"text": "Some comment",
"author_id": 1,
"created_at": "2022-01-22 12:32:44",
"updated_at": "2022-01-23 12:00:00"
}
],
"first_page_url": "https://hurma.work/api/path?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://hurma.work/api/path?page=1",
"next_page_url": "https://hurma.work/api/path?page=1",
"path": "https://hurma.work/api/path",
"per_page": 12,
"to": 4,
"total": 4
},
"code": 200
}Changes
- breaking
added the new path request parameter
id - info
api operation id
aefc049cb90afbdb9297a071b56f6a6cwas added
- breaking