Olyn API Files

Learn about Olyn files resource

Field

Type

Description

asset_id

ObjectId

Identifier of the asset this module is linked to

Set by the developer

key

String

Key for the file resource to create or update, if not passed a random key will be generated.

Auto/Set by the developer

value

String

Url of the file referenced in the resource creation

Set by the developer

mime_type

String

Type of file

Auto

created_at

Date

Date of creation of the resource

Auto

created_by

String

Entity creating the resource

Auto

{
    "key": "Airpods",
    "value": "photos/file_16ebd384-b66d-4f1b-ac10-ce69564a9efe/airpods.png",
    "mimeType": "image/png",
    "createdBy": "OLYN",
    "createdAt": "2022-06-10 11:25:54.937000"
}

🚧

Note: "key" can not be duplicated by the same developer in the same asset.


Get API Keys

Learn about Olyn ledger resource

Did this page help you?