v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-27192307552.2 KB
service_connectors

Validate And Verify Service Connector Config

Verifies if a service connector configuration has access to resources.

This requires the service connector implementation to be installed on the ZenML server, otherwise a 501 Not Implemented error will be returned.

Args: connector: The service connector configuration to verify. list_resources: If True, the list of all resources accessible through the service connector is returned.

Returns: The list of resources that the service connector configuration has access to.

post/api/v1/service_connectors/verify

Query parameters

list_resourcesboolean

Request body

userstring uuid required
workspacestring uuid required
namestring required
descriptionstring
auth_methodstring required
resource_typesstring[]
resource_idstring nullable
supports_instancesboolean
expires_atstring date-time nullable
expires_skew_toleranceinteger nullable
expiration_secondsinteger nullable
configurationobject
secretsobject
labelsobject

Response

Successful Response

idstring uuid nullable
namestring nullable
errorstring nullable