Skip to content

Latest commit

 

History

History
89 lines (56 loc) · 2.22 KB

notebook.md

File metadata and controls

89 lines (56 loc) · 2.22 KB

Notebook

Get Notebooks or Notebook

GET /notebooks.json | /notebooks/{notebook_id}.json

tw.notebooks.get(query_string, notebook_id)

Update a Notebook

PUT /notebooks/{notebook_id}.json

tw.notebooks.update(notebook_id, body)

Lock the notebook for editing

PUT /notebooks/{notebook_id}/lock.json

tw.notebooks.lock(notebook_id)

Unlock the notebook for editing

PUT /notebooks/{notebook_id}/unlock.json

tw.notebooks.unlock(notebook_id)

Delete a Notebook

DELETE /notebooks/{notebook_id}.json

tw.notebooks.delete(notebook_id)

Copy Notebook

PUT /notebooks/{notebook_id}/copy.json

tw.notebooks.copy(notebook_id, body)

Move Notebook

PUT /notebooks/{notebook_id}/move.json

tw.notebooks.move(notebook_id, body)

Get Comments for a Notebook

GET /notebooks/{notebook_id}/comments.json

tw.notbooks.getComments(notebook_id, query_string)

Create a Comment for a Notebook

POST /notebooks/{notebook_id}/comments.json

tw.notbooks.createComment(notebook_id, body)

Get Tags from a Notebook

GET /notebooks/{notebook_id}/tags.json

tw.notebooks.getTags(notebook_id, query_string)

Update a Tag on a Notebook

PUT /notebooks/{notebook_id}/tags.json

tw.notebooks.updateTag(notebook_id, body)