Closed cowmanjoe closed 5 years ago
One problem I see with this change is that there isn't a POST call for just a Job as we have defined it, only for ZipRecruiter job objects. Do you guys think we need to implement this now, or should it be a different ticket? Also, should the name of this endpoint be different since it is specific to ZipRecruiter? Maybe in the future I could implement it so that there is a field in the request that specifies what kind of schema (i.e. ZipRecruiter, our schema, Indeed).
@cowmanjoe would it make more sense for postJob to take in a generic job and expect the conversion to be done by the data acquisition part instead instead?
@sherry I think I agree about posting jobs as our job schema rather than ZipRecruiter's
🔨 Changes
POST/job
for posting a single ZipRecruiter job, andPOST/jobs
for posting an array of themDELETE/job
for deleting a job by idGET/job
for getting a job by id:squirrel: Testing instructions
EDIT: these were old instructions after 1 before Swagger support, leaving them here in case you want to use them for whatever reason.
data_acquisition/sample_response.json
and putting it in the request body as JSONdata_acquisition/sample_response.json
and putting it in the request body as JSON:clipboard: Checklist