Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Nextcloud DAV API

The DAV API from Nextcloud — 1 operation(s) for dav.

Nextcloud DAV API is one of 6 APIs that Nextcloud publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include DAV. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 2.

Requests are made against a single base URL, https://your-nextcloud.example.

1 operations 1 paths 1 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2
Base URL
https://your-nextcloud.example/ocs/v2.php
Authentication
HTTP Basic, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Nextcloud DAV API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuth). It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BasicAuth — Username + password or username + app token
  • BearerAuth — OIDC bearer token issued by an external identity provider

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

DAV 1
POST
/ocs/v2.php/apps/dav/api/v1/direct
Generate a direct file download link
2 params body → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is OcsEnvelope (1 property). Each schema is shown below with its type and property counts.

OcsEnvelope
object
Standard OCS response envelope
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nextcloud-dav-api-openapi.yml Raw ↑

Other APIs Nextcloud publishes across the network.

Nextcloud OCS API
Nextcloud WebDAV API
Nextcloud Autocomplete API
Nextcloud Capabilities API
Nextcloud Users API