Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get deviceTypes front_image and rear_image from the API #18396

Open
Janl1 opened this issue Jan 15, 2025 · 0 comments
Open

Get deviceTypes front_image and rear_image from the API #18396

Janl1 opened this issue Jan 15, 2025 · 0 comments
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application

Comments

@Janl1
Copy link

Janl1 commented Jan 15, 2025

NetBox version

v4.2.1

Feature type

New functionality

Triage priority

N/A

Proposed functionality

Currently, I cannot retrieve the stored front_image and rear_image of a device type from the API. The API response from GET /api/dcim/device-types/ returns the URLs which are only accessible with a valid Netbox session but not with the API credentials.

If there isn't already a way to get the images with the API key, it would be nice to be able to do so.

Use case

Currently, providing the front_image and rear_image in the API response is a dead end, as it cannot be used. For a deeper integration into other systems it would be nice to be able to retrieve the stored images with a API token.

Database changes

No response

External dependencies

No response

@Janl1 Janl1 added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant