REST API
Get snippets of current user
GET http://{host}:{port}/{context}/rest/snippets/1.0/snippets
curl -u username:password -H "Content-Type:application/json" http://bitbucket.example.com/rest/snippets/1.0/snippets
Get starred snippets of current user
Browse snippets
Browse snippets of user
Get snippets of category
Get snippet by GUID
Get comment by GUID
Create snippet
Create comment
Update snippet
Update comment
Delete snippet
Delete comment
Â