...
Modifications to the current Entity API
The following table describes how provenance effects the current Entity CRUD API:
...
The following are new suffixes on the Entity services for Provenance.
URL | HTTP Type | Description |
---|---|---|
/entity/{id}/generatedBy | GET | Returns the activity that generated the current version of the entity.
|
/entity/{id}/version/{versionNumber}/generatedBy | GET | Returns the activity that generated the specific version of the entity.
|
/entity/{id}/generatedBy?generatedBy={activityId} | PUT | Updates the activity that generated the current version of the entity. Outside the transaction of entity CRUD.
|
/entity/{id}/generatedBy | DELETE | Removes the generatedBy connection from the current version of the entity. |
...