Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Extended import summary

By default, the job summary only contains the number of resources that the job added, updated, and removed. To get the details of what each import changed, set the extendedSummary parameter to JSON. The job then writes an extended summary file that lists every asset and complex relation that the job added or changed, including the old and new values.

The extended summary is also available for simulations, which you start with simulation=true. In that case, nothing changes in Collibra and the file lists the changes that the import would make.

Retrieving the extended summary

When the job finishes, its summary contains the ID of the extended summary file in the extendedSummaryFileId property:

{
  "message": {
    "type": "IMPORT",
    "extendedSummaryFileId": "00000000-0000-0000-0000-000000000000"
  }
}

Use the Core REST API v2 GET method of the /files/{fileId} endpoint with this ID to download the file. Note the following:

  • The file is temporary and is available for 8 hours.

  • When you enable both extendedSummary and saveResult, the base summary keeps its types section.

Limit

The file lists at most 10000 resources. If the import affects more resources, limitExceeded is true and resources is empty. In that case, use the counts in the base summary or split the import into smaller jobs.

File structure

Property
Description

type

IMPORT, or SIMULATION_REPORT for a simulation.

jobId

The ID of the import job.

limitExceeded

true if the import affected more than 10000 resources and the list of resources is omitted.

resources

The list of added or changed resources. Each entry has a resourceType of Asset or ComplexRelation, and an operation of ADD or CHANGE. Resources are identified by identifier.id. Empty properties are omitted.

Single-value properties, such as name, displayName, domain, type, status, and tags, have the form { "old": ..., "new": ... }. For an ADD operation, only new is present. Collections, such as attributes, relations, responsibilities, and legs, have the form { "added": [...], "removed": [...] }.

Asset properties

Property
Description

name, displayName

The old and new name and display name.

domain

The old and new domain, as { "name": ..., "community": { "name": ... } }.

type

The old and new asset type, as { "publicId": ... }.

status

The old and new status, as { "name": ... }.

attributes

The values that were added and removed, keyed by attribute type public ID.

relations

The related assets that were added and removed, as { "name": ..., "domain": { ... } }. The keys have the form <relation type public ID>:SOURCE or <relation type public ID>:TARGET, which is the role of the asset in the relation.

responsibilities

The owners that were added and removed, keyed by role name. Each owner is either { "user": { "id": ..., "userName": ... } } or { "userGroup": { "id": ..., "name": ... } }.

tags

The old and new sorted list of tags of the asset.

Complex relations have the properties type, which is the old and new complex relation type, legs, which are the assets that were added and removed, keyed by leg public ID, and attributes.

Example: changed asset

Last updated

Was this helpful?