-
Notifications
You must be signed in to change notification settings - Fork 0
Endpoints
Andrei Ungur edited this page Mar 25, 2019
·
15 revisions
The API can be found here: https://scrum-gang-job-applications.herokuapp.com/
-
Content-Type
:application/json
-
Authorization
:Bearer <auth_token>
Returns applications by USER ID
[
{
"application_id": 71,
"comment": "",
"company": "345",
"date": "2019-03-21 11:58:47.526299",
"date_posted": "",
"deadline": "",
"is_inhouse_posting": false,
"position": "345",
"resume": "",
"status": "asdasdasd",
"url": "345",
"user_id": "potato"
}
]
Returns applications by USER ID
and APPLICATION TYPE
("internal" or "external")
Same as the previous, just queried differently!
Returns applications by JOB ID
Same as the previous, just queried differently!
Returns applications by APPLICATION ID
Same as the previous, just queried differently!
Finds whether an application exists for a given user, based on a URL.
{"status": true}
-
id
: Job application ID -
new_status
: New status of the job application
[
{
"comment": "",
"date": "2019-03-21 13:06:54.830240",
"id": 73,
"is_inhouse_posting": true,
"resume": "asd",
"status": "Got the job boii",
"user_id": "potato"
}
]
-
id
: Job application ID -
new_comment
: New comment of the job application
[
{
"comment": "hyped to solve solutions.",
"date": "2019-03-22 03:46:39.338004",
"id": 2,
"is_inhouse_posting": false,
"resume": "",
"status": "Applied",
"user_id": "5c945a7f063dbc00179b0815"
}
]
-
id
: Job application ID
{
"status": "success"
}
-
job_id
: ID of the job the user is applying to -
resume
: Handy tool for applying to jobs -
comment
: Comment associated with your application
This returns all applications, regardless of internal or external.
[
{
"comment": "",
"date": "2019-03-21 13:06:54.830240",
"id": 73,
"is_inhouse_posting": true,
"resume": "asd",
"status": "Applied",
"user_id": "potato"
}
]
-
url
: URL of the external posting -
position
: Job position of the external posting -
comment
: Comment related to the tracked application -
company
: Company where job takes place -
resume
: Handy tool for applying to jobs -
date_posted
: When the application was posted -
deadline
: Deadline to apply for the job
[
{
"comment": "",
"date": "2019-03-21 23:10:15.739623",
"id": 36,
"is_inhouse_posting": false,
"resume": "",
"status": "Applied",
"user_id": "5c944a1c063dbc00179b0813"
}
]
-
application_id
: ID of the application to which the question maps to -
question
: Interview question -
title
: Title for the question
[
{
"application_id": 71,
"id": 17,
"question": "asdasd",
"title": "asdasd"
}
]
-
id
: Question ID -
new_question
: New question for that interview
{
"application_id": 71,
"id": 17,
"question": "bobbobobo",
"title": "asdasd"
}
[
{
"application_id": 71,
"id": 17,
"question": "bobbobobo",
"title": "asdasd"
}
]