Method |
Description |
|
copyContent ( mixed $contentId, Request $request ) : ResourceCreated |
Creates a new content object as copy under the given parent location given in the destination header. |
|
createContent ( Request $request ) : CreatedContent |
Creates a new content draft assigned to the authenticated user. |
|
createDraftFromCurrentVersion ( mixed $contentId ) : CreatedVersion |
The system creates a new draft version as a copy from the current version. |
|
createDraftFromVersion ( mixed $contentId, mixed $versionNumber ) : CreatedVersion |
The system creates a new draft version as a copy from the given version. |
|
createRelation ( mixed $contentId, integer $versionNumber, Request $request ) : CreatedRelation |
Creates a new relation of type COMMON for the given draft. |
|
createView ( ) : RestExecutedView |
Creates and executes a content view. |
|
deleteContent ( mixed $contentId ) : eZ\Publish\Core\REST\Server\Values\NoContent |
The content is deleted. If the content has locations (which is required in 4.x)
on delete all locations assigned the content object are deleted via delete subtree. |
|
deleteContentVersion ( mixed $contentId, mixed $versionNumber ) : eZ\Publish\Core\REST\Server\Values\NoContent |
The version is deleted. |
|
loadContent ( mixed $contentId, Request $request ) : RestContent |
Loads a content info, potentially with the current version embedded. |
|
loadContentInVersion ( mixed $contentId, integer $versionNumber, Request $request ) : Version |
Loads a specific version of a given content object. |
|
loadContentVersions ( mixed $contentId, Request $request ) : VersionList |
Returns a list of all versions of the content. This method does not
include fields and relations in the Version elements of the response. |
|
loadVersionRelation ( mixed $contentId, integer $versionNumber, mixed $relationId, Request $request ) : RestRelation |
Loads a relation for the given content object and version. |
|
loadVersionRelations ( mixed $contentId, mixed $versionNumber, Request $request ) : RelationList |
Loads the relations of the given version. |
|
publishVersion ( mixed $contentId, mixed $versionNumber ) : eZ\Publish\Core\REST\Server\Values\NoContent |
The content version is published. |
|
redirectContent ( Request $request ) : TemporaryRedirect |
Loads a content info by remote ID. |
|
redirectCurrentVersion ( mixed $contentId ) : TemporaryRedirect |
Loads a specific version of a given content object. |
|
redirectCurrentVersionRelations ( mixed $contentId ) : TemporaryRedirect |
Redirects to the relations of the current version. |
|
removeRelation ( mixed $contentId, integer $versionNumber, mixed $relationId, Request $request ) : eZ\Publish\Core\REST\Server\Values\NoContent |
Deletes a relation of the given draft. |
|
updateContentMetadata ( mixed $contentId, Request $request ) : RestContent |
Updates a content's metadata. |
|
updateVersion ( mixed $contentId, mixed $versionNumber, Request $request ) : Version |
A specific draft is updated. |
|