New API endpoints for managing content at scale

Published on April 6, 2021

New API endpoints for managing content at scale

As our customers use Contentful to power expansive online properties and build ambitious digital experiences, we evolve our platform to enable developers to effectively manage and publish content at scale. This product release adds new endpoints to the Content Management API (CMA) ensuring quicker turnaround times and improved developer productivity.

Three new API endpoints let you do more at once

  • The bulk actions endpoint lets developers publish, unpublish and validate a large content collection with a single API call

  • The releases endpoint lets developers validate and schedule a large content collection to be published or unpublished with a single API call. 

  • The references endpoint returns a tree of child references of the given entry with a single call.

The bulk actions and releases endpoints abstract the sequential process of publishing entries by batching individual operations into an asynchronous job capable of handling up to 200 items at a time. 

The benefit of executing write operations in batches is quicker turnaround times. Publishing 200 entries one by one takes around 20 seconds. With no network latency and API rate limits to contend with, the bulk actions endpoint can accomplish the same task in less than half of the time. 

Batching individual operations also has the benefit of eliminating ambiguous outcomes. When a collection of entries is sent to the bulk actions or releases endpoints, the developers can be confident that either the collection will be published in its entirety or not published at all. 

Stay in control by validating entries 

And while we are on the topic of errors, both bulk actions or releases endpoints offer support for validating selected entries before sending them for immediate publishing or scheduling a later release. Developers can use this action to quickly identify invalid entries and take a remedial action.

The references endpoint complements the other two endpoints by allowing developers to instantly fetch the tree of child entries referenced by the given entry. This is useful when developers need to orchestrate content collections with confidence. 

See the API endpoints in action

The new API endpoints have been hard at work from day one. They power the reference view, found in the entry editor on the paid plans, and enable key features in the freshly released Compose + Launch apps. Having had the benefit of using these API endpoints ourselves, we are very excited about the types of workflows they will enable next.

Our early access program participants highlighted two popular use cases that benefited from the new API endpoints and the web functionality they enable. The first one is running promotional campaigns and doing big product launches, since both require lots of pages to go live (and be retired) at the same time. The second one is doing programmatic SEO, that is, generating thousands of landing pages targeting long-tail keywords. To do so, customers need a way to automate page creation.

We hope that the new API endpoints will enable our customers to accomplish a wide range of tasks — from running faster migrations and scaling programmatic workflows, to providing useful insights and building powerful apps. The endpoints are available on all current plans and space types. To learn more, visit the CMA reference section. 

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

Meet the authors

Smith Louis

Smith Louis

Senior Product Manager, Choco

Smith was as a product manager at Contentful. He has a proven track record in delivering digital products for content management systems, streaming music, API platforms and financial technology.

Vlad Laktionov

Vlad Laktionov

Engineering Manager, Babbel

Vlad works as a quality assurance automation engineer at Contentful. He brings more than six years of experience in the IT field with a focus testing complex monitoring software and web-based and client-server software.

Related articles

We've boosted the performance of our GraphQL API with three new features: nested filtering, automatic persisted queries, and increased complexity limits.
News

New GraphQL API features: One call to rule them all

October 17, 2023

Announcing updates to the Contentful Composable Content Platform: content orchestration, Studio, new partner integrations, and App Framework enhancements.
News

Unlock the power of digital content with the Contentful Composable Content Platform

October 26, 2022

The Storylines Tour landed in Silicon Valley, where attendees shared their insights on brand storytelling and new ways for technology to enhance creativity.
News

Storylines Tour Silicon Valley: Be personal, be innovative, scale it up

October 13, 2023

Contentful Logo 2.5 Dark

Ready to start building?

Put everything you learned into action. Create and publish your content with Contentful — no credit card required.

Get started