GET /v2/blocs/:bloc_id/squads_users
Return all the squads users of the given Bloc
live_help Notes
assignment
This action requires one of theses roles:
Advanced tutor
chrome_reader_mode
This resource is paginated by 30 items
settings Params
Param name | Description |
---|---|
bloc_id |
required
. Must be String
The bloc id |
sort |
optional
. Must be one of: id , squad_id , user_id , leader , validated , created_at , updated_at .
The sort field. Sorted by created_at desc, id desc by default. MoreExample:To sort on squads users on the fields created_at on a descending order and updated_at on a ascending order: ...&sort=-created_at,updated_at |
filter |
optional
. Must be one of: id , squad_id , user_id , leader , validated , created_at , updated_at .
Filtering on one or more fields MoreExample:
To filter on squads users with the
...&filter[id]=a_value,another_value Filterable fields:
|
page |
optional
. Must be a Hash
The pagination params, as a hash |
page[number] |
optional
. Must be Fixnum
The current page |
page[size] |
optional
. Must be Fixnum
The number of items per page, defaults to 30, maximum 100 |