User Tools

Site Tools


misc:api_building_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

misc:api_building_notes [2016/07/15 18:58] – created mithatmisc:api_building_notes [2016/07/15 19:10] (current) – [Define your endpoints] mithat
Line 3: Line 3:
 ===== Define your endpoints ===== ===== Define your endpoints =====
   * ''api/v1/things'' => list of all things   * ''api/v1/things'' => list of all things
-  * ''api/v1/things/<id>'' => the thing with id of id+  * ''api/v1/things/<id>'' => the thing with id of <id>
   * ''api/v1/things/<id>/subthings'' => a things's subthings   * ''api/v1/things/<id>/subthings'' => a things's subthings
   * ''api/v1/thing/<id>/subthings/<id>'' => one of thing's subthings   * ''api/v1/thing/<id>/subthings/<id>'' => one of thing's subthings
-  * ''api/v1/search?q=thing+to+search+for&foo=other+thing+  * ''api/v1/search?q=thing+to+search+for&foo=other+thing''
  
 ===== Client ===== ===== Client =====
misc/api_building_notes.1468609108.txt.gz · Last modified: 2016/07/15 18:58 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki