apaas-shared
Installation
SKILL.md
aPaaS Shared
Use this skill before module-specific aPaaS SDK work.
Baseline
- Use the Node SDK package
apaas-oapi-client. - Initialize one
apaas.Clientper namespace. - Keep
clientId,clientSecret, access tokens, and app secrets out of logs and final answers. - Prefer
client.setLoggerLevel(3)for normal work,4for debugging, and5only when inspecting non-sensitive payloads. - Treat SDK responses with
code !== "0"as failed even if the HTTP call succeeded. - Read references/openapi-coverage.md when checking whether an API doc endpoint is already wrapped.
- Read references/openapi-error-codes.md when triaging non-zero response codes.
import { apaas } from "apaas-oapi-client";