Your SlideShare is downloading. ×
REST
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

REST

1,324
views

Published on

Short talk given at Atlassian Summit 2009 to discuss how Atlassian is using REST and how Atlassian plugins can use REST too.

Short talk given at Atlassian Summit 2009 to discuss how Atlassian is using REST and how Atlassian plugins can use REST too.

Published in: Technology, Design

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,324
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
29
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Don Brown REST
  • 2. State of Atlassian APIs Hard Easy
  • 3. From SOAP. . . http://www.flickr.com/photos/psd/2217422218/
  • 4. . . . To REST
  • 5. REST - The Way of the Web
    • Nouns, not verbs
    • Standard methods
    • Multiple representations
    • Links everywhere
  • 6. Resources with Uniform Interface
    • GET
      • http://srv/spaces/ addspacenotification .action? key=AJOBS
    • POST
      • http://srv/spaces/AJOBS/notifications
    • GET, PUT, DELETE
      • http://srv/spaces/AJOBS/notifications/3
  • 7. Follow HTTP Traffic Laws
    • GET - No side-effects, can repeat
    • POST - Changes state, cannot repeat
    • PUT - Changes state, can repeat
    • DELETE - Changes state, can repeat
  • 8. One API for All
  • 9. REST in Action
  • 10. Not everything is a resource
    • Account:
      • GET . . . Yep
      • POST . . . Yep
      • PUT . . . Yep
      • DELETE . . . Yep
      • Renew?
  • 11. Resource or Operation?
    • Renew as a Resource
    • POST
      • http://app/accounts/3/renewal
    • Renew as an Operation
    • POST
      • http://app/accounts/3/renew
  • 12. REST: the silver bullet?
  • 13. Thirsty for More?
    • Atlassian REST Guidelines
    • http://confluence.atlassian.com/x/coDvCg
    • Build your own
    • http://confluence.atlassian.com/x/FwENCw