Products on videos. All requests need a secret key; see REST API for keys, errors and limits.
List product tags, optionally for one video or one product
GET /v1/tags
Parameters
| Name | In | Type | Description |
|---|
cursor | query | string | |
limit | query | integer | |
sortBy | query | "createdAt" | |
sortDir | query | "asc" | "desc" | |
productId | query | id | |
videoId | query | id | |
curl -X GET https://api.loomieo.com/v1/tags \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
paginationrequired | object | |
tagsrequired | list of object | |
Errors
401: auth_unauthenticated403: forbidden422: validation_failed429: rate_limited
Tag a video with a product, optionally for a span
POST /v1/tags
Tag a video with a product, optionally for a span (startMs–endMs); one tag per video and product
Body
| Name | Type | Description |
|---|
productIdrequired | id | |
videoIdrequired | id | |
endMs | integer or null | |
startMs | integer or null | |
curl -X POST https://api.loomieo.com/v1/tags \
-H "Authorization: Bearer $LUMIEO_KEY" \
-H "Content-Type: application/json" \
-d '{"productId":"0193…","videoId":"0193…"}'
Response 200
| Name | Type | Description |
|---|
tagrequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: product_not_found, video_not_found409: tag_exists, tag_limit_reached422: validation_failed429: rate_limited
Tag several videos with several products
POST /v1/tags/bulk
Tag several videos with several products (whole video); existing pairs are kept
Body
| Name | Type | Description |
|---|
productIdsrequired | list of id | up to 10 items |
videoIdsrequired | list of id | up to 100 items |
curl -X POST https://api.loomieo.com/v1/tags/bulk \
-H "Authorization: Bearer $LUMIEO_KEY" \
-H "Content-Type: application/json" \
-d '{"productIds":[],"videoIds":[]}'
Response 200
| Name | Type | Description |
|---|
tagsrequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: product_not_found, video_not_found409: tag_limit_reached422: validation_failed429: rate_limited
Set a video's products in one go
POST /v1/tags/replace
Set a video's products in one go: unlisted tags go, new ones are added, spans are updated
Body
| Name | Type | Description |
|---|
productsrequired | list of object | up to 10 items |
videoIdrequired | id | |
curl -X POST https://api.loomieo.com/v1/tags/replace \
-H "Authorization: Bearer $LUMIEO_KEY" \
-H "Content-Type: application/json" \
-d '{"products":[],"videoId":"0193…"}'
Response 200
| Name | Type | Description |
|---|
tagsrequired | list of object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: product_not_found, video_not_found422: validation_failed429: rate_limited
Remove a product tag
DELETE /v1/tags/{id}
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X DELETE https://api.loomieo.com/v1/tags/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
tagrequired | object | |
Errors
401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: tag_not_found422: validation_failed429: rate_limited
One product tag, with its live experience count
GET /v1/tags/{id}
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X GET https://api.loomieo.com/v1/tags/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
tagrequired | object | |
Errors
401: auth_unauthenticated403: forbidden404: tag_not_found422: validation_failed429: rate_limited
Change a tag's span
PATCH /v1/tags/{id}
Change a tag's span; null clears a bound
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
Body
| Name | Type | Description |
|---|
endMs | integer or null | |
startMs | integer or null | |
curl -X PATCH https://api.loomieo.com/v1/tags/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
tagrequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: tag_not_found422: validation_failed429: rate_limited