Content¶
{"account": {"name": "<new account name>"} }
https://dydra.com/system/accounts/<account name>/repositories/<repository-name>/views
Returns a json document which records the metadata about the repository views.
In order to create a view, post to the abstract account resource:
https://dydra.com/system/accounts
Content-Type: application/json
{"account": {"name": "<new account name>"} }
In order to delete an view, delete the specific resource:
https://dydra.com/system/accounts/<account>/repositories/<repository>/views/<view>
Retrieve metadata concerning a given view:
https://dydra.com/system/accounts/<account>/repositories/<repository>/views/<view>
Content-Type: application/json
{"@type": "view",
"name": view name,
"location": view host-specific HTTP API URL,
"identifier": view service metadata resource identifier
"constructPatterns": an array of construct query predicate patterns,
"modifyPatterns": an array of update query insertion patterns,
"wherePatterns": an array of select query insertion patterns,
"predicates": an array of predicate present in the view,
"references": {"services": an array of any device locations present in the view,
"views": an array of any view locations present in the view
},
"description": view description text
}