Page Widgets

Create a page widget

Creates a widget on a draft page revision.

post/pages/{pageId}/revisions/{revisionId}/widgets

Path parameters

pageIdstring required

The ID of the Page

revisionIdstring required

The ID of the Revision

Request body

OR
OR
OR
OR
OR

Response

Example response

{
  "data": {
    "id": "rF3s_lvYztoINM9ANalOGw",
    "taskId": "rF3s_lvYztoINM9ANalOGw",
    "createdBy": {
      "id": "oU4EEGRPtELpR1x1YUJMeQ",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "oU4EEGRPtELpR1x1YUJMeQ",
      "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"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 4 revisions of this API.