Sign in

Update attachment widget

documented

Update an existing Attachment widget on a page.

POST /api/v1/page/{page_id}/attachment/update/{widget_id}/Pagesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.papyrs.com/v1/page/{{$page_id}}/attachment/update/{{$widget_id}}/" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"attachment_id": "{{$attachment_id}}", "title": "{{$title}}", "description": "{{$description}}", "content_type": "{{$content_type}}", "data": "{{$data}}"}'