Search the catalog
GET
/api/v1/catalog
const url = 'http://localhost:3000/api/v1/catalog?type=brand&status=draft&limit=30';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:3000/api/v1/catalog?type=brand&status=draft&limit=30' \ --header 'Authorization: Bearer <token>'Every type at once, in every project of the organization you reach: assets, collections, brands, portals, and brands’ rules and pages. q takes free words and the filters inline (logo status:current type:asset); each filter is also a parameter. Counts per type and project; replaced, archived and expired matches are counted in hidden unless status asks for them.
Scope: read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”q
string
Free words and inline filters
type
string
Repeat for several
project
string
A project’s slug
status
string
Repeat for several
tag
string
Carrying this tag
uses
string
Only what is downstream of this address or id
usedby
string
Only what is upstream of this address or id
admin
string
me: what you hold Admin on directly
limit
integer
Page size
cursor
integer
The previous page’s next
Responses
Section titled “Responses”Results
Media typeapplication/json
object
query
required
string
total
required
integer
counts
required
object
key
additional properties
integer
projects
required
Array<object>
object
slug
required
string
name
required
string
count
required
integer
items
required
Array<object>
object
id
required
string format: uuid
type
required
string
slug
required
string
name
required
string
address
required
{org}/{project}/{type}/{slug}[@release]; a part after its object
string
description
required
string | null
status
required
string
expires
required
string | null
expiring
required
boolean
private
required
boolean
tags
required
Array<string>
project
required
object
id
required
string format: uuid
slug
required
string
name
required
string
parent
required
createdAt
required
string
updatedAt
required
string
hidden
required
object
count
required
integer
example
required
string | null
Example
{ "items": [ { "type": "brand", "status": "draft", "parent": { "type": "brand" } } ]}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}