X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/68438af4765de8fad80a4a770d9bafeb615aa6c0..722f1ed7b126c6f20026647a8457b54da5471759:/sdk/go/arvados/api.go diff --git a/sdk/go/arvados/api.go b/sdk/go/arvados/api.go index a1c7906803..ebf44a8222 100644 --- a/sdk/go/arvados/api.go +++ b/sdk/go/arvados/api.go @@ -16,6 +16,8 @@ var ( EndpointCollectionUpdate = APIEndpoint{"PATCH", "arvados/v1/collections/:uuid", "collection"} EndpointCollectionGet = APIEndpoint{"GET", "arvados/v1/collections/:uuid", ""} EndpointCollectionList = APIEndpoint{"GET", "arvados/v1/collections", ""} + EndpointCollectionProvenance = APIEndpoint{"GET", "arvados/v1/collections/:uuid/provenance", ""} + EndpointCollectionUsedBy = APIEndpoint{"GET", "arvados/v1/collections/:uuid/used_by", ""} EndpointCollectionDelete = APIEndpoint{"DELETE", "arvados/v1/collections/:uuid", ""} EndpointSpecimenCreate = APIEndpoint{"POST", "arvados/v1/specimens", "specimen"} EndpointSpecimenUpdate = APIEndpoint{"PATCH", "arvados/v1/specimens/:uuid", "specimen"} @@ -38,11 +40,16 @@ type GetOptions struct { } type ListOptions struct { - Select []string `json:"select"` - Filters []Filter `json:"filters"` - Limit int `json:"limit"` - Offset int `json:"offset"` - Order string `json:"order"` + Select []string `json:"select"` + Filters []Filter `json:"filters"` + Where map[string]interface{} `json:"where"` + Limit int `json:"limit"` + Offset int `json:"offset"` + Order []string `json:"order"` + Distinct bool `json:"distinct"` + Count string `json:"count"` + IncludeTrash bool `json:"include_trash"` + IncludeOldVersions bool `json:"include_old_versions"` } type CreateOptions struct {