Asset Data

The asset data is a JSON object that contains the asset information.

Structure Example

This is an example of the structure of the asset data.

  • Name
    id
    Type
    string
    Description
    The ID of the asset.
  • Name
    type
    Type
    AssetDataType | null
    Description
    The type of asset.
  • Name
    userId
    Type
    integer
    Description
    The ID of the user who created the asset.
  • Name
    user
    Type
    BasicUserData
    Description
    The user who created the asset.
  • Name
    name
    Type
    string
    Description
    The name of the asset.
  • Name
    description
    Type
    string
    Description
    The description of the asset.
  • Name
    isPublic
    Type
    boolean
    Description
    Whether the asset is public.
  • Name
    likes
    Type
    integer
    Description
    How many times this asset has been liked.
  • Name
    tags
    Type
    string[]
    Description
    Tags assigned to this asset.
  • Name
    tasks
    Type
    Task[]
    Description
    Tasks associated with this asset.

Example

{
  "id": "string",
  "type": "model",
  "userId": 0,
  "user": {
    "id": 0,
    "name": "string"
  },
  "name": "string",
  "description": "string",
  "isPublic": true,
  "likes": 0,
  "tags": [
    "a",
    "b"
  ],
  "permissions": {
    "canEdit": true
  },
  "tasks": [],
  "latestCollections": "string"
}

Was this page helpful?