latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Page Widgets

Update a page widget

Updates a widget on a draft page revision. PUT semantics: all mutable fields must be provided. Returns the updated widget.

put/pages/{pageId}/revisions/{revisionId}/widgets/{widgetId}

Path parameters

pageIdstring required

The ID of the Page

revisionIdstring required

The ID of the Revision

widgetIdstring required

The ID of the Widget

Request body

OR
OR
OR
OR
OR

Response

Example response

{
  "data": {
    "id": "hUI7y6YGKMuZBMDLJc5Kdw",
    "taskId": "hUI7y6YGKMuZBMDLJc5Kdw",
    "createdBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "links": [
      {
        "href": "https://api.process.st/api/v1.1/resource/XXX"
      }
    ]
  },
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}