Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL

HTTP Type

Description

/entity/{id}/generatedByGET

Returns the activity that generated the current version of the entity.

  • Error Codes
    • 404 - If the entity is not connected to an activity.
/entity/{id}/generatedBy?generatedBy={activityId}PUT

Updates the activity that generated the current version of the entity. Outside the transaction of entity CRUD.

  • Error Codes
    • 403 - Unauthorized assignment of activity. You must be the creator of the activity to connect it to an entity
    • 404 - If activityId is not found.
/entity/{id}/generatedByDELETE

Removes the generatedBy connection from the current version of the entity.

/entity/{id}/version/{versionNumber}/generatedByGET

Returns the activity that generated the specific version of the entity.

  • Error Codes
    • 404 - If that version of the entity is not connected to an activity.
/entity/{id}/version/{versionNumber}/generatedBy?generatedBy={activityId}PUT

Updates the activity that generated the specific version of the entity. Outside the transaction of entity CRUD.

  • Error Codes
    • 403 - Unauthorized assignment of activity. You must be the creator of the activity to connect it to an entity
    • 404 - If activityId is not found.
/entity/{id}/version/{versionNumber}/generatedByDELETE

Removes the generatedBy connection from the specific version of the entity.

...