Your SlideShare is downloading. ×
0
Wednesday, June 13, 12
Bitbucket as a Platform              Building cool shit with Bitbucket’s REST API              Sam Tardif              Con...
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Pic: Not enough timeWednesday, June 13, 12
Pic: ramp up timeWednesday, June 13, 12
Wednesday, June 13, 12
RESTWednesday, June 13, 12
Wednesday, June 13, 12
Bitbucket’s Issue TrackerWednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Pic: Card wallWednesday, June 13, 12
Bitbucket CardsWednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
User clicks login   /api/1.0/oauth/request_token      Authenticate this person for me plz            /api/1.0/oauth/authen...
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Edit columnWednesday, June 13, 12
Drag columnsWednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
VersionsWednesday, June 13, 12
Create a versionWednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Release a versionWednesday, June 13, 12
Building ItWednesday, June 13, 12
http://heroku.comWednesday, June 13, 12
Bootstrap                         http://twitter.github.com/bootstrap/Wednesday, June 13, 12
http://jquery.com/Wednesday, June 13, 12
http://bitbucketjs.bitbucket.org/Wednesday, June 13, 12
1 var bitbucket_cards = bitbucket.repository(                      2       samtardif, bitbucket-cards);                   ...
1      var bitbucket_cards = bitbucket.repository(            2          samtardif, bitbucket-cards);            3        ...
http://flask.pocoo.org/Wednesday, June 13, 12
1 @app.route(/proxy/<path:url>, methods=[...])           2 def proxy(url):           3   client = requests.session(...)   ...
SinatraWednesday, June 13, 12
Why REST RocksWednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Pic: See how BB behaves as a platformWednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
The FutureWednesday, June 13, 12
Wednesday, June 13, 12
1 <app xmlns="http://bitbucket.org/app-1.0.xsd">               2     <slug>bbcards</slug>               3     <name>Bitbuc...
Bitbucket Header                            Remote App in                            an iframeWednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Excitement!Wednesday, June 13, 12
46 Days   $45,000Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Wednesday, June 13, 12
Thank you!Wednesday, June 13, 12
Upcoming SlideShare
Loading in...5
×

Bitbucket as a Platform - Atlassian Summit 2012

909

Published on

