The catalog
The catalog is every object of an organization you can reach, project by project: brands (with their rules and guideline pages), collections, assets and portals (with the components their Storybook documents). Catalog in the sidebar shows it as a tree; the search on Assets (and Home’s) finds all of it at once.
The tree and its pages
Section titled “The tree and its pages”Projects, then a folder per type (Brands, Collections, Assets, Portals), then the objects; assets fold once more by their type (Images, Videos, Fonts, Documents…), a brand holds its rules and guideline pages, and a site holds the components of the Storybook live on it. A row opens its page; only its chevron folds it. A project’s page shows its types and what was updated lately, a type’s page every object of it, with New where it is made and a link to where it is managed. An object’s page has its Overview, Lineage where something links to it or from it, Access, and Activity where it is recorded (an asset’s versions, a brand’s releases). Every collection, asset, brand and portal in the app has a button back to its page here.
Addresses
Section titled “Addresses”Every object has one address, accepted anywhere an id is:
{org}/{project}/{type}/{slug}[@release]acme/corporate/asset/logo-primary@4acme/corporate/brand/acme/rule/logo.primaryacme/corporate/site/storybook/component/ui-buttonA brand’s slug is unique in its project; an asset’s comes from its filename,
and @n picks a version. A component is read from the index.json that
storybook build writes, each time a Storybook is deployed: one per title
(UI/Button), at Storybook’s own id for it (ui-button), with its stories.
Component versions
Section titled “Component versions”A deploy that changes a component makes a new version of it (@2); one that
leaves it as it was keeps its version, and rolling a deployment back makes its
versions current again. What counts as a change: its code, when the build is
pushed with artbucket site push from where Storybook ran (the CLI hashes each
component’s source into the manifest’s fingerprints), else its stories and
their bundled file. Older versions stay in the catalog as replaced, linked to
the current one. Components in the sidebar is the search’s Components tab:
each component with its story live on its card, found by its name, its id and
its Storybook tags like any asset, and opening in a panel with every version,
previewed while the build that held it is kept (the live one and the last three).
A build says which components it is made with in its artbucket.site.json:
{ "components": ["acme/corporate/site/storybook/component/ui-button"] }Without @n, that is the version current when it is deployed. An app
hosted elsewhere gets the same from its CI with artbucket site scan, which
finds what its code imports (Sites). Each one is
upstream of the site in its lineage, and once a newer version is out, the site
is listed in Fixes until it is deployed with it.
Search
Section titled “Search”One query language, the same in the app’s search, the API, MCP and the CLI: free words, and filters inline.
| Filter | Example | Meaning |
|---|---|---|
type: |
type:asset,rule |
Object types, a comma for or |
kind: |
kind:image,video |
An asset’s file kind (image, video, audio, font, document, other): only assets |
project: |
project:corporate |
A project, by slug |
status: |
status:current |
draft, in_review, current, replaced, archived |
tag: |
tag:campaign-q4 |
Carrying a tag |
uses: |
uses:acme/corporate/brand/acme |
What is downstream of an address |
usedby: |
usedby:acme/corporate/portal/press |
What is upstream of it |
admin: |
admin:me |
What you hold Admin on directly |
Replaced, archived and expired matches are left out unless status: asks for
them, and the results say what was left out.
Lineage
Section titled “Lineage”What an object comes from and what uses it, from links already stored: an
asset to what replaced it and what was made from it, to the brands whose rules
name it and the collections it is in; a collection or a brand to the portals
that offer it; a brand to its forks. The Lineage tab draws one hop each
way; a + on a card’s outward side brings the next hop in, and a card can be
dragged where it reads best. Each card says whether it may be used: its status
(Current, Replaced, Draft…), its version (v2 of 3 for an asset, @4 for a
brand), an asset’s license, and a warning when it expires soon. The impact line
says what changing the object reaches, in how many projects. Only what you can
reach is drawn: the rest is counted.
Who can reach it
Section titled “Who can reach it”Roles are one ladder: Viewer, Contributor, Editor, Admin. A grant is on the organization, a project, a brand, a collection or an asset, and is held by a person, a group of the organization’s people (Settings, Groups), or a project (a share). Grants add up and reach down; the highest role on the path wins; a private brand, collection or asset turns away roles from above, admins excepted; an agent’s key is held to its person’s role. Reading a brand or a portal takes a role on its project or a grant on it. The Access tab names the grant behind every role.
Its admins grant from there too: on a brand, a collection or an asset (a rule or a page is granted on its brand), add a person or a group with a role, change it in place, or take it back. Manage access links what is set elsewhere: a portal’s own access, the project’s members, the organization’s groups, and the project to grant in when the object is another project’s.
Sharing into another project
Section titled “Sharing into another project”A brand, a collection or an asset can be shared into another project of the
organization: its members read it, as Viewers, where it is, kept and edited in
its own project. Its admin shares it (Share to another project, or
artbucket share <address> --to <project>); an admin of either project takes
it back.
API, MCP and CLI
Section titled “API, MCP and CLI”GET /api/v1/catalog?q= |
Search every type |
GET /api/v1/catalog/tree |
Every project you reach and its objects |
GET /api/v1/catalog/{ref} |
One object, by id or URL-encoded address |
GET /api/v1/catalog/{ref}/lineage |
What it comes from and what uses it |
GET /api/v1/catalog/{ref}/access |
Who reaches it, and why; what takes a grant (on) and the grants made there (granted) |
POST /api/v1/grants |
A grant, for a user, a group or a project (a share) |
/api/v1/groups |
The organization’s groups and their members |
MCP: search_catalog, describe_object, lineage, who_can,
share_object. CLI: artbucket catalog search|show|lineage|access.