There is a set of four APIs for CRUD operations on self-testing partners.
Follow the Databricks Authentication docs to set up authentication with the self-testing partner APIs. The use of personal access tokens are recommended over username and password.
After creating the self-testing partner, set up the Authorization header that Partner Connect will use with your endpoints.
https://<instance-name>.cloud.databricks.com/api/2.0/partnerhub/self-test-partners/create/
Create expects a partner configuration in JSON format.
The ID of the created self-testing partner will be returned on success.
Ensure that authorization is set up before using the self-testing partner.
https://<instance-name>.cloud.databricks.com/api/2.0/partnerhub/self-test-partners/get/
The request body is empty.
The names and IDs of active self testing partners will be returned. Currently, there can only be one self-testing partner per workspace.
{
"partners": [
{
"id": "363E6E44B000020",
"name": "Self-Testing Partner"
}
]
}
https://<instance-name>.cloud.databricks.com/api/2.0/partnerhub/self-test-partners/update/[id]
The call to the endpoint must include the ID of the self-testing partner to be updated.
For instance, call https://<instance-name>.cloud.databricks.com/api/2.0/partnerhub/self-test-partners/update/363E6E44B000020
if the ID is 363E6E44B000020
.
Update expects a partner configuration in JSON format.
Empty on success.
https://<instance-name>.cloud.databricks.com/api/2.0/partnerhub/self-test-partners/delete/[id]
The call to the endpoint must include the ID of the self-testing partner to be deleted.
For instance, call https://<instance-name>.cloud.databricks.com/api/2.0/partnerhub/self-test-partners/delete/363E6E44B000020
if the ID is 363E6E44B000020
.
The request body is empty.
Empty on success.