Changes

stoney core: REST API

485 bytes added, 14:24, 16 December 2013
/* Search helper */
=== Search helper ===
 
We want to provide an omni-search/ElasticSearch style search function and the most flexible approach is by doing the search completely on the server-side.
<code>https://api.example.com/v1/search?q=fluffy+dragon</code>.
 
We already have a generic [[#Filtering.2C_sorting_and_searching|full-text search]] mechanism defined for all resources. Why not use the same mechanism but apply it on the root resource (<code>https://api.example.com/v1/?q=fluffy+dragon</code>), this way we don't have to break the REST principal (method versus resource). The search will then return simple JSON objects with a type and a location URI. --[[User:Chrigu|Chrigu]] ([[User talk:Chrigu|talk]]) 15:24, 16 December 2013 (CET)
=== Reseller resource ===
SLB
385
edits