Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 1.42 KB

link.md

File metadata and controls

65 lines (41 loc) · 1.42 KB

Link

Get links or link

GET /links.json | /links/{link_id}.json

tw.links.get(link_id)

Create a link

POST /projects/{project_id}/links.json

tw.links.create(project_id, body)

Update a link

PUT /links/{link_id}.json

tw.links.update(link_id, body)

Delete a Link

DELETE /links/{link_id}.json

tw.links.delete(link_id)

Get Comments for a Link

GET /links/{link_id}/comments.json

tw.links.getComments(link_id, query_string)

Create a Comment for a Link

POST /links/{link_id}/comments.json

tw.links.createComment(link_id, body)

Get Tags from a Link

GET /links/{link_id}/tags.json

tw.links.getTags(link_id, query_string)

Update a Tag on a Link

PUT /links/{link_id}/tags.json

tw.links.updateTag(link_id, body)