docyrus-api-dev

Automate Docyrus API integration with OAuth2 flows and REST calls.

13|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Docyrus/agent-skills --skill docyrus-api-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docyrus-api-dev
Source: https://github.com/Docyrus/agent-skills/tree/main/skills/docyrus-api-dev
Command: npx skills add https://github.com/Docyrus/agent-skills --skill docyrus-api-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developer friction around authenticating with Docyrus APIs and making REST calls is reduced by providing a cohesive OAuth2-enabled API client workflow and clear guidance for constructing query payloads.

Core Features & Use Cases

  • Integrates with Docyrus API using @docyrus/api-client and @docyrus/signin for OAuth2 PKCE, device code, and client credentials flows.
  • Enables building and consuming query payloads for data sources, including filters, calculations, formulas, pivots, and child queries.
  • Use cases include building admin dashboards, data integrations, and internal tools that need authenticated access to Docyrus endpoints.

Quick Start

Create a RestApiClient with token management and call a sample endpoint to verify connectivity.

Frequently Asked Questions about docyrus-api-dev

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

FAQPage Schema
How do I implement OAuth2 authentication for a REST API client in TypeScript?

OAuth2 authentication for a REST API client in TypeScript is implemented by orchestrating PKCE, device code, or client credentials flows using dedicated signin and API client libraries to manage tokens and secure endpoints.

How do I build REST API query payloads with filters, calculations, and pivots?

REST API query payloads with filters, calculations, formulas, pivots, and child queries are built by constructing structured JSON request bodies that define data source parameters and aggregation logic for the API endpoints.

Can I use OAuth2 PKCE flow to authenticate a React app with a REST API?

Yes, OAuth2 PKCE flow can authenticate a React app with a REST API by utilizing the signin library to handle the authorization code exchange and securely manage access tokens for client-side data fetching.

Does the Docyrus API client support server-side token management and error handling?

Yes, the Docyrus API client supports server-side token management and error handling by providing a cohesive workflow that automates dynamic endpoint configuration and REST call execution for backend applications.

What is the best way to integrate an internal admin dashboard with a secure REST API?

Integrating an internal admin dashboard with a secure REST API is best achieved by using an OAuth2-enabled API client workflow to authenticate requests and query complex data source payloads with filters and calculations.

Why do my REST API calls fail when using OAuth2 client credentials for server-side integrations?

REST API calls fail during OAuth2 client credentials server-side integrations when token management is incomplete or endpoint configurations are incorrect, requiring standardized error handling and dynamic endpoint support to resolve.