메인 콘텐츠로 건너뛰기
POST
/
v1
/
external
/
workspaces
/
{workspaceGuid}
/
folders
curl --request POST \
  --url https://api.tiro.ooo/v1/external/workspaces/{workspaceGuid}/folders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Q1 2025 Meetings",
  "sharingType": "PRIVATE"
}
'
{
  "id": "12348",
  "workspaceGuid": "ws_a1b2c3d4",
  "title": "Engineering Standups",
  "description": "Daily engineering standup notes",
  "sharingType": "ALL_MEMBER_EDITOR",
  "parentId": "12300",
  "color": "#27AE60",
  "isTeamFolder": true,
  "createdAt": "2025-01-20T09:00:00Z",
  "updatedAt": "2025-01-20T09:00:00Z"
}

인증

Authorization
string
header
필수

API key in format {id}.{secret}

경로 매개변수

workspaceGuid
string
필수

Workspace GUID. Obtain it from GET /v1/external/workspaces.

본문

application/json

Create a folder in a workspace.

title
string
필수

Folder title. Must not be blank.

Required string length: 1 - 50
예시:

"Q1 2025 Meetings"

sharingType
enum<string>

Who can access a folder and the notes inside it.

TypeViewEdit
PRIVATEOnly youOnly you
ALL_MEMBER_VIEWERAll workspace membersNo member-wide edit access
ALL_MEMBER_EDITORAll workspace membersAll workspace members
LIMITEDInvited members onlyInvited members only (per-member role)
  • PRIVATE: Personal folder. Not shared with the workspace.
  • ALL_MEMBER_VIEWER: Every workspace member can view; no member-wide edit access is granted.
  • ALL_MEMBER_EDITOR: Every workspace member can view and edit.
  • LIMITED: Only explicitly invited members can access, each with an individual role (VIEWER or EDITOR).
사용 가능한 옵션:
PRIVATE,
ALL_MEMBER_VIEWER,
ALL_MEMBER_EDITOR,
LIMITED
예시:

"PRIVATE"

parentId
string | null

Parent folder ID for a nested folder. Omit or set to null to create at the root level. Folders can be nested up to 5 levels below the root level.

예시:

"12300"

description
string | null

Folder description. Defaults to an empty string.

예시:

"Daily engineering standup notes"

color
string | null

Folder color in hex format (#RRGGBB). Defaults to #737373.

Pattern: ^#[0-9A-Fa-f]{6}$
예시:

"#27AE60"

응답

Folder created

A folder and its metadata.

id
string
필수

Unique identifier for the folder

예시:

"12345"

workspaceGuid
string
필수

GUID of the workspace the folder belongs to

예시:

"ws_a1b2c3d4"

title
string
필수

Folder title (max 50 characters)

예시:

"Weekly Team Meetings"

description
string
필수

Folder description. Empty string when unset.

예시:

"Notes from our weekly sync"

sharingType
enum<string>
필수

Who can access a folder and the notes inside it.

TypeViewEdit
PRIVATEOnly youOnly you
ALL_MEMBER_VIEWERAll workspace membersNo member-wide edit access
ALL_MEMBER_EDITORAll workspace membersAll workspace members
LIMITEDInvited members onlyInvited members only (per-member role)
  • PRIVATE: Personal folder. Not shared with the workspace.
  • ALL_MEMBER_VIEWER: Every workspace member can view; no member-wide edit access is granted.
  • ALL_MEMBER_EDITOR: Every workspace member can view and edit.
  • LIMITED: Only explicitly invited members can access, each with an individual role (VIEWER or EDITOR).
사용 가능한 옵션:
PRIVATE,
ALL_MEMBER_VIEWER,
ALL_MEMBER_EDITOR,
LIMITED
예시:

"PRIVATE"

parentId
string | null
필수

Parent folder ID. null for root-level folders. In the List Folders response, parentId is also null when the parent folder is not accessible to you.

예시:

"12300"

color
string
필수

Folder color in hex format (#RRGGBB)

예시:

"#4A90D9"

isTeamFolder
boolean
필수

true when the folder is shared with the workspace (any sharingType except PRIVATE); false for PRIVATE folders. Retained for backward compatibility — use sharingType for the precise access level.

예시:

true

createdAt
string<date-time>
필수

ISO-8601 creation timestamp (UTC)

예시:

"2025-01-15T10:30:00Z"

updatedAt
string<date-time>
필수

ISO-8601 last-update timestamp (UTC)

예시:

"2025-01-18T14:20:00Z"