meta data search order

0 votes
I'm trying to retrieve assets by decsending order of creation date.

I was thinking to use the order option:

https://discovery.organicity.eu/v0/assets/metadata/search?query=urn:oc:entityType:image&order=DESC

and

https://discovery.organicity.eu/v0/assets?type=image&order=DESC

But it is not clear how to use it, how do I specify on which attribute value to order by.

I also tried to use the sort option:

https://discovery.organicity.eu/v0/assets?type=image&sort=last_updated_at&order=DESC

Moreover, for the above examples, I tried both order=DESC and order=ASC and got for both the same list order.

Can you please specifies if it is supported, and if so, what is the correct way to do it?

Thanks

Ida
asked Feb 5 by Ida

1 Answer

0 votes
Hi Ida,

I'm afraid that the ordering feature is not supported. Sorry for the late response and the inconveniences.

Best

Luis / Organicity team
answered Feb 26 by ldiez (1,590 points)
...