Getting one state and status of build

Hey!
I want to get only build status and build state. Get request  `/app/rest/builds/<id>` return too much data
Can I use something like ``/app/rest/builds/<id>&fields=status,state`?
thanks

0
2 comments

Yes, but if you are using <id> directly, instead of with a locator, you will have to request the parameters with ?fields=, instead of &. such as:
/app/rest/builds/<id>?fields=status,state

1
Avatar
Permanently deleted user

Denis Lapuente
perfect, thanks

0

Please sign in to leave a comment.