Skip to content

Media assets not reachable anymore through api requests since media requires Authentication #19669

@33Fraise33

Description

@33Fraise33

Deployment Type

Self-hosted

NetBox Version

since 4.1.7

Python Version

3.12

Steps to Reproduce

  1. Use the api to retrieve image attachments
  2. Try to retrieve the attachment by the url provided with the api key
  3. this gives a failure when LOGIN_REQUIRED is set to true - related to Fixes #17972: Force evaluation of LOGIN_REQUIRED when requesting static media #17990

Expected Behavior

Allow a way to retrieve an image by url with an API key.

Observed Behavior

an error occurs because the request is not authenticated.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtopic: OpenAPItype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions