Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Please fully document the squad api and the filters #90

Open
jscook2345 opened this issue Nov 20, 2020 · 4 comments
Open

Please fully document the squad api and the filters #90

jscook2345 opened this issue Nov 20, 2020 · 4 comments
Assignees

Comments

@jscook2345
Copy link
Contributor

If we can better understand the squad api and the filters available we can more easily query large amounts of resources using command-line programs instead of writing lots little squad-client based scripts.

@jscook2345
Copy link
Contributor Author

cc: @amrohassaan

This is from our discussion earlier in our Google Hang Out.

I think we can avoid creating a new command in squad-client if we can better understand how to query the api with other tools like curl. This would allow us to not have to write a lot of one-off scripts to complete CI tasks within our pipelines.

@amrohassaan
Copy link
Contributor

@jscook2345 thank you for creating this one issue and clarifying on #72 .
I've started rewriting the squad docs last week and it will be an incremental ongoing progress.
The pr is Linaro/squad#905
I think we probably will need to have dedicated section for filtering under the 'api' item.

@jscook2345
Copy link
Contributor Author

@amrohassaan

For an example, I am partial do what id being done here: https://metacpan.org/pod/Pithub::Repos

Note that it is has both the api variables, but also a code-based example. Perhaps good for testing as well as docs?

@jscook2345
Copy link
Contributor Author

PS, I'm happy to help add the code examples after the API examples are pushed up. More than happy to help! Thanks again!

@chaws chaws mentioned this issue Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants