You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add GET support to GET /customers/{c}/allImages that returns paginated Hydra collection of images.
This supports the following query parameters:
?q= for AssetQuery syntax as outlined in asset-query wip docs. E.g. ?q={"string1":"my-val"}
Space, String1-3, Number1-3 are already supported (see below)
Add support for filtering by Manifests?q={"manifests":["manifest-a","manifest-b"]} (note that Asset gains "manifests" column #950 added 'manifests' with GIN index so queries should ensure they use this)
?page= and ?pageSize= for pagination
?orderBy= and ?orderByDescending= for ordering
Handling already supported, stick to existing fields
Prior Art
There is already AssetQuery support on GET /customers/{c}/spaces/{s}/images, see
See RFC-019 for more info.
Add GET support to
GET /customers/{c}/allImages
that returns paginated Hydra collection of images.This supports the following query parameters:
?q=
forAssetQuery
syntax as outlined in asset-query wip docs. E.g.?q={"string1":"my-val"}
Space
,String1-3
,Number1-3
are already supported (see below)Manifests
?q={"manifests":["manifest-a","manifest-b"]}
(note that Asset gains "manifests" column #950 added 'manifests' with GIN index so queries should ensure they use this)?page=
and?pageSize=
for pagination?orderBy=
and?orderByDescending=
for orderingPrior Art
There is already
AssetQuery
support onGET /customers/{c}/spaces/{s}/images
, seeprotagonist/src/protagonist/API/Features/Image/ImagesController.cs
Line 63 in 15d0747
The model containing supported filters is:
protagonist/src/protagonist/DLCS.Model/Assets/AssetFilter.cs
Line 3 in 15d0747
With handling logic in
AssetQueryX
:protagonist/src/protagonist/DLCS.Repository/Assets/AssetQueryX.cs
Line 14 in 751a7dd
The following interfaces relate to above behaviour, applied to Mediatr requests:
IAssetFilterableRequest
,IPagedRequest
,IOrderableRequest
The text was updated successfully, but these errors were encountered: