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

Have API pull out the most recent record only #23

Closed
lheisler opened this issue Aug 17, 2018 · 1 comment
Closed

Have API pull out the most recent record only #23

lheisler opened this issue Aug 17, 2018 · 1 comment

Comments

@lheisler
Copy link

I have a perl script to work with Nabu, can could implement this feature there, but if not difficult, it would be nice to put this functionality in the api call.

Often we just want to know the current status for a project. We can only get this now by looking at the timestamps for all records associated with a swid. Would it be possible to add a argument to the api call that would do this on the server side.

Alternately, it would also be helpful if the most recent record was explicitly marked. Perhaps another binary field to flag the most recent.

@callunity
Copy link
Collaborator

I've updated Nabu to pull out only the most recent FileQC by default. This works on both the GET /fileqcs and GET /fileqc/ endpoints. If for some reason you want to get all of the FileQCs, just add the query parameter ?showall=true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants