Okapi Okapi

DatoCMS Content Management API PUT /items/publish endpoint removal

Stopped workingSubscribe to DatoCMS Content Management APIShare

Calls to PUT /items/publish on DatoCMS Content Management API stopped working on March 10, 2025.


Calls it hits

  • PUT /items/publish

What to use instead of these calls

Use POST /items/bulk/publish (bulk_publish) instead.

In DatoCMS Content Management API's words

Starting March 10th, 2025, our legacy batch operation endpoints — which have been deprecated for years — will be discontinued and will return error responses.

DatoCMS Content Management API, Announcement

Facts

API
DatoCMS Content Management API site-api.datocms.com
Kind
Endpoint removal
Announced
January 7, 2025
Takes effect
March 10, 2025
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against DatoCMS Content Management API's own pages

Questions

When does this change take effect?

Calls to PUT /items/publish on DatoCMS Content Management API stopped working on March 10, 2025.

What happens to calls after March 10, 2025?

They have failed since March 10, 2025.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from DatoCMS Content Management API 4

  1. DELETE /itemsEndpoint removal Stopped working
  2. PUT /items/unpublishEndpoint removal Stopped working
  3. DELETE /uploads/batch-destroyEndpoint removal Stopped working
  4. PUT /uploads/batch-add-tagsEndpoint removal Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to DatoCMS Content Management API

Hear about each breaking change DatoCMS Content Management API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • DatoCMS Content Management API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.