[PR #5860] [MERGED] API: Added endpoints for reading image data #6586

Closed
opened 2026-02-05 10:36:08 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5860
Author: @ssddanbrown
Created: 10/29/2025
Status: Merged
Merged: 10/31/2025
Merged by: @ssddanbrown

Base: developmentHead: api_image_data_endpoint


📝 Commits (1)

  • 02d024a API: Added endpoints for reading image data

📊 Changes

7 files changed (+126 additions, -3 deletions)

View changed files

📝 app/Config/filesystems.php (+1 -1)
📝 app/Uploads/Controllers/ImageGalleryApiController.php (+39 -1)
📝 app/Uploads/Image.php (+3 -1)
📝 app/Uploads/ImageService.php (+17 -0)
dev/api/requests/image-gallery-readDataForUrl.http (+1 -0)
📝 routes/api.php (+2 -0)
📝 tests/Api/ImageGalleryApiTest.php (+63 -0)

📄 Description

For #5519

Todo

  • Check all tests are passing
  • Run some manual tests

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/5860 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 10/29/2025 **Status:** ✅ Merged **Merged:** 10/31/2025 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `api_image_data_endpoint` --- ### 📝 Commits (1) - [`02d024a`](https://github.com/BookStackApp/BookStack/commit/02d024aa322e4cd7ef127e1c45940ba122e34eea) API: Added endpoints for reading image data ### 📊 Changes **7 files changed** (+126 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `app/Config/filesystems.php` (+1 -1) 📝 `app/Uploads/Controllers/ImageGalleryApiController.php` (+39 -1) 📝 `app/Uploads/Image.php` (+3 -1) 📝 `app/Uploads/ImageService.php` (+17 -0) ➕ `dev/api/requests/image-gallery-readDataForUrl.http` (+1 -0) 📝 `routes/api.php` (+2 -0) 📝 `tests/Api/ImageGalleryApiTest.php` (+63 -0) </details> ### 📄 Description For #5519 ### Todo - [x] Check all tests are passing - [x] Run some manual tests --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:36:08 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6586