[PR #19950] [CLOSED] Fixes: #19669 - Add an API endpoint to download image attachments #15768

Closed
opened 2025-12-30 00:23:56 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19950
Author: @DanSheps
Created: 7/24/2025
Status: Closed

Base: featureHead: fix-19669-api-image-download


📝 Commits (5)

📊 Changes

2 files changed (+47 additions, -0 deletions)

View changed files

📝 netbox/extras/api/views.py (+13 -0)
📝 netbox/extras/tests/test_api.py (+34 -0)

📄 Description

Fixes: #19669 - Add an API endpoint to download image attachments

  • Add a detailed API endpoint for downloading image attachment(s)

🔄 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/netbox-community/netbox/pull/19950 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 7/24/2025 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `fix-19669-api-image-download` --- ### 📝 Commits (5) - [`f48e1cb`](https://github.com/netbox-community/netbox/commit/f48e1cb534065f694273c8b943d778decf1ba154) Fixes: #19669 - Add an API endpoint to download image attachments - [`cf4db67`](https://github.com/netbox-community/netbox/commit/cf4db67e0ba02801707eac2d8dd0aede6c210149) Unblacken code - [`db80505`](https://github.com/netbox-community/netbox/commit/db805053d9b73ae11067dd6cd0faeb57cbdac177) Additional Unblackening - [`8fd8493`](https://github.com/netbox-community/netbox/commit/8fd8493d110b28a3421e130af99610c35af86291) Fix image path construction - [`ef7880a`](https://github.com/netbox-community/netbox/commit/ef7880a01376b1920c44d7de548186732ee98772) Add test ### 📊 Changes **2 files changed** (+47 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/views.py` (+13 -0) 📝 `netbox/extras/tests/test_api.py` (+34 -0) </details> ### 📄 Description ### Fixes: #19669 - Add an API endpoint to download image attachments * Add a detailed API endpoint for downloading image attachment(s) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:23:56 +01:00
adam closed this issue 2025-12-30 00:23:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15768