I want to fetch the campaigns sorted by lastModified through REST API | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Sep 25, 2017 2:12 PM UTC

I am sure, yes.

Retrieve the assets and sort them client-side.

6 replies

SanfordWhiteman
Level 10
Sep 23, 2017 3:48 AM UTC

Why would you assume there are such parameters, as they're not in the docs/Swagger? You can't just invent an API....

Translate
Sep 25, 2017 7:32 AM UTC

Its not about inventing an API.

I didn't get much information in the docs/Swagger API, so asking here.

And these query parameters sort=last_modified&dir=DESC&direction=DESC were used from the UI portal. So thought of using for REST API as well. But didn't work.

Are you sure that the REST APIs doesn't provide any 'sort by' functionality as its not there in docs/Swagger ?

Translate
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Sep 25, 2017 2:12 PM UTC

I am sure, yes.

Retrieve the assets and sort them client-side.

Translate