op
This topic explains how the operation parameter is used in Agility.
Overview
The Operation op
parameter calls an action for a single asset. For example, to delete an asset you must execute the Delete
operation on the target asset. When executing an operation, a request must be an HTTP POST.
rest-1 URL Syntax
In rest-1.v1/Data and rest-1.oauth.v1/Data, the op
parameter is a URL query parameter. The following shows how the op
is expressed in the query.
<Server Base URI>/rest.v1/Data/Story/1022?op=Inactivate
The above query should be sent with an empty, 0-byte request.
query.v1 Syntax
Since query.v1 and query.legacy.v1 are read-only, execution of operations is not permitted.