mex.backend.preview package¶
Submodules¶
mex.backend.preview.main module¶
- mex.backend.preview.main.preview_item(stableTargetId: Identifier, ruleSet: AccessPlatformRuleSetRequest | ActivityRuleSetRequest | BibliographicResourceRuleSetRequest | ConsentRuleSetRequest | ContactPointRuleSetRequest | DistributionRuleSetRequest | OrganizationRuleSetRequest | OrganizationalUnitRuleSetRequest | PersonRuleSetRequest | PrimarySourceRuleSetRequest | ResourceRuleSetRequest | VariableRuleSetRequest | VariableGroupRuleSetRequest) MergedAccessPlatform | MergedActivity | MergedBibliographicResource | MergedConsent | MergedContactPoint | MergedDistribution | MergedOrganization | MergedOrganizationalUnit | MergedPerson | MergedPrimarySource | MergedResource | MergedVariable | MergedVariableGroup ¶
Preview the merging result when the given rule would be applied.
- mex.backend.preview.main.preview_items(q: Annotated[str, Query(PydanticUndefined)] = '', identifier: Identifier | None = None, entityType: Annotated[Sequence[MergedType], Query(PydanticUndefined)] = [], skip: Annotated[int, Query(PydanticUndefined)] = 0, limit: Annotated[int, Query(PydanticUndefined)] = 10) PreviewItemSearch ¶
Search for merged item previews by query text or by type and identifier.
In contrast to /merged-item, this endpoint does not validate the existence of required fields or the length restrictions of lists.