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 |
| 공유 만료 | 없음 |