Job curation web server
The web server is accessible via host:
Create a new job posting
field |
type |
description |
page |
string |
|
approval_status |
string |
pending, approved, spam |
code |
description |
200 |
success |
{
"jobs": [
{
"id": 1,
"title": "Job name here",
"company": "Backend Engineer",
...
},
...
]
}
code |
description |
400 |
check error message |
{
"message": "error message here"
}
Create a new job posting
field |
type |
description |
jobId |
string |
|
code |
description |
200 |
success |
{
{
"id": 1,
"title": "Job name here",
"company": "Backend Engineer",
...
}
}
code |
description |
400 |
check error message |
{
"message": "error message here"
}
Create a new job posting
Parameter content type: application/json
field |
type |
description |
title |
json |
job title |
company |
string |
name of the company |
Example Body
{
"title": "Job name here",
"company": "Backend Engineer"
}
code |
description |
200 |
success |
{
"jobId": "job_123123"
}
code |
description |
400 |
job not created, check error message |
{
"message": "error message here"
}
GET api/mods/approve/:jobId
Approve a job posting
field |
type |
description |
authKey |
string |
base-64 encoded jwt with 48-hour expiry |
code |
description |
200 |
success |
400 |
request failed |
{
"message": "error message here"
}
GET api/mods/mark-as-spam/:jobId
Mark as spam job posting
field |
type |
description |
authKey |
string |
base-64 encoded jwt with 48-hour expiry |
code |
description |
200 |
success |
400 |
request failed |
{
"message": "error message here"
}