List packs
Lists the packs available on the node, alphabetically by ID, optionally filtered by a search phrase.
GET
/v1/actions/packs
Lists the packs available on the node, alphabetically by ID, optionally filtered by a search phrase.
Authentication
Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)
Query Parameters
q
string
optional
query
Words to search for in pack titles and descriptions.
limit
integer
optional
query
Page size, from 1 to 100.
cursor
string
optional
query
Opaque cursor from the previous page's `next_cursor`. Omit it for the first page.
Responses
200
A page of packs.
application/jsonobject
string
REQUIRED
Enum:
listdata
object[]
REQUIRED
Array of:
id
string
REQUIRED
`<namespace>/<name>`.
object
string
REQUIRED
Enum:
packtitle
string
REQUIRED
description
string
REQUIRED
publisher
object
REQUIRED
id
string
REQUIRED
name
string
REQUIRED
verified
boolean
REQUIRED
Set by the registry, never by the manifest.
latest_version
string
REQUIRED
action_count
integer
REQUIRED
trigger_count
integer
REQUIRED
next_cursor
string | null
REQUIRED
400
The request failed validation (`invalid_request`, `invalid_url`).
401
Missing, malformed, expired or revoked credentials (`unauthorized`).
403
Authenticated but not allowed (`forbidden`, `egress_denied`).
429
A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500
Something failed inside B3OS (`internal`). Retry with backoff.
503
The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/actions/packs' \ -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/actions/packs', { method: 'GET', headers: { "Authorization": "Bearer YOUR_API_TOKEN" }});const data = await response.json();console.log(data);
import requestsheaders = { 'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/actions/packs', headers=headers)print(response.json())
200
Response
{ "object": "list", "data": [ { "id": "io.b3os/github", "object": "pack", "title": "GitHub", "description": "Issues, pull requests, repositories and releases.", "publisher": { "id": "io.b3os", "name": "B3OS", "verified": true }, "latest_version": "1.2.0", "action_count": 14, "trigger_count": 3 } ], "next_cursor": null}
API Playground
Try this endpoint
GET
/v1/actions/packs