Project

General

Profile

Actions

User story #5649

closed

Provide search methods through the API

Added by Lionel Le Folgoc over 9 years ago. Updated 7 months ago.

Status:
Resolved
Priority:
2
Assignee:
-
Category:
API
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
No

Description

Hi,

That would be great if the REST API could provide some search functions, for example hostname/ip search.
Right now it's a bit cumbersome to do that with the API: create a group with the searched hostname as regex, force group refresh, list nodes from the group and delete the group. Especially since two or three of these actions trigger a full policy regeneration...

Thanks.

Actions #1

Updated by Matthieu CERDA over 9 years ago

  • Category set to API
  • Status changed from New to 8
  • Assignee set to François ARMAND
  • Priority changed from N/A to 2

Looks like a good and useful use case to me too.

Giving this to FAR for evaluation :)

Thanks Lionel!

Actions #2

Updated by Benoît PECCATTE almost 9 years ago

  • Status changed from 8 to New
Actions #3

Updated by Benoît PECCATTE almost 8 years ago

  • Tracker changed from Bug to User story
  • Target version set to Ideas (not version specific)
Actions #4

Updated by François ARMAND about 6 years ago

  • Assignee deleted (François ARMAND)

You now (since 3.1 at least) have the possibility to get the full list of nodes with more fine grained level of details. With that and a post-processing with grep/jq, you can reach your goal.

Perhaps we could also open the quicksearh api for public use.

Actions #5

Updated by François ARMAND 7 months ago

  • Regression set to No

This is now (at least 7.0) supported, you can search on the list of nodes: https://docs.rudder.io/api/v/17/#tag/Nodes/operation/listAcceptedNodes

Actions #6

Updated by François ARMAND 7 months ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF