Mashups

Change the sections of a mashup

Positions left out keep their plugin setting.

patch/api/mashups/{id}

Request

  • Base URL: https://trmnl.com
  • URL: https://trmnl.com/api/mashups/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Mashup id

Request body

contentsobject

Plugin setting id by position

health_notification_enabledboolean

Response

Updated

Example response

{
  "data": {
    "id": 1,
    "layout": "1Lx1R",
    "positions": [
      "a",
      "b"
    ],
    "contents": {
      "a": 1,
      "b": 2
    },
    "health_notification_enabled": true,
    "created_at": "2023-10-01T12:00:00Z",
    "updated_at": "2023-10-01T12:00:00Z"
  }
}

Changes

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