API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · structure_relations

Structure Relation Schema

Schema ID
structure_relation
Collection
structure_relations
Permissions
  • Readstructure_relation_view
  • Createstructure_relation_create
  • Editstructure_relation_edit
  • Deletestructure_relation_delete
Relationships

Fields

Structure Relation Schema

structure_relations4 permissions

Stored edge of the structure analysis (BSI 200-2)

partyIduuidoptional

Organization; null belongs to the own organization

nullable
sourceAssetIduuidrequired→ asset

Upstream asset

targetAssetIduuidrequired→ asset

Downstream asset, or the location id when targetKind is LOCATION

targetKindstringoptional

What targetAssetId names; missing means ASSET

ASSETLOCATIONnull
nullable
typestringrequired

Kind of the relation

USESRUNS_ONDEPENDS_ONCONNECTED_TOLOCATED_IN
notestringoptional

Free note

max 2000 charactersnullable
linkedFreeTextstringoptional

Entry of inputSystems/outputSystems this relation resolves. The free text itself stays on the asset (no backfill).

max 500 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/structure_relations — List, paginated + filterable
  • GET /api/v1/structure_relations/<id> — Single entity
  • POST /api/v1/structure_relations — Create
  • PATCH /api/v1/structure_relations/<id> — Partial update
  • DELETE /api/v1/structure_relations/<id> — Soft delete
  • GET /api/v1/structure_relations/<id>/timeline — Audit + activities

Search