Skip to main content

Identity

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: identity · 4 operations

POST /v1/identity/{tenant_slug}/link​

Link Artifacts

Link two projects into the same cross-format API identity group.

Operation id: link_artifacts_v1_identity__tenant_slug__link_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for link artifacts.

Responses

StatusDescriptionBody
200Successful response for link artifacts.application/json object
422Validation Errorapplication/json HTTPValidationError

Unlink Artifacts

Remove relatedProjectId from the shared identity group.

Operation id: unlink_artifacts_v1_identity__tenant_slug__link_delete

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for unlink artifacts.

Responses

StatusDescriptionBody
200Successful response for unlink artifacts.application/json object
422Validation Errorapplication/json HTTPValidationError

Get Related Artifacts

List artifacts linked to project_id in the same identity group.

Operation id: get_related_artifacts_v1_identity__tenant_slug__projects__project_id__related_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
project_idpathstringyesProject identifier that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get related artifacts.application/json array of RelatedArtifactRef
422Validation Errorapplication/json HTTPValidationError

GET /v1/identity/{tenant_slug}/projects/{project_id}/suggestions​

Get Identity Suggestions

Heuristic link suggestions for project_id (never auto-applied).

Operation id: get_identity_suggestions_v1_identity__tenant_slug__projects__project_id__suggestions_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
project_idpathstringyesProject identifier that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get identity suggestions.application/json array of IdentitySuggestionRef
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

IdentitySuggestionRef​

A heuristic suggestion to link two artifacts (MFI-6.4, #4410).

Suggestions are never auto-applied — the user must confirm a link action.

PropertyTypeRequiredDescription
projectIdstringyesProject ID.
namestringyesHuman-readable name.
slugstringyesURL-safe identifier.
publishablebooleannoPublishable.
sourceFormatstring or nullnoSource Format.
protocolstring or nullnoProtocol.
reasonstringyesReason.
scoreintegeryesRelative ranking score (higher = stronger match).

LinkArtifactsRequest​

Link two projects into the same cross-format API identity group.

PropertyTypeRequiredDescription
projectIdstringyesProject ID.
relatedProjectIdstringyesRelated Project ID.

RelatedArtifactRef​

One related artifact in a cross-format API identity group (MFI-6.4, #4410).

Projects linked manually or via conversion provenance share an api_identity group; each member carries enough catalog/project metadata for the Related artifacts panel (format pills, name, link target) without a second round-trip.

PropertyTypeRequiredDescription
projectIdstringyesProject ID.
namestringyesHuman-readable name.
slugstringyesURL-safe identifier.
publishablebooleannoPublishable.
sourceFormatstring or nullnoSource Format.
protocolstring or nullnoProtocol.
linkSourcestringnoLink Source.
deletedbooleannoDeleted.

UnlinkArtifactsRequest​

Remove one project from a shared identity group (pairwise unlink).

PropertyTypeRequiredDescription
projectIdstringyesProject ID.
relatedProjectIdstringyesRelated Project ID.