Skip to content

Get All Looks

This endpoint returns an array of all enabled looks and a row count (paging is not yet implemented).

Method: GET
Path: /resources/looks

All requests are fulfilled.

$ curl /resources/looks | jq .
{
"count": 53,
"rows": [
{
"id": "<some cuid>",
"ownerId": "<some cuid>",
"description": "Look good. Feel good. Chill good. That’s all I’m after.",
"createdAt": "2024-08-27 01:27:34.269996+00",
"updatedAt": "2024-08-27 01:27:34.269996+00",
"meta": {
"data": {
"flags": {
"isValid": true,
"isSeedData": true,
"isPublished": true
},
"settings": {}
},
"_version": 1
},
"entity": "look",
"owner": {
"id": "<some cuid>",
"username": "<username>",
"name": "<name>"
},
"media": [
{
"id": "<some cuid>",
"url": "<image url>",
"mime": null,
"size": 230763,
"key": "<image key>",
"meta": {
"width": 1284,
"height": 1616
},
"createdAt": "2024-08-27T01:27:34.270719+00:00",
"updatedAt": "2024-08-27T01:27:34.270719+00:00",
"displayOrder": 0
}
],
"tags": [
{
"id": "<some cuid>",
"label": "Balmain",
"color": "#F7F2C3",
"positionX": 0.17,
"positionY": 0.4,
"lookId": "<some cuid>",
"itemId": "<some cuid>",
"createdAt": "2024-08-27T01:27:34.277162+00:00",
"updatedAt": "2024-08-27T01:27:34.277162+00:00"
},
],
"items": [
{
"id": "<some cuid>"
. . .
. . .
}
]
}
]
}