How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

drupal Files API

JSON:API endpoints for file entities and file upload operations.

drupal Files API is one of 9 APIs that Drupal publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include File. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 1 JSON Schema.

This API exposes 5 operations across 3 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version 1.1.

Requests are made against a single base URL, https://example.com/jsonapi.

5 operations 3 paths 13 schemas 2 DELETE3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1
Base URL
https://example.com
Authentication
HTTP Basic, API Key, OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 3

drupal Files API declares 3 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). An API key is passed in the cookie as SESS (cookieAuth). It supports OAuth 2.0 (oAuth2) using the authorizationCode flow, exposing 2 scopes. By default, every request must be authenticated.

  • basicAuth — HTTP Basic Authentication using Drupal username and password.
  • cookieAuth — Cookie-based session authentication obtained via Drupal login.
  • oAuth2 — OAuth 2.0 via the Simple OAuth module.

Paths & Operations 5

Across 3 paths, the API surfaces 5 operations — 2 DELETE, 3 GET. Each is listed below with its method, path, parameters, and response codes.

Files 5

JSON:API endpoints for file entities and file upload operations.

GET
/file/file
List file entities
listFiles 7 params → 200401403
GET
/file/file/{uuid}
Get a file entity
getFile 3 params → 200401403404
DELETE
/file/file/{uuid}
Delete a file entity
deleteFile 1 param → 204401403404
GET
/file/{id}
Get a file entity
getFile 2 params → 200401403404
DELETE
/file/{id}
Delete a file entity
deleteFile 1 param → 204401403404

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are File (11 properties), JsonApiCollectionLinks (5 properties), JsonApiCollection (5 properties), JsonApiResourceObject (5 properties). Each schema is shown below with its type and property counts.

StringValue
object
Drupal field value wrapper for a string value.
1 property
JsonApiResourceObject
object
A JSON:API resource object representing a single Drupal entity.
5 properties 2 required
File
object
A Drupal file entity representing metadata for an uploaded file stored in the Drupal file system.
11 properties
JsonApiLinks
object
Navigation links included in JSON:API responses.
2 properties
JsonApiErrorResponse
object
A JSON:API error response containing one or more error objects.
2 properties
ErrorResponse
object
Standard error response returned for 4xx HTTP error codes.
1 property
IntegerValue
object
Drupal field value wrapper for an integer value.
1 property
JsonApiCollection
object
A JSON:API collection response containing multiple resource objects.
5 properties
JsonApiError
object
A single JSON:API error object.
4 properties
JsonApiSingleResponse
object
A JSON:API response containing a single resource object.
4 properties
JsonApiCollectionLinks
object
Pagination links for collection responses.
5 properties
TargetId
object
Drupal entity reference value wrapper pointing to a related entity.
1 property
BooleanValue
object
Drupal field value wrapper for a boolean value.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

drupal-files-api-openapi.yml Raw ↑

Other APIs Drupal publishes across the network.

Drupal GraphQL API
drupal Comments API
drupal Node Articles API
drupal Node Pages API
drupal Nodes API
drupal Taxonomy Terms API
drupal Taxonomy Vocabularies API
drupal Users API
Where this information came from

This is an independent, third-party profile of drupal Files API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.