What is shared into this project
GET
/api/v1/catalog/shared
const url = 'http://localhost:3000/api/v1/catalog/shared';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/shared \ --header 'Authorization: Bearer <token>'Brands, collections and assets other projects of the organization shared into this one: each as it is at home, sharedFrom naming it.
Scope: read.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Shared objects
Media typeapplication/json
object
data
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
sharedFrom
required
object
id
required
string format: uuid
name
required
string
Example
{ "data": [ { "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" }}