Concepts: Aggregates, Aggregate Versions, Lineages
A quick lookup of the main terms used by the Aggregates API.
- Aggregate folder
A container that organises aggregates within a project. Most operations address an aggregate through its folder. See Aggregate Folders.
- Aggregate
A saved, reusable selection of model data: which models to include and, optionally, which parts of them. Each aggregate has a name and a type - for example, a Model Coordination search set. The selection is stored as a filter. See Aggregate Filters.
- Aggregate extension (type)
The type of an aggregate, managed as an extension. Each type has an ID (for example,
construction.modelCoordination:searchSet-1.0.0for a Model Coordination search set) and a schema describing the type-specific data an aggregate of that type carries. See Aggregate Extensions.- Aggregate version
A numbered, immutable revision of an aggregate’s filter. Each change to the definition is saved as a new version; existing versions are never modified. The most recently created version is the tip version.
- Aggregate tip version
The latest version an aggregate has - the most recently created version.
- Snapshot
The compiled result of evaluating an aggregate version’s filter against a specific set of source file versions. Creating a version only saves the definition; it does not evaluate the filter or produce results.
- Lineage URN
A URN that identifies a model independently of version: all versions of a file share the same lineage URN. Because aggregate filters reference models by lineage, you can ask which aggregate versions depend on a given model.
- Checksum
An opaque string describing the current state of an object: an aggregate, its extensions or a snapshot. Every read returns the object’s current checksum, and every update must pass it back. If the object has changed since you read it, the checksum no longer matches and the update is rejected with
409 Conflict- so one update can’t silently overwrite another.