Plugin Settings
Create a new plugin setting
listPlugins gives the plugin_id to send here; getPlugin lists the fields to send updatePluginSettingFields next.
post/api/plugin_settings
Request
- Base URL: https://trmnl.com
- URL: https://trmnl.com/api/plugin_settings
- Auth: HTTP bearer
Request body
Example request
{
"name": "My Plugin Setting",
"plugin_id": 1
}Response
Success
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.