You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.
frankrousseau edited this page Nov 5, 2012
·
4 revisions
Simple JSON REST API to manage Cozy Cloud indexation
POST /index/ => Index given fields of given document.
Expected fields:
* doc: the document to index as JSON.
* fields: list of fields to index for this document.
DELETE /index/:id => Delete index for given ID.
POST /search/ => Returns a list of ids that matches document results of given query search.
Expected fields:
* query: the search query string
* docType: the type of document to look for
DELETE /clear-all => Remove all indexes
GET / => Return current version