← 返回
安全合规 Key 中文

Apiosk Publish

Publish and manage Apiosk gateway listings with signed wallet authentication, listing-group aware categorization, and update/delete operations.
使用签名钱包认证、分组感知分类及更新/删除操作,发布并管理 Apiosk 网关列表。
obcraft
安全合规 clawhub v1.1.0 1 版本 99906.9 Key: 需要
★ 0
Stars
📥 1,073
下载
💾 10
安装
1
版本
#latest

概述

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:

Apiosk auth
action:<action>
wallet:<lowercase_wallet>
resource:<resource>
timestamp:<unix_seconds>
nonce:<nonce>

Action/resource mapping:

  • register: action=register_api, resource=register:
  • update: action=update_api, resource=update:
  • mine: action=my_apis, resource=mine:
  • delete: action=delete_api, resource=delete:

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:

{
  "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.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-29 05:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,214 📥 266,401
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,601
developer-tools

Apiosk Skill

obcraft
基于Base区块链的按请求付费API网关,采用USDC小额支付,无需API密钥,支持15+个生产级API及简便钱包设置。
★ 0 📥 1,619