Skip to content

Publish

Kevin Obee edited this page Oct 11, 2013 · 1 revision

This command allows remote publishing jobs to be triggered.

Details

Issue a POST request to /services/publish/{mode} where {mode} is

  • full
  • smart
  • incremental

The publishing source, targets and languages can be specified as form parameters. These will default to master, web and en respecitely if not present in the form-data.

Example:

POST /services/publish/full HTTP/1.1
Host: shiptester
Cache-Control: no-cache

----WebKitFormBoundaryE19zNvXGzXaLvS5C
Content-Disposition: form-data; name="source"

master
----WebKitFormBoundaryE19zNvXGzXaLvS5C
Content-Disposition: form-data; name="targets"

web, target2
----WebKitFormBoundaryE19zNvXGzXaLvS5C
Content-Disposition: form-data; name="languages"

en, da, de-DE
----WebKitFormBoundaryE19zNvXGzXaLvS5C

Issue a GET request to /services/publish/lastcompleted/{source}/{target}/{language} to review the timestamp of the last publish operation. The {source}, {target} and {language} parameters are optional and will default to master, web and en respectively if not specified in the request.

Clone this wiki locally