8
Web APIs Best Practices Nathalie Steinmetz http://github.com/natsteinmetz http://linkedin.com/in/nathaliesteinmetz

Web APIs - Best practices

Embed Size (px)

DESCRIPTION

Slides from a Lightning Talk: Some best practices for designing Web APIs

Citation preview

Page 1: Web APIs - Best practices

Web  APIsBest  Practices  

Nathalie  Steinmetz  http://github.com/natsteinmetz  

http://linkedin.com/in/nathaliesteinmetz    

Page 2: Web APIs - Best practices

Resource   POST  /  CREATE  

GET  /  READ  

PUT  /  UPDATE  

DELETE  /    DELETE  

/cats   Create  new  cat  

List  all  cats  

Bulk  update  cats  

Delete  all  cats  

/cats/1   error   Show  cat  1  

Update  cat  1  

Delete  cat  1  

Page 3: Web APIs - Best practices
Page 4: Web APIs - Best practices
Page 5: Web APIs - Best practices
Page 6: Web APIs - Best practices
Page 7: Web APIs - Best practices
Page 8: Web APIs - Best practices

http://apigee.com/about/api-­‐best-­‐practices/restful-­‐api-­‐design-­‐second-­‐edition

http://pages.apigee.com/web-­‐api-­‐design-­‐ebook.html