0

I have created an api that filter out unixtime format. Currently, we can filter using

/api/blogs?filter[created][value]=1426766400&filter[created][operator]=">="&api_key=DEMO_KEY

That will show us a filter of the unixtime format.

However, we are switching to an date_iso8601 format

We want to be able to filter using the date_iso8601 format to filter 2015-10-23T23:10:28-04:00 or partial date 2015-10-23. Is this possible?

  • 1
    What are you using as API server? D8, services, RESTws, RESTful? – Neograph734 Apr 20 '16 at 18:14
  • We are using RESTful. – Harry L Respass Apr 21 '16 at 12:11
0

the following fixed my issue

api/blogs?filter[updated][value]=2016-04-07T09:55:00-04:00&filter[updated][operator]=">="&api_key=DEMO_KEY

Happy programming.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.