Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Facet HTTP API, client, CLI
  • Facets can be a view of a stream (not dataset yet)
  • Hive tables will be created for facets when explore is enabled

Facet HTTP API

Path
Request
Response
Notes
PUT /v3/namespaces/<namespace>/facets/<facet>
{
  "stream""stream1",
  "format": <same as before>
}
 Creates or modifies a facet.
GET /v3/namespaces/<namespace>/facets/<facet> 
{"id":"someView""stream""stream1""format": ..}
Get details of an individual facet.
GET /v3/namespaces/<namespace>/facets  Lists all facets.
DELETE /v3/namespace/<namespace>/facet/<facet>  Deletes a facet.
GET /v3/namespaces/<namespace>/stream/<stream>/facets 
[
  {"id":"someFacet""stream""stream1""format": ..},
  {"id":"otherFacet""stream""stream2""format": ..}
]
Lists all facets associated with a stream.

...