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

BaaS -appiaries- 概要

gabunomi
January 18, 2013

BaaS -appiaries- 概要

gabunomi

January 18, 2013
Tweet

More Decks by gabunomi

Other Decks in Technology

Transcript

  1. appiaries 6 appiaries BaaS Backend as a Service β 2012/03/22

    2012/11/27 StackMob 2010/10 Kinvey 2010/12 Parse 2011/06
  2. appiaries 7 appiaries JSON , CRUD / / / CRUD,

    OAuth appiaries , CRUD REST API
  3. appiaries 8 appiaries JSON , CRUD / / / CRUD,

    OAuth appiaries , CRUD SDK SDK REST API Wrap SDK HTTP SDK HTTP SDK URI REST API
  4. 13

  5. 28 JSON JSON API _sandbox ID sample_app_abe json ID ID

    https://api-datastore.appiaries.com/v1/dat/_sandbox/sample_app_abe/json/- JSON
  6. 36 /11-20 ⇒ JSON 11 20 • _total _total _total

    _total 29 29 29 29 • _ _ _ _objs objs objs objs JSON JSON JSON JSON • _start _start _start _start 11 11 11 11 • _end _end _end _end 20 20 20 20 • _ _ _ _prev prev prev prev true true true true 11 11 11 11 • _next _next _next _next true true true true 20 20 20 20 ) ) ) ) ※ ”-20” 1 20 ※ “11-” 11 110 API – - API
  7. 39 /-;< 1>;< 2>; ⇒ JSON 1 2 wib km

    wic < 1>, ,< n> in < > ( ) sw (nsw) < > ( ) gt (gte) < > ( ) lt (lte) < > ( ) eq (neq) / exist /-;name.eq. API API – - Matrix URI
  8. 44 API –JSON - JSON JSON _sandbox sample_app_abe json ID

    API datastore, , ID https://api-datastore.appiaries.com/v1/dat/_sandbox/sample_app_abe/json JSON
  9. 45 HTTP POST • JSON • Content-Type ”application/json” $.ajax({ "type":"post",

    “url”:”https://.../<datastore ID>/< ID>/< ID>”, "headers":{"Content-Type":"application/json"}, “data”:”<JSON >”, }); API API –JSON -
  10. 46 HTTP PATCH (POST ) • JSON • Content-Type ”application/json”

    • HTTP PATCH ”proc=patch” HTTP POST POST $.ajax({ "type":"post", “url”:”https://.../<datastoreID>/< ID>/< ID>/<JSON ID>?proc=patch”, "headers":{"Content-Type":"application/json"}, “data”:”<JSON >”, }); API API –JSON -
  11. 47 /< ID>/<JSON ID> DELETE /< ID>/<JSON ID> PATCH /<

    ID>/-;< 1>; PATCH DELETE PUT POST GET GET /< ID>/-;< 1>; /< ID>/<JSON ID> /< ID> /< ID>/-;< 1>; /< ID>/<JSON ID> /dat/<datastore ID>/< ID> ※ /dat/ ⇒ /bin/ API API –JSON -
  12. 50 API – - /< ID>/< ID> DELETE /< ID>/<

    ID> PATCH PATCH DELETE PUT POST GET GET /< ID> /< ID>/-;< 1>; /< ID>/< ID> /usr/<datastore ID>
  13. 54 /tkn/<datastore ID> API – - /< ID>/< ID> DELETE

    PATCH PATCH DELETE PUT POST GET GET /< ID> /< ID>/< ID> ※ ID