http-api-cloudbase

Implements raw HTTP calls to CloudBase platform APIs for non-SDK clients and backends.

Updated May 14, 2026
One-click install
npx skills add https://github.com/study-yang/Vieb-Coding-- --skill http-api-cloudbase-study-yang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: http-api-cloudbase
Source: https://github.com/study-yang/Vieb-Coding--/tree/main/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F-%E5%BF%AB%E8%AE%B0/.codebuddy/skills/http-api
Command: npx skills add https://github.com/study-yang/Vieb-Coding-- --skill http-api-cloudbase-study-yang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When your platform cannot use a CloudBase SDK—such as native Android/iOS apps, Flutter, React Native, Go/Python/Java backends, or admin scripts—you need a reliable guide for calling CloudBase platform APIs over raw HTTP with correct endpoints, authentication, and request formats. ## Core Features & Use Cases - OpenAPI-driven integration: Queries official OpenAPI Swagger specifications (mysqldb, nosql, functions, auth, cloudrun, storage, ai_model) via the searchKnowledgeBase tool so endpoints and parameters are never guessed. - Authentication guidance: Covers AccessToken, API Key, and Publishable Key methods, plus a complete phone SMS verification login flow for native apps. - Database REST APIs: Documents PostgREST-style relational database (MySQL/PostgreSQL) operations and EJSON-based NoSQL document operations with curl examples, error codes, and URL encoding rules. - Use Case: A Go backend service needs to insert records into a CloudBase MySQL table—use this Skill to get the correct base URL, Bearer token header, and POST /v1/rdb/rest/{table} request format. ## Quick Start Ask the agent to call a CloudBase API over HTTP, providing your environment ID and preferred authentication method, and it will fetch the matching OpenAPI spec before writing any request code.

Frequently Asked Questions about http-api-cloudbase

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

FAQPage Schema
How do I call CloudBase APIs without an SDK?

Use raw HTTP requests against the gateway base URL https://{envId}.api.tcloudbasegateway.com with an Authorization: Bearer token header. Always retrieve the OpenAPI specification first via searchKnowledgeBase with the appropriate apiName such as mysqldb, nosql, or functions.

How to query a CloudBase MySQL database over REST API?

Send GET requests to /v1/rdb/rest/{table} using PostgREST-style query parameters like select, limit, offset, and order. Use POST to insert, PATCH to update, and DELETE to remove records, always including a WHERE clause for updates and deletes.

What authentication methods does CloudBase HTTP API support?

CloudBase HTTP API supports AccessToken for user-level operations, API Key for server-side admin access, and Publishable Key for public client access. API Keys must never be embedded in client-side code.

Can I use CloudBase HTTP API from Flutter or React Native?

Yes, native apps including Android, iOS, Flutter, and React Native are the primary audience for raw HTTP API calls since platform SDKs may be unavailable. Phone SMS verification is the recommended default login flow for these apps.

When should I not use the CloudBase HTTP API approach?

Avoid raw HTTP calls when building web frontends with @cloudbase/js-sdk, mini programs with wx.cloud, or Node.js backends using @cloudbase/node-sdk. It is also not for building your own HTTP services on CloudBase or MCP-driven management tasks.