Workbenches

Replace a workbench's content

Replaces the workbench's content (its durable data) with an object its kind checks. The view is untouched. A kind this build does not register answers unknown_kind. Mirrors workbench_update_content.

put/v1/workbenches/{id}/content

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/workbenches/{id}/content
  • Auth: HTTP bearer

Path parameters

idstring required

The workbench's Asset id (ast_<24 hex>).

Request body

contentobject required
expectedRevisioninteger

Response

The updated workbench

idstring required

The workbench's Asset id.

kindstring required

Namespaced kind id, such as piper.image.

projectIdstring required
namestring required
revisioninteger required

Write counter, 1 at creation, advanced by every change; compared with expectedRevision.

createdAtstring required
updatedAtstring required
contentobject required

The kind's durable data.

viewobject required

The kind's last-used working state.

Changes

No recorded changes to this operation across all 1 revision of this API.