Hi!

Acoording to https://docs.gitlab.com/ce/api/builds.html,
we can pass an array of strings as an attribute 'scope' to
Gitlab APIs (List project builds, List commit builds).

But I don't know how to pass an array as a 'scope'.


200 OK: https://gitlab.com/api/v3/projects/xxxxxxx/builds?scope=success
200 OK: https://gitlab.com/api/v3/projects/xxxxxxx/builds?scope=failed
400 Bad Request: 
https://gitlab.com/api/v3/projects/xxxxxxx/builds?scope=success,failed
400 Bad Request: 
https://gitlab.com/api/v3/projects/xxxxxxx/builds?scope%5B%5D=success
400 Bad Request: 
https://gitlab.com/api/v3/projects/xxxxxxx/builds?scope%5B%5D=success&scope%5B%5D=failed

200 OK: 
https://gitlab.com/api/v3/projects/xxxxxxx/builds?scope=success&scope=failed
But only 'failed' builds, no 'success' builds

Please, describe some examples in the documents. They'd be useful.

Thank you, in advance.
--
Lemures Lemniscati

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/20161009143508.914E.50F79699%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to