POST
/
assets
curl --request POST \
  --url https://api.matia.io/v1/assets \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "type": "<string>",
  "description": "<string>",
  "connection": {},
  "connectionType": "source"
}'
{
  "code": "<string>",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "type": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

201
application/json

Asset created successfully

The response is of type object.