| Endpoint: | /notebooks/notebooks |
|---|---|
| Method: | GET |
| Request header: | Authorization: Bearer <access_token> |
| Description: | Get the list of notebooks of the user that makes the request |
| Field | Type |
|---|---|
| message | string |
| message_type | string |
| result |
list of objects
- id: string
- name: string
- tag_colors: object (optional)
- tag1: string
- ...
- tagN: string
- created: string
- last_modified: string
|
| Endpoint: | /notebooks/notebook/<notebook_id> |
|---|---|
| Method: | GET |
| Request header: | Authorization: Bearer <access_token> |
| Description: | Get a notebook |
| Field | Type |
|---|---|
| message | string |
| message_type | string |
| result |
object
- id: string
- name: string
- tag_colors: object (optional)
- tag1: string
- ...
- tagN: string
- created: string
- last_modified: string
|
| Endpoint: | /notebooks/notebook |
|---|---|
| Methods: | POST, PUT |
| Request header: | Authorization: Bearer <access_token> |
| Description: | Create a notebook |
| Field | Type | Required |
|---|---|---|
| name | string | Yes |
| tag_colors |
object
- tag1: string
- ...
- tagN: string
|
No |
| Field | Type |
|---|---|
| message | string |
| message_type | string |
| result |
object
- notebook_id: string
|
| Endpoint: | /notebooks/notebook/<notebook_id> |
|---|---|
| Method: | PUT |
| Request header: | Authorization: Bearer <access_token> |
| Description: | Update some or all fields of a notebook |
| Field | Type | Required |
|---|---|---|
| name | string | Yes |
| tag_colors |
object
- tag1: string
- ...
- tagN: string
|
No |
| Field | Type |
|---|---|
| message | string |
| message_type | string |
| Endpoint: | /notebooks/notebook/<notebook_id> |
|---|---|
| Method: | DELETE |
| Request header: | Authorization: Bearer <access_token> |
| Description: | Delete a notebook |
| Field | Type |
|---|---|
| message | string |
| message_type | string |