The Content API module is a drop-in solution that publishes 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 that is needed to publish web APIs without having to do any programming, even as 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 they are added. 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 Drupal content as web APIs makes it accessible to any application or platform, while allowing one to continue leveraging Drupal’s strengths as a Content Management System. Using Drupal and the Content API module, one can easily create a publishing platform that includes multiple websites, applications and mobile apps all using Drupal as a single source of content.
The Content API is used throughout FCC.gov, especially as a foundation for My.FCC.gov
. More information and the source code can be found on Drupal.org