Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
type responseOptions struct {
Select []string
+ Count string
}
func (rtr *router) responseOptions(opts interface{}) (responseOptions, error) {
switch opts := opts.(type) {
case *arvados.GetOptions:
rOpts.Select = opts.Select
+ case *arvados.ListOptions:
+ rOpts.Select = opts.Select
+ rOpts.Count = opts.Count
}
return rOpts, nil
}
Limit int `json:"limit"`
Offset int `json:"offset"`
Order string `json:"order"`
+ Count string `json:"count"`
}
type CreateOptions struct {