Jump to content

REST API: Set record_publish_date


Recommended Posts

Posted (edited)

I post a record through API:

{{base_url}}api/cms/records/45/?author=1&fields[208]=Title&fields[209]=Content&date=2024-05-10T22:34:28Z

The date is ignored.

Edited by Sonya*
Link to comment
Share on other sites

Posted (edited)

Edit: the date is not ignored. It is saved to:

  • record_saved
  • record_updated
  • record_last_comment
  • record_last_review

However, the field record_publish_date does not respect this date and is automatically set to the current datetime.

Question: is there any way to set record_publish_date for a record via REST API?

Edited by Sonya*
Link to comment
Share on other sites

  • Sonya* changed the title to REST API: Set record_publish_date
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...