![](/datahub.png?_cchid=a0f4d1a64b703cff3896949f0f616888)
DatahubRestHook
DataHubCreates a DataHub Rest API connection used to send metadata to DataHub. Takes the endpoint for your DataHub Rest API in the Server Endpoint(host) field.
Access Instructions
Install the DataHub provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
datahub_rest_conn_idstrReference to the DataHub Rest connection.
Documentation
Creates a DataHub Rest API connection used to send metadata to DataHub. Takes the endpoint for your DataHub Rest API in the Server Endpoint(host) field.
URI example:
AIRFLOW_CONN_DATAHUB_REST_DEFAULT='datahub-rest://rest-endpoint'