Plugin Settings

Copy a plugin setting

Adds a new instance with the same settings and markup, named "[Copy] <name>", and answers it.

post/api/plugin_settings/{id}/copies

Request

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

Path parameters

idstring required

Plugin setting id or uuid

Response

The copy

Example response

{
  "data": {
    "id": 1,
    "name": "My Plugin Setting",
    "description": "Upcoming train departures",
    "plugin_id": 1,
    "refresh_interval": 60,
    "icon_url": "https://trmnl-public.s3.com/qwertyasdf",
    "icon_content_type": "image/png",
    "strategy": "webhook"
  }
}

Changes

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