This page is about an old version of Active Collab that's not developed anymore.
Click here to open the documentation for the latest version.

Shared Resource: State Related Commands

These commands enable you to control the state of the parent object.

{context}/archive #

This command moves the parent object to the Archive. If successful, the system will describe object that was moved to archive. Objects that can be archived are Projects, Tasks, Milestones, Files, Discussions and Notebooks.

Method: POST

Example request:

1
submitted = submitted

{context}/unarchive #

This command restores a specific object from the Archive. If successful, the system will return the object details.

Method: POST

Example request:

1
submitted = submitted

{context}/trash #

This command moves the parent object to the Trash. If successful, the system will return the object details.

Method: POST

Example request:

1
submitted = submitted

{context}/untrash #

This command restores a specific object from the Trash. If successful, the system will return the object details.

Method: POST

Example request:

1
submitted = submitted