curl --request POST \
--url https://api.askparable.com/api/artifacts/publish-artifact \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"artifactId": "<string>",
"tableName": "<string>",
"description": "<string>",
"name": "<string>"
}
'import requests
url = "https://api.askparable.com/api/artifacts/publish-artifact"
payload = {
"artifactId": "<string>",
"tableName": "<string>",
"description": "<string>",
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
artifactId: '<string>',
tableName: '<string>',
description: '<string>',
name: '<string>'
})
};
fetch('https://api.askparable.com/api/artifacts/publish-artifact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/artifacts/publish-artifact"
payload := strings.NewReader("{\n \"artifactId\": \"<string>\",\n \"tableName\": \"<string>\",\n \"description\": \"<string>\",\n \"name\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"canonicalPersonSource": true,
"connectorTapId": "<string>",
"createdAt": "<string>",
"enabled": true,
"id": "<string>",
"kind": "override",
"name": "<string>",
"outputSchema": {},
"tenantConnectorId": "<string>",
"updatedAt": "<string>",
"artifactId": "<string>",
"config": {
"catalogSlug": "<string>",
"materializedDefault": true,
"selectedFields": [
"<string>"
],
"storageUri": "<string>",
"systemDisabled": true
},
"description": "<string>",
"enabledSince": "<string>"
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}publishArtifact
Publish an upload-ready TenantArtifact with a valid dataSchema as a
TenantConnectorTap (EDR-0021 glue).
Creates the workspace’s Artifact-connector TenantConnector if missing, then
creates a TenantConnectorTap whose outputSchema is a snapshot copy of
artifact.dataSchema. The artifact’s schema and the tap’s outputSchema
evolve independently after publish.
curl --request POST \
--url https://api.askparable.com/api/artifacts/publish-artifact \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"artifactId": "<string>",
"tableName": "<string>",
"description": "<string>",
"name": "<string>"
}
'import requests
url = "https://api.askparable.com/api/artifacts/publish-artifact"
payload = {
"artifactId": "<string>",
"tableName": "<string>",
"description": "<string>",
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
artifactId: '<string>',
tableName: '<string>',
description: '<string>',
name: '<string>'
})
};
fetch('https://api.askparable.com/api/artifacts/publish-artifact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/artifacts/publish-artifact"
payload := strings.NewReader("{\n \"artifactId\": \"<string>\",\n \"tableName\": \"<string>\",\n \"description\": \"<string>\",\n \"name\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"canonicalPersonSource": true,
"connectorTapId": "<string>",
"createdAt": "<string>",
"enabled": true,
"id": "<string>",
"kind": "override",
"name": "<string>",
"outputSchema": {},
"tenantConnectorId": "<string>",
"updatedAt": "<string>",
"artifactId": "<string>",
"config": {
"catalogSlug": "<string>",
"materializedDefault": true,
"selectedFields": [
"<string>"
],
"storageUri": "<string>",
"systemDisabled": true
},
"description": "<string>",
"enabledSince": "<string>"
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Workspace slug. Overrides subdomain-based workspace resolution when provided.
"acme"
Optional request correlation ID echoed back in the response.
"550e8400-e29b-41d4-a716-446655440000"
Body
Input for publishing a TenantArtifact as a TenantConnectorTap. The artifact
must be READY with a non-null dataSchema. Publish creates a fresh
TenantConnectorTap whose outputSchema is a snapshot copy of
artifact.dataSchema at publish time; the two diverge thereafter.
Optional name overrides the auto-derived {slug(filename)}-{first 8 hex of artifactId}
default; on a unique-index collision the request returns NAME_ALREADY_EXISTS.
tableName becomes the dataset/table identifier in the data catalog and is
used by the query layer when querying the published data. It is also stored
as the artifact catalogSlug / table identity on the published ARTIFACT tap.
Response
Successful response
Per-workspace tap configuration. Either narrows a platform ConnectorTap's
output schema for this workspace (override case) or stands in for an
artifact-derived tap (artifact case). See EDR-0021 for the model.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes