Retrieve the Published Copy of a Content Item
If
staging
is enabled then once a content item is published, it is effectively
duplicated: there now exist two copies of the content item: a
read-only published copy and an editable copy that exists in one of
the various draft states (draft
,
submitted
or approved
). If your
client application retrieves a content item using the standard content
item URL, as described in
Retrieve a Content Item, then it
will always be the editable draft copy that is retrieved. You can,
however, if required, retrieve the published copy by simply following
the link with the relation rel="working-copy-of"
.
For example:
<link href="http://host-ip-address/webservice/escenic/content/6/published" rel="working-copy-of"/>
The returned Atom entry will have the same structure as if the default
draft copy had been retrieved, but the state information in the
app:control
element will be different, and the
content in the vdf:payload
element may be different
if the content item has been modified since publication. The entry
will have a link with the relation
rel="working-copy"
that points back to the editable
copy.
The published copy of a content item is read-only: you cannot
PUT
(as described in
Change a Content Item) to a
working copy of
URI.