+

Search Tips   |   Advanced Search

Use REST with projects

We can use the REST services for Web Content Manager to create and work with projects.


Create a project

To create a project, issue a POST request containing the appropriate data to the following URI.

For example:


Read a project

To read a project, issue a GET request containing the appropriate data to the following URI.

For example:


Delete a project

To delete a project, issue a DELETE request containing the appropriate data to the following URI.

For example:


Update a project

To update a project, issue a PUT request containing the appropriate data to the following URI.

For example:

<


Add an item to a project

To add an item to a project, update the item using a PUT request specifying a link with relation "project" specifying the project to add the item to. For example:

<

If using REST inside a Portal project context, posting to the create-draft link relation will create the draft in a project.


Remove an item from a project

To remove an item from a project, update the item using a PUT request without specifying the project link relation. For example:


Submit a project for review

Editors of a project can submit a project for review by issuing a POST request containing the appropriate data to the following URI:

<

For example:


Withdraw a project from review

Editors of a project can withdraw a project from review by issuing a POST request containing the appropriate data to the following URI:

For example:

When withdrawn, the project returns to an active state.


Approve a project

Approvers of a project can approve a project by issuing a POST request containing the appropriate data to the following URI:

For example:

When approved, the project is ready to be published.


Reject a project

Approvers of a project can reject project approval by issuing a POST request containing the appropriate data to the following URI:

For example:

When rejected, the project returns to an active state.


Withdraw approval for a project

Approvers of a project can withdraw approval for a project by issuing a POST request containing the appropriate data to the following URI:

For example:

Withdrawing approval does not change the state of the project, which remains in review.


Parent: Work with web content items using REST