alltools.one機能へのプログラムアクセス。REST APIでスニペットを管理し、データを共有し、履歴を追跡します。
https://api.alltools.oneShare a JSON / YAML / CSV config once, then pull it in GitHub Actions or GitLab CI. Reading a share is public, so no token is needed.
# .github/workflows/validate.yml
- name: Fetch saved formatter config
run: |
curl -sf "https://api.alltools.one/api/shares/abc123def4" | jq '.data'When your automation workflow produces a formatted CSV or JSON, POST it directly as a named snippet for later retrieval.
curl -X POST https://api.alltools.one/api/snippets \
-H "Authorization: Bearer <firebase_id_token>" \
-H "Content-Type: application/json" \
-d '{
"tool": "csv-formatter",
"title": "Daily Report 2025-01-15",
"data": { "csv": "name,value\nAlice,42\nBob,99" },
"tags": ["automated", "daily"]
}'Create a shareable link for any formatted output — useful for embedding live data previews in Notion, Slack, or documentation.
curl -X POST https://api.alltools.one/api/shares \
-H "Content-Type: application/json" \
-d '{
"tool": "json-formatter",
"title": "API Response Sample",
"data": { "input": "{\"status\":\"ok\",\"result\":42}" }
}'
# Returns: { "id": "abc123def4", "url": "https://alltools.one/s/abc123def4", "expires_at": null }アカウントが必要なエンドポイントは、Authorization ヘッダーで Firebase ID トークンを受け付けます。
Firebase Authでトークンを取得し、Authorizationヘッダーに含めます:
curl https://api.alltools.one/api/auth/profile \
-H "Authorization: Bearer <firebase_id_token>"ツールの出力を保存・管理します。アカウントごとにスニペットの上限があり、超えて作成すると403を返します。
ツールのデータの共有リンクを作成します。共有は無期限で、サイズ上限を超えるデータは413で拒否されます。
ツールの利用を記録します。アカウントごとに履歴上限まで最新の項目を保持し、古い項目は削除されます。
将来のリリースに向けたキー管理エンドポイントです。これらのキーを受け付けるエンドポイントはまだありません。
| コード | 意味 | 一般的な原因 |
|---|---|---|
200 | OK | Request succeeded |
201 | Created | Resource created |
400 | Bad Request | Validation error or malformed input |
401 | Unauthorized | Missing or invalid auth token |
403 | Forbidden | Account limit reached or not the resource owner |
404 | Not Found | Resource does not exist |
409 | Conflict | Duplicate resource (e.g. email already subscribed) |
413 | Payload Too Large | Data exceeds size limit (5MB) |
429 | Too Many Requests | Rate limit exceeded |
IPアドレスあたり60秒に5リクエスト。
| 機能 | 無料 |
|---|---|
| 保存スニペット | 500 |
| 履歴エントリ | 500 |
| 最大共有サイズ | 5 MB |
| 共有の有効期限 | なし |