Update API tests

This commit is contained in:
xfarrow
2025-06-12 10:12:51 +02:00
parent 0733415397
commit fd10337d14
18 changed files with 9 additions and 9 deletions

View File

@ -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"
}
}

View File

@ -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
}

View File

@ -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
}
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}