API node administration API¶
The API node can be managed through:
apinode-admincommand-line tool. See Using the apinode-admin tool
- An HTTP REST API.
For POST and PUT requests, the request body must be JSON, with the Content-Type header set to application/json.
For almost all requests, the response will be JSON.
Whether a request succeeded is indicated by the HTTP status code. A 2xx status code indicates success, whereas a 4xx or 5xx status code indicates failure. When a request fails, the response body is still JSON and contains additional information about the error.
Authentication on the admin API is done via the use of API keys. API keys can be managed using the
apinode-admin command-line tool.
The API key must be sent using HTTP Basic Authorization:
- Use the API key as username
- The password can remain blank
Dataiku provides a Python client for the API Node administration API. The client makes it easy to write client programs for the API in Python.
- The API client is already pre-installed in the DSS virtualenv
- From outside of DSS, you can install the Python client by running
pip install dataiku-api-client
Entry point for the DSS APINode admin client
Gets a handle to interact with a service
Returns a handle to interact with authentication
A handle to interact with the settings of an API node service
Deletes the API node service
Disable the service.
Setting a generations mapping automatically enables the service