The Content API module is a drop-in solution that publishes all of your Drupal content as web APIs. The module includes a full featured administration interface for choosing which content types and fields to publish. Built on top of the Services module, the module provides all you need to publish web APIs without having to do any programming, even as your site structure and content changes over time.
The Content API module is completely dynamic. It will publish out new content as it is created in Drupal. Additionally, the module is integrated with CCK and will discover new fields as you add them. The Content API module provides granular permissions with seamless CCK integration.
The Content API infrastructure supports a full set of query parameters derived from the fields in each node type, allowing you to search by type, node ID, title, and author, or relationship (including taxonomy term). As new fields and content types are added to Drupal, the Content API module automatically exposes them as query parameters.
What can you do with content APIs?
Publishing your Drupal content as web APIs makes it accessible to any application or platform, while allowing you to continue leveraging Drupal’s strengths as a great Content Management System. Using Drupal and the Content API module, you can easily create a publishing platform that includes multiple websites, applications and mobile apps all using Drupal as a single source of content.
Getting up and running with the Content API module is easy
- Simply download the module below and install it on your system (note: you’ll need to install the Services module as well).
- Once installed, navigate to the ‘Content API’ section in the Drupal administration section, and select which content types you'd like to publish.
- Finally, select which fields you'd like to make available for each content type. That's it -your site content is now available via web APIs.
A Multitude of Drupal API Solutions
There are numerous projects which provide API access to content in a Drupal site. We've chosen to extend the Services framework due to its great flexibility.
Why choose Content API:
- For publishing site content in an API. Because the Content API is a plug-in publishing solution, of the CRUD operations only Read is supported (and Index). There is no support for Create, Update or Delete.
- Robust query interface. The Content API allows you to find content in a Drupal site. You don't have to know the resource id. For example you can get all "page" node types published between certain dates with a single, simple call.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content
- Reported installs: 196 sites currently report using this module. View usage statistics.
- Downloads: 10,571
- Last modified: December 2, 2014
- Stable releases are covered by the security advisory policy.
Look for the shield icon below.