返回顶部
a

apiosk-publish

Publish and manage Apiosk gateway listings with signed wallet authentication, listing-group aware categorization, and update/delete operations.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
654
下载量
0
收藏
概述
安装方式
版本历史

apiosk-publish

# apiosk-publish Use this skill for API publishing and lifecycle management on `https://gateway.apiosk.com`. ## When to use - You need to register a new paid API on Apiosk. - You need to update, list, or deactivate your published API. - You need to map an API to the latest listing groups (`api`, `datasets`, `compute`). - You need to send correctly signed wallet-auth headers for management endpoints. ## Required tools and files - `curl` - `jq` - `cast` (Foundry) - Wallet: - `~/.apiosk/wallet.json` (preferred, includes `address` + `private_key`) - or `APIOSK_PRIVATE_KEY` env var - or `--private-key` flag ## Management endpoints - `POST /v1/apis/register` - `GET /v1/apis/mine?wallet=0x...` - `POST /v1/apis/:slug` - `DELETE /v1/apis/:slug?wallet=0x...` ## Signed wallet auth All management calls require: - `x-wallet-address` - `x-wallet-signature` - `x-wallet-timestamp` - `x-wallet-nonce` Canonical message to sign: ```text Apiosk auth action:<action> wallet:<lowercase_wallet> resource:<resource> timestamp:<unix_seconds> nonce:<nonce> ``` Action/resource mapping: - register: `action=register_api`, `resource=register:<slug>` - update: `action=update_api`, `resource=update:<slug>` - mine: `action=my_apis`, `resource=mine:<wallet>` - delete: `action=delete_api`, `resource=delete:<slug>` ## Listing groups and categories Discovery groups in gateway: - `api` - `datasets` - `compute` Register payload currently uses `category` (not explicit `listing_type`). Use this mapping: - `api` -> `data` - `datasets` -> `dataset` - `compute` -> `compute` ## Register payload `POST /v1/apis/register`: ```json { "name": "My API", "slug": "my-api", "endpoint_url": "https://example.com", "price_usd": 0.01, "description": "My paid API", "owner_wallet": "0x...", "category": "dataset" } ``` ## Agent behavior requirements - Always sign management requests; unsigned calls should be treated as invalid. - Keep wallet value lowercased inside the signed message, even if header uses checksum case. - If `Unauthorized`, regenerate timestamp + nonce and re-sign once. - Validate HTTPS endpoint before register/update. - Use listing-group mapping above so new listings appear in the right discovery surfaces.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 apiosk-publish-1776419943 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 apiosk-publish-1776419943 技能

通过命令行安装

skillhub install apiosk-publish-1776419943

下载 Zip 包

⬇ 下载 apiosk-publish v1.1.0

文件大小: 12.86 KB | 发布时间: 2026-4-17 18:47

v1.1.0 最新 2026-4-17 18:47
signed wallet auth for register/update/mine/delete and listing-group mapping updates

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部