Skip to main content
POST
/
api
/
entities
/
custom
/
v1
/
features
UpsertEntityFeature
curl --request POST \
  --url https://developer.synq.io/api/entities/custom/v1/features \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "feature": {
    "entityId": {
      "airflowDag": {
        "integrationId": "<string>",
        "dagId": "<string>"
      }
    },
    "checkCategory": {
      "kind": "<string>",
      "package": "<string>",
      "category": "<string>"
    },
    "workspace": "<string>",
    "featureId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z"
  }
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
feature
Feature · object
required

The feature to create or update.

Response

200 - application/json

Success

The response is of type UpsertEntityFeatureResponse · object.