Load user plugins from /plugins instead of data/plugins so site-specific scripts stay in git and workflows can reference plugin/joplin-api and plugin/send-sms. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
467 B
YAML
18 lines
467 B
YAML
name: Joplin get note
|
|
description: |
|
|
GET a Joplin note by id from joplin-api. Input (data): id (32-char hex).
|
|
Secret joplin_api_token (JOPLIN_API_TOKEN / API_KEYS). Returns the full note.
|
|
scripts:
|
|
- script: plugin/joplin-api
|
|
config:
|
|
url: http://10.8.0.6:3030/notes
|
|
method: GET
|
|
token: $SECRET_joplin_api_token
|
|
timeoutMs: 60000
|
|
triggers:
|
|
- type: workflow
|
|
- type: HTTP
|
|
method: POST
|
|
path: /dev-joplin-get-note
|
|
enabled: false
|