Versions Compared

Key

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

...

Path
Request
Response
Notes
PUT /v3/namespaces/<namespace>/streams/<stream>/views/<view>
ViewSpecification
{
  "
stream""stream1",  "
format": <same as before>
}
 
created new stream view -> 201 Created
modified existing stream view -> 200 OK 
Creates or modifies a view.
GET /v3/namespaces/<namespace>/streams/<stream>/views/<view> {

ViewDetail (ViewSpecification with an "id"

:"someview""stream""stream1

field)

{"id":"view1""format": ..}

Get details of an individual view.
GET /v3/namespaces/<namespace>/streams/<stream>/views  ["view1", "view2", "view3"]Lists all views.
DELETE /v3/namespace/<namespace>/streams/<stream>/view/<view>  Deletes a view.
GET /v3/namespaces/<namespace>/stream/<stream>/views 
[
  {"id":"someview""stream""stream1""format": ..},
  {"id":"otherview""stream""stream2""format": ..}
]
Lists all views associated with a stream.

...