API Pages PUT removes HTML #2332

Closed
opened 2026-02-05 03:42:25 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @mattstanyon-tall on GitHub (Jul 27, 2021).

Sending a PUT to the pages endpoint results in existing HTML data being removed.

PUT https://bookstack.com/api/pages/123
BODY
{
"tags": [
{"name": "My Tag", "value": "Draft"}
]
}

Expected behavior
It's expected only the tags get updated.

Your Configuration (please complete the following information):

  • 21.05.3
  • PHP Version: 8
  • Hosting Method (Nginx/Apache/Docker): Apache
Originally created by @mattstanyon-tall on GitHub (Jul 27, 2021). Sending a PUT to the pages endpoint results in existing HTML data being removed. PUT https://bookstack.com/api/pages/123 BODY { "tags": [ {"name": "My Tag", "value": "Draft"} ] } **Expected behavior** It's expected only the tags get updated. **Your Configuration (please complete the following information):** - 21.05.3 - PHP Version: 8 - Hosting Method (Nginx/Apache/Docker): Apache
OVERLORD added the 🐛 Bug🏭 Back-End🔍 Pending Validation labels 2026-02-05 03:42:25 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jul 27, 2021):

Thanks for reporting @mattstanyon-tall,
Have assigned to be confirmed and patched for the next feature release.

@ssddanbrown commented on GitHub (Jul 27, 2021): Thanks for reporting @mattstanyon-tall, Have assigned to be confirmed and patched for the next feature release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2332