GET /facet =========================== Request Parameters ========================== ======= ========== ====================================================================== Parameter Type Default Description ========================== ======= ========== ====================================================================== facetList String metadata fields to create facets limit Integer number of entries per facet, defaults to 10, 0 for all entries order String count:desc order by count or term ascending (asc) or descending, (desc) e.g. setting the string "term:asc". sid String TextGrid SessionID sandbox boolean false show sandboxed (not yet finally published) data ========================== ======= ========== ====================================================================== Response objects belonging to a project, filter objects which are in an aggregation in same project. Example request:: curl "http://textgrid-esx2.gwdg.de/1.0/tgsearch-public/facet?facet=edition.agent.value&limit=0&order=term" Example response:: Abraham a Sancta Clara Abschatz, Hans Aßmann von Ahlefeld, Charlotte von AischylosAlberti, Konrad Alexis, Willibald [...] Example request:: curl "http://textgrid-esx2.gwdg.de/1.0/tgsearch-public/facet?facet=work.genre&facet=edition.agent.value&facet=format&facet=project.value&limit=3" Example response:: Logau, Friedrich von Bartsch, Karl Grässe, Johann Georg Theodor verse other prose image/jpeg text/xml text/tg.work+xml St. Matthias Test 07 Digitale Bibliothek Bonaventura - Nachtwachen