publishSourcedJobPostings
Publishes a job that is being held for review, making it visible to jobseekers. Use this when a
review found nothing to correct; a successful updateSourcedJobPostings already publishes the
job. Publishing is idempotent — a job that is not being held returns seatsPublished: 0. Only
one publish is allowed per call.
Arguments
input PublishSourcedJobPostingsInput! Required
publishes [PublishSourcedJobPostingInput!]! Required
Jobs to publish. Accepts one item.
employerJob EmployerJobIdentifierInput! Required
Employer job to publish.
Response
Returns PublishSourcedJobPostingsPayload .results [PublishSourcedJobPostingResult!]! Non-Null
Results for each publish.
sourcedPostingId ID! Non-Null
UUID form of the employer job ID.
employerJobId ID! Non-Null
Base64-encoded IRI of the employer job.
seatsPublished Int
Number of seats this call released.
0 means the job was not being held. That is a success, because publishing is idempotent.
If publish failed, the value is null. See the matching entry in errors.
Example
Query
mutation PublishSourcedJobPostings($input: PublishSourcedJobPostingsInput!) { jobsIngest { publishSourcedJobPostings(input: $input) { results { sourcedPostingId employerJobId seatsPublished } } }}Variables
{"input": PublishSourcedJobPostingsInput}Response
{ "data": { "jobsIngest": { "publishSourcedJobPostings": { "results": [PublishSourcedJobPostingResult] } } }}