Skip to content

Asset Library

Fresh

Manage permanent assets in the GEELark material library.

Upload to Library

Step 1: Get Upload URL

URL: https://openapi.geelark.com/open/v1/material/upload/getUrlMethod: POST

ParameterRequiredTypeDescription
fileTypeYesstringFile extension

Step 2: Upload via PUT

Same as temporary upload -- use the returned uploadUrl.


Create Material

URL: https://openapi.geelark.com/open/v1/material/addMethod: POST

ParameterRequiredTypeDescription
listYesarrayMaterial items
list[].urlYesstringResource URL
list[].fileNameNostringFile name
list[].tagIdsNoarray[string]Tag IDs

Delete Material

URL: https://openapi.geelark.com/open/v1/material/deleteMethod: POST

ParameterRequiredTypeDescription
idsYesarray[string]Material IDs

Set Material Tag

URL: https://openapi.geelark.com/open/v1/material/tag/setMethod: POST

ParameterRequiredTypeDescription
idsYesarray[string]Material IDs
tagIdsYesarray[string]Tag IDs to set

Search Material

URL: https://openapi.geelark.com/open/v1/material/listMethod: POST

ParameterRequiredTypeDescription
pageYesintegerPage number
pageSizeYesintegerItems per page
tagIdsNoarray[string]Filter by tags
idsNoarray[string]Filter by IDs

Material Tags

Create Tag

URL: https://openapi.geelark.com/open/v1/material/tag/add

ParameterRequiredTypeDescription
listYesarrayTag items
list[].nameYesstringTag name

Delete Tag

URL: https://openapi.geelark.com/open/v1/material/tag/delete

ParameterRequiredTypeDescription
idsYesarray[string]Tag IDs

Search Tags

URL: https://openapi.geelark.com/open/v1/material/tag/list

ParameterRequiredTypeDescription
pageYesintegerPage number
pageSizeYesintegerItems per page

Error Codes

CodeDescription
60001Material library capacity exceeded
60002Duplicate tag name
60003Invalid URL
60004File format not supported
60005Material does not exist

GEELark API Documentation - Built with VitePress