• Document Up to Date

Create Jobs

Create workflow jobs.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /studio, please prefix the API URLs with this context.

HTTP Verb
POST
URL
/api/1/services/api/1/workflow/create-jobs.json
Response Formats
JSON
Required Role
N/A

Parameters

Name
Type
Required
Description
site_id
String
Site to use
user
String
User executing request

Example

Request

POST .../api/1/services/api/1/workflow/create-jobs.json?site_id=mysite&user=test
1{
2    "sendEmail":true,
3    "schedule":"now",
4    "submissionComment":"",
5    "items":[
6        "/site/website/index.xml"
7    ]
8}

Response

Status 200 OK

{
    "status":200,
    "message":"An email notification has been sent to the team. Your content will be reviewed and (if approved) pushed live between 4PM EST and 6PM EST of the business day that the request was received. If this request is sent after business hours, it will be reviewed and (if approved) pushed live as soon as possible, the next business day.<br/><br/>If you need to make further revisions to this item, please re-submit this publish request after making them.<br/><br/>If this request needs immediate attention, please email the administrator.",
    "success":true,
    "item":null,
    "invalidateCache":false
}

Responses

Status
Location
Response Body
200

See example above.