nextcloud-ocs
Nextcloud OCS v1/v2 API envelope parser and query engine.
Part of the nextcloud-rust-sdk workspace.
Installation
[]
= "0.1.1"
Features
OcsEnvelope<T>: Strongly typed deserializer for Nextcloud's{ ocs: { meta: ..., data: ... } }payload.OcsClient: Provides typedget(),post(),put(), anddelete()operations with mandatory headers.Query: Query string builder for pagination, filtering, and sorting parameters.
Example
use ;
use ApiPath;
// Queries Nextcloud OCS endpoints and decodes standard JSON responses
License
GNU General Public License v3.0 or later (GPL-3.0-or-later).