Drupal.org API
Open Source Projectswww.drupal.org
Read-only REST access to Drupal.org's own content: project issues and releases, security advisories, case studies, forum and documentation nodes, user profiles, comments, files and taxonomy vocabularies from the Drupal Association's site.
Capabilities (6)
GET /v1/data/drupal/comments1 creditReturns the comments attached to a node, with comment id, subject, body, author, timestamps, parent thread and the node they belong to.
GET /v1/data/drupal/file1 creditReturns one file record: fid, filename, MIME type, size in bytes, public download URL, timestamp and owning user.
GET /v1/data/drupal/node1 creditReturns a single node by nid with its full body, author, timestamps, taxonomy terms, issue metadata and attached files.
GET /v1/data/drupal/nodes1 creditReturns Drupal.org nodes of one content type - project issues, project releases, security advisories, case studies, documentation pages - with title, body, author, timestamps, issue status and priority codes, and taxonomy references.
GET /v1/data/drupal/taxonomy-vocabularies1 creditReturns the taxonomy vocabularies used on Drupal.org with their vid, human name, machine name and description - the reference list for the term ids that appear on nodes.
GET /v1/data/drupal/users1 creditReturns Drupal.org user profiles: uid, name, status, created and access timestamps, organisation, industries and Drupal Association membership fields.
Licence
The Drupal.org Terms of Service split content from code: "Content, including user-generated content like comments and discussions (except for the code) on the Website is licensed under Creative Commons License, Attribution-ShareAlike 2.0 except where the content is shared from a third-party source where the license is cited (e.g. Drupal Planet). It is the user's responsibility to obtain appropriate licensing and attribution for content they post to the site. Content without appropriate licensing or attribution will be removed." And: "All code on Drupal.org is licensed under the GNU General Public License version 2 or later." The API returns content (issue text, comments, profiles) rather than code, so CC BY-SA 2.0 governs: commercial use and redistribution are both permitted with attribution and share-alike. The API docs also impose operational rules: "Please use Drupal.org's APIs respectfully. Use an appropriate user agent string. Make requests from a single thread. Cache results locally whenever possible. Abuse will be blocked as needed."
https://www.drupal.org/termsAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Content from Drupal.org, licensed CC BY-SA 2.0. Drupal is a registered trademark of Dries Buytaert. Not affiliated with or endorsed by the Drupal Association.
Cache: up to 3600s
