Open Semantic Framework PHP API 3.0
Revision Delete Query to a OSF Revision Delete web service endpoint. More...
|__construct ($network, $appID, $apiKey, $userID)|
|Specifies the URI of the revision record to delete. More...|
|Specifies the dataset URI where the record is indexed. More...|
Revision Delete Query to a OSF Revision Delete web service endpoint.
The Revision: Delete web service endpoint deletes a revision of a record. It cannot delete a published revision. If a published revision needs to be deleted, then it needs to be updated such that the published stage is remove before being able to delete it or to use the CRUD: Delete (soft) web service endpoint.
Here is a code example of how this class can be used by developers:
|mixed||$network||OSF network where to send this query. Ex: http://localhost/ws/|
|mixed||$appID||The Application ID of the instance instance to key. The APP-ID is related to the API-KEY|
|mixed||$apiKey||The API Key of the OSF web service endpoints|
|mixed||$userID||The ID of the user that is doing the query|
Specifies the dataset URI where the record is indexed.
|$dataset||The dataset URI where the record is indexed. This is the URI of the dataset, and not the URI of the revisions dataset.|
Specifies the URI of the revision record to delete.
This URI can be found using the RevisionUpdateQuery() call.
|$uri||URI of the revision record to delete|