Busabase
OpenAPI Reference

Favorites

User favorite nodes and resources.

POST
/api/v1/nodes/{nodeId}/favorite

Path Parameters

nodeId*string

Response Body

application/json

curl -X POST "https://example.com/api/v1/nodes/string/favorite"
{  "favorited": true}
GET
/api/v1/nodes/favorites

Response Body

application/json

curl -X GET "https://example.com/api/v1/nodes/favorites"
[  {    "id": "string",    "parentId": "string",    "type": "folder",    "slug": "string",    "name": "string",    "description": "string",    "metadata": {},    "settings": {},    "explicitVisibility": null,    "icon": null,    "position": 0,    "createdAt": "string",    "updatedAt": "string",    "baseId": "string",    "children": [      {        "id": "string",        "parentId": "string",        "type": "folder",        "slug": "string",        "name": "string",        "description": "string",        "metadata": {},        "settings": {},        "explicitVisibility": null,        "icon": null,        "position": 0,        "createdAt": "string",        "updatedAt": "string",        "baseId": "string",        "children": [          null        ],        "hasChildren": true,        "shared": true      }    ],    "hasChildren": true,    "shared": true  }]