Skip to main content
PUT
/
catalog
/
v1
/
sources
/
{sourceKey}
Create a data source
curl --request PUT \
  --url https://{workspaceId}.clinia.cloud/catalog/v1/sources/{sourceKey} \
  --header 'Content-Type: application/json' \
  --header 'X-Clinia-API-Key: <api-key>' \
  --data '{
  "type": "registry"
}'
{
  "key": "<string>",
  "type": "registry"
}

Authorizations

X-Clinia-API-Key
string
header
required

Path Parameters

sourceKey
string
required

Key of the data source, it must follow pattern: ^[a-zA-Z0-9-][\w-]{0,61}$.

Body

application/json
type
enum<string>
default:registry
required
Available options:
registry

Response

A successful response when the data source was created.

type
enum<string>
default:registry
required
Available options:
registry
key
string
I