Skip to main content

Get all assets of a project

GET 

/assets/by/project/:projectId

Get all assets of a project

Request

Path Parameters

    projectId projectIdrequired

    The projectId to grab data about

Query Parameters

    tags string[]

    The tags of the assets to grab

    type assetType

    The type of the assets to grab

    startDate date-time

    Search by start date

    endDate date-time

    Search by end date

    page integer

    Possible values: >= 1

    Default value: 1

    Specify the page number for pagination (default is 1).

    limit integer

    Default value: 10

    Specify the number of assets per page (default is 10, 0 gets all results).

    orderBy string

    Possible values: [createdAt, type, name, state]

    Field to order the results by (e.g., 'createdAt', 'ownerId'). Default is 'createdAt'.

    sortOrder string

    Possible values: [asc, desc]

    Default value: desc

    'asc' for ascending or 'desc' for descending order. Default is 'desc'.

Responses

List of assets for a projectId

Schema

  • Array [

  • projectId projectId (string)

    Unique identifier for Project

    data string

    Asset data

    id string

    Unique identifier for Asset

    url string

    Asset URL

    schemaId schemaId (string)

    Unique identifier for Schema

    type string
    createdAt date-time

    Time representation of Asset creation

    tags string[]

    Asset tags

    description string

    Asset description

    name stringrequired

    Asset name

  • ]

Loading...