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

Expose tagged objects through REST api #17793

Open
LachTrip opened this issue Oct 16, 2024 · 1 comment
Open

Expose tagged objects through REST api #17793

LachTrip opened this issue Oct 16, 2024 · 1 comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application

Comments

@LachTrip
Copy link

LachTrip commented Oct 16, 2024

NetBox version

v4.1.1

Feature type

Data model extension

Triage priority

This is a very minor change

Proposed functionality

Add a new endpoint to get the list of the objects using a specific tag.

Use case

Looking up objects by their tags through the api currently requires numerous api calls to search through all object types. The underlying functionality exists as demonstrated by visiting the tag's display_url and looking under "Tagged Objects".

Database changes

N/A

External dependencies

N/A

@LachTrip LachTrip added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Oct 16, 2024
@davekempe
Copy link

This would be useful for us, as we can then easily hit the API to get a list of objects to work with. This enhances Netbox as a SoT - allowing other tools to easily get the 'next' list of things to work on.

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

2 participants