Admin API syntax and general usage
The Cloudera Data Visualization Admin API has a consistent pattern for each data type.
The Admin API has the following basic access syntax:
[http | https]:/host:port/arc/adminapi/version/data_type[/object_id][?options]
The parameters of this line are in Admin API syntax parameters.
HTTP operations
The HTTP method specifies the following operation types:
- GET
-
List of an item identified through the
object_idorobject_name, or all items, with default summary information. The URL option 'detail=true' returns all data details. - POST
-
Update: The fields in the request data update the item with matching
object _id.Create: If the URL or request data does not specify the
object_id, ArcViz creates a new data item.Validate: To verify that the connection is successful, issue the
POSTcommand two times:- Issue the POST command with the
validateflag set totrue. - On success, issue the same POST command without the validate flag. This step saves the data.
- Issue the POST command with the
- DELETE
-
Delete the specified item.
HTTP access through Python
While you can use all standard HTTP access methods, we recommend the python request modules approach for HTTP operations.