Published in: Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
909
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Bitbucket as a Platform - Atlassian Summit 2012 "

  1. 1. Wednesday, June 13, 12
  2. 2. Bitbucket as a Platform Building cool shit with Bitbucket’s REST API Sam Tardif Confluence Developer, AtlassianWednesday, June 13, 12
  3. 3. Wednesday, June 13, 12
  4. 4. Wednesday, June 13, 12
  5. 5. Wednesday, June 13, 12
  6. 6. Pic: Not enough timeWednesday, June 13, 12
  7. 7. Pic: ramp up timeWednesday, June 13, 12
  8. 8. Wednesday, June 13, 12
  9. 9. RESTWednesday, June 13, 12
  10. 10. Wednesday, June 13, 12
  11. 11. Bitbucket’s Issue TrackerWednesday, June 13, 12
  12. 12. Wednesday, June 13, 12
  13. 13. Wednesday, June 13, 12
  14. 14. Wednesday, June 13, 12
  15. 15. Wednesday, June 13, 12
  16. 16. Wednesday, June 13, 12
  17. 17. Wednesday, June 13, 12
  18. 18. Wednesday, June 13, 12
  19. 19. Wednesday, June 13, 12
  20. 20. Pic: Card wallWednesday, June 13, 12
  21. 21. Bitbucket CardsWednesday, June 13, 12
  22. 22. Wednesday, June 13, 12
  23. 23. Wednesday, June 13, 12
  24. 24. User clicks login /api/1.0/oauth/request_token Authenticate this person for me plz /api/1.0/oauth/authenticate Thanks, access tokens plz /api/1.0/oauth/access_token Authenticated REST calls /api/1.0/*Wednesday, June 13, 12
  25. 25. Wednesday, June 13, 12
  26. 26. Wednesday, June 13, 12
  27. 27. Wednesday, June 13, 12
  28. 28. Edit columnWednesday, June 13, 12
  29. 29. Drag columnsWednesday, June 13, 12
  30. 30. Wednesday, June 13, 12
  31. 31. Wednesday, June 13, 12
  32. 32. Wednesday, June 13, 12
  33. 33. Wednesday, June 13, 12
  34. 34. Wednesday, June 13, 12
  35. 35. VersionsWednesday, June 13, 12
  36. 36. Create a versionWednesday, June 13, 12
  37. 37. Wednesday, June 13, 12
  38. 38. Wednesday, June 13, 12
  39. 39. Release a versionWednesday, June 13, 12
  40. 40. Building ItWednesday, June 13, 12
  41. 41. http://heroku.comWednesday, June 13, 12
  42. 42. Bootstrap http://twitter.github.com/bootstrap/Wednesday, June 13, 12
  43. 43. http://jquery.com/Wednesday, June 13, 12
  44. 44. http://bitbucketjs.bitbucket.org/Wednesday, June 13, 12
  45. 45. 1 var bitbucket_cards = bitbucket.repository( 2 samtardif, bitbucket-cards); 3 4 bitbucket_cards.issues({ 5 search: version=1.0 6 }, 7 8 function (issues) { 9 $.each(issues, function () { 10 // render it 11 }); 12 } 13 );Wednesday, June 13, 12
  46. 46. 1 var bitbucket_cards = bitbucket.repository( 2 samtardif, bitbucket-cards); 3 4 bitbucket_cards.issues(search, callback); 5 bitbucket_cards.details(callback); 6 bitbucket_cards.branches(callback); 7 bitbucket_cards.changesets(callback); 8 bitbucket_cards.file(abc123, path, callback); 9 bitbucket_cards.followers(callback);Wednesday, June 13, 12
  47. 47. http://flask.pocoo.org/Wednesday, June 13, 12
  48. 48. 1 @app.route(/proxy/<path:url>, methods=[...]) 2 def proxy(url): 3 client = requests.session(...) 4 5 if request.method == GET: 6 query = ?... 7 response = client.get(API_BASE + url + query) 8 9 return response.contentWednesday, June 13, 12
  49. 49. SinatraWednesday, June 13, 12
  50. 50. Why REST RocksWednesday, June 13, 12
  51. 51. Wednesday, June 13, 12
  52. 52. Wednesday, June 13, 12
  53. 53. Wednesday, June 13, 12
  54. 54. Wednesday, June 13, 12
  55. 55. Wednesday, June 13, 12
  56. 56. Pic: See how BB behaves as a platformWednesday, June 13, 12
  57. 57. Wednesday, June 13, 12
  58. 58. Wednesday, June 13, 12
  59. 59. The FutureWednesday, June 13, 12
  60. 60. Wednesday, June 13, 12
  61. 61. 1 <app xmlns="http://bitbucket.org/app-1.0.xsd"> 2 <slug>bbcards</slug> 3 <name>Bitbucket Cards</name> 4 <description>Card wall.</description> 5 <developer>Atlassian</developer> 6 <website>http://www.atlassian.com</website> 7 <repo> 8 <tab key="cwtab" label="Card Wall" 9 url="http://bitbucketcards.com/"/> 10 </repo> 11 </app>Wednesday, June 13, 12
  62. 62. Bitbucket Header Remote App in an iframeWednesday, June 13, 12
  63. 63. Wednesday, June 13, 12
  64. 64. Wednesday, June 13, 12
  65. 65. Excitement!Wednesday, June 13, 12
  66. 66. 46 Days $45,000Wednesday, June 13, 12
  67. 67. Wednesday, June 13, 12
  68. 68. Wednesday, June 13, 12
  69. 69. Wednesday, June 13, 12
  70. 70. Thank you!Wednesday, June 13, 12
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×