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

Add search parameters to GET /logs #236

Closed
bfabio opened this issue Apr 4, 2024 · 4 comments · Fixed by #237
Closed

Add search parameters to GET /logs #236

bfabio opened this issue Apr 4, 2024 · 4 comments · Fixed by #237
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bfabio
Copy link
Member

bfabio commented Apr 4, 2024

Add a search parameters to GET /logs, so consumers can search for errors or repos in the logs.

@bfabio bfabio added enhancement New feature or request good first issue Good for newcomers labels Apr 4, 2024
@nesangcode
Copy link
Contributor

What kind of errors that you want consumers can search for? Error message?

@bfabio
Copy link
Member Author

bfabio commented Apr 5, 2024

@k124k3n the Log resource has a message field which is typically the output of our software crawler. It's a generic message, so you can find error messages or just plain informational logs in there.

A text search in that field would be enough, as consumer could search for anything they need, often times it's just about searching for all logs regarding a certain repository, which again would be listed in message.

For reference: https://api.developers.italia.it/v1/logs

@nesangcode
Copy link
Contributor

nesangcode commented Apr 5, 2024

@bfabio Thank you. I can work on it.

@bfabio
Copy link
Member Author

bfabio commented Apr 5, 2024

@k124k3n that's great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants