Skip to main content

 Services

Web services from /about to /webhooks

Create publication version

/members/{member}/groups/{group}/publications/{publicationid}/versions [POST]

Description

Versions all documents in a publication.

Starting at publication root URI, adds versions to all xref target URIs (except when xref type="none" ). If xref type="embed" or type="transclude" with a PSML target URI, it recursively processes the target URI’s xrefs as well (if target is a fragment, it only follows xrefs for that fragment).

Invoking this service starts an Asynchronous process.

Parameters

NameDescriptionRequiredTypeDefault value
descriptionThe version contentnostring
labelsGeneral labels for comment (e.g. Important, Typo)nolabels
nameThe version number or nameyesstring
notifySend notification flag, e.g. silent, normal, announcenostringsilent
notify-asyncWhether emails are sent asynchronously (for slow email servers)nobooleanfalse

Permission

Requires approver in the group of the publication root document.

Response

<version-creation>
  <thread id="123" ...>[thread XML]</thread>
</version-creation>

Error Handling

Error codes
CodeCause / Description
0x122EThe labels parameter is invalid
0x123EPublication not found
0x1245A version name is required
0x1246Version name cannot be 'original' or 'current' or more than 250 characters
0x1331The notify parameter is invalid
Created on , last edited on