Capacities Skill
Use this skill to interact with your Capacities "Second Brain".
Requirements
- -
CAPACITIES_API_TOKEN: Obtain from Settings > Capacities API in the desktop app. - INLINECODE1 : (Optional) If not provided, the first available space will be used.
Usage
Daily Notes
To add a thought, task, or note to today's daily note:
INLINECODE2
Web Links
To save a URL to your space:
INLINECODE3
Search / Lookup
To find an object's ID:
INLINECODE4
Space Info
To get all object types and structures:
INLINECODE5
Capacities 技能
使用此技能与您的 Capacities 第二大脑进行交互。
前提条件
- - CAPACITIESAPITOKEN:在桌面应用的设置 > Capacities API 中获取。
- CAPACITIESSPACEID:(可选)如未提供,将使用第一个可用的空间。
使用方法
每日笔记
要向今天的每日笔记添加想法、任务或笔记:
curl -X POST https://api.capacities.io/save-to-daily-note -H Authorization: Bearer $CAPACITIES
APITOKEN -H Content-Type: application/json -d {spaceId: $CAPACITIES
SPACEID, mdText: 您的笔记内容}
网页链接
要保存URL到您的空间:
curl -X POST https://api.capacities.io/save-weblink -H Authorization: Bearer $CAPACITIES
APITOKEN -H Content-Type: application/json -d {spaceId: $CAPACITIES
SPACEID, url: https://example.com}
搜索/查找
要查找对象的ID:
curl -X POST https://api.capacities.io/lookup -H Authorization: Bearer $CAPACITIES
APITOKEN -H Content-Type: application/json -d {spaceId: $CAPACITIES
SPACEID, searchTerm: 我的笔记}
空间信息
要获取所有对象类型和结构:
curl -X GET https://api.capacities.io/space-info?spaceid=$CAPACITIES
SPACEID -H Authorization: Bearer $CAPACITIES
APITOKEN