cURL
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>" } }
Asset created successfully
The response is of type object.
object