mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Update API tests
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: ChangeApplicationStatus
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
patch {
|
||||
url: http://localhost:3000/api/organizations/joboffers/applications/5
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"status": "ACCEPTED"
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: CreateApplication
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:3000/api/organizations/joboffers/1/applications
|
||||
body: none
|
||||
auth: none
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: DeleteApplication
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
delete {
|
||||
url: http://localhost:3000/api/organizations/joboffers/applications/6
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"jobApplicationId": 1
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: GetApplicantsByJobOffer
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3000/api/organizations/joboffers/1/applications
|
||||
body: json
|
||||
auth: none
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: GetApplicantsByOrganization
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3000/api/organizations/1/joboffers/applications
|
||||
body: json
|
||||
auth: none
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: GetMyApplications
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3000/api/organizations/joboffers/applications/mine
|
||||
body: none
|
||||
auth: none
|
||||
}
|
Reference in New Issue
Block a user