...
Path | Request | Response | Notes | |||||
---|---|---|---|---|---|---|---|---|
PUT /v3/namespaces/<namespace>/streams/<stream>/views/<view> | ViewSpecification { " : "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" : "stream1field)
| Get details of an individual view. | GET||||||
DELETE /v3/ | namespacesnamespace/<namespace>/ | viewsLists 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. |
...