drupal-json-api

Interact with Drupal content via JSON:API using CRUD, filtering, and pagination.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/AJV009/drupal-devkit --skill drupal-json-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-json-api
Source: https://github.com/AJV009/drupal-devkit/tree/main/plugins/drupal-core/skills/drupal-json-api
Command: npx skills add https://github.com/AJV009/drupal-devkit --skill drupal-json-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Interacting with Drupal content via JSON:API can be verbose, error-prone, and inconsistent across endpoints; this skill provides patterns and references to accelerate AI-driven integration and automation.

Core Features & Use Cases

  • CRUD operations, filtering, sorting, pagination, includes, and media handling via JSON:API endpoints
  • Guidance across nodes, taxonomy terms, users, and media with practical request examples
  • Troubleshooting and best practices for authentication, headers, and error handling

Quick Start

Install and begin issuing JSON:API requests against /jsonapi endpoints to manage Drupal content.

Frequently Asked Questions about drupal-json-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter and sort Drupal content via JSON:API endpoints?

Drupal JSON:API filtering and sorting requires specific query parameter patterns appended to /jsonapi endpoint requests. This skill provides reference workflows for structuring these operations alongside pagination and includes for reliable content retrieval.

What is the best way to upload media files to Drupal using JSON:API?

Uploading media files to Drupal using JSON:API involves structured curl-based workflows targeting specific media endpoints. This skill outlines the necessary request patterns, headers, and payload structures to handle media uploads and avoid common pitfalls.

Can I use curl to perform CRUD operations on Drupal JSON:API resources?

Yes, you can use curl to perform CRUD operations on Drupal JSON:API resources. This skill provides practical curl-based workflows for creating, reading, updating, and deleting nodes, taxonomy terms, users, and media.

Does Drupal JSON:API support includes for related entity relationships?

Drupal JSON:API supports includes to retrieve related entity relationships in a single request. This skill covers how to structure include parameters to fetch nested related data across core endpoints efficiently.

Why does my Drupal JSON:API request fail with authentication errors?

Drupal JSON:API authentication errors often stem from missing or incorrect headers and credentials. This skill provides troubleshooting guidance and best practices for authentication setup, header configuration, and error handling to ensure reliable requests.