Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introducción a JSONAPI

Introducción a JSONAPI

Sergio Arbeo

June 25, 2015
Tweet

More Decks by Sergio Arbeo

Other Decks in Programming

Transcript

  1. What  is  JSONAPI?

    View full-size slide

  2. What  is  JSONAPI?

    View full-size slide

  3. /ferrets/aleph
    GET

    View full-size slide

  4. /ferrets/aleph
    GET

    View full-size slide

  5. /ferrets/aleph
    GET

    View full-size slide

  6. /ferrets/aleph
    GET

    View full-size slide

  7. /ferrets/aleph
    GET

    View full-size slide

  8. /ferrets/aleph
    GET

    View full-size slide

  9. /ferrets/aleph
    GET

    View full-size slide

  10. /ferrets/aleph
    GET

    View full-size slide

  11. /ferrets/aleph
    GET

    View full-size slide

  12. /ferrets/aleph
    GET

    View full-size slide

  13. /ferrets/aleph
    GET

    View full-size slide

  14. /ferrets/aleph/rels/owner
    PATCH

    View full-size slide

  15. /ferrets/aleph
    GET

    View full-size slide

  16. /ferrets/aleph/rels/owner
    PATCH

    View full-size slide

  17. /ferrets/aleph
    PATCH

    View full-size slide

  18. /ferrets/aleph
    PATCH

    View full-size slide

  19. /ferrets/aleph
    PATCH

    View full-size slide

  20. /ferrets/aleph
    PATCH

    View full-size slide

  21. /ferrets/aleph
    PATCH

    View full-size slide

  22. /ferrets/aleph
    DELETE

    View full-size slide

  23. /ferrets
    POST

    View full-size slide

  24. /ferrets
    POST

    View full-size slide

  25. /ferrets
    POST
    U U I D

    View full-size slide

  26. /ferrets
    POST
    R ESPON SE

    View full-size slide

  27. Compound
    Documents

    View full-size slide

  28. /ferrets/aleph
    GET

    View full-size slide

  29. /ferrets/aleph
    GET

    View full-size slide

  30. /ferrets/aleph
    GET

    View full-size slide

  31. Ruby  
    Implementation(s)?

    View full-size slide

  32. AMS
    Use  version  0.10!

    View full-size slide

  33. SERIALIZER ADAPTER

    View full-size slide

  34. SERIALIZER ADAPTER

    View full-size slide

  35. SERIALIZER ADAPTER

    View full-size slide