Skip to main content
POST
Create or update one asset

Authorizations

x-api-key
string
header
required

The API key of the subscription. Each operation names the scope it needs in x-pat-scopes: api_read (in the interface Read) or api_write (Read and Write). The key is created under Administration › Integrations › API Keys.

Body

application/json
schemaId
string<uuid>
required

The type of the asset.

id
string<uuid>

A correlation id of this asset in the request. The ingest service reports its result under it (idPair.fakeId). A new GUID by default.

object
General details of the asset · object
objectData
any

The data of the asset as JSON, structured by the type. Needed for identity matching.

essentials
Essentials · object
facets
object

Further data by name, each a list of JSON values.

Response

The asset was updated.

The answer of the ingest service for one asset. Properties without a value are omitted.

id
string<uuid>

The id of the asset.

idPair
Id pair · object
schemaId
string<uuid>
previousSchemaId
string<uuid>

The former type, when the update changed it.

idMatchResponse
object

The result of the identity matching.

isCreate
boolean

True when the asset was created.

matchedObjectInRecycleBin
boolean

True when a protected match is in the recycle bin.

errorMessage
string

The reason, as a technical English sentence. Present on a rejection.

isSuccess
boolean

True when errorMessage is empty.