Identity
Generated from apiome-rest/openapi.yaml (API version 1.719.0) — do not edit by hand. How to authenticate is on the REST API reference.
Tag: identity · 5 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Request body (required)
Request body for link artifacts.
application/json—LinkArtifactsRequest
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for link artifacts. | application/json object |
| 422 | Validation Error | application/json HTTPValidationError |
DELETE /v1/identity/{tenant_slug}/link
Unlink Artifacts
Remove relatedProjectId from the shared identity group.
Operation id: unlink_artifacts_v1_identity__tenant_slug__link_delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Request body (required)
Request body for unlink artifacts.
application/json—UnlinkArtifactsRequest
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for unlink artifacts. | application/json object |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/identity/{tenant_slug}/projects/{project_id}/related
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get related artifacts. | application/json array of RelatedArtifactRef |
| 422 | Validation Error | application/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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get identity suggestions. | application/json array of IdentitySuggestionRef |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/identity/{tenant_slug}/projects/{project_id}/zosconnect-binding
Get Zosconnect Binding
A z/OS Connect descriptor's copybook ↔ REST binding, joined to the catalog (MFI-21.2, #3992).
Each operation the descriptor binds is listed with its request and response COBOL structures,
the copybook items that declare each structure (format_metadata.cobolRecords), and the
OpenAPI items that define the operation. Items linked to the descriptor (same identity group)
are marked linked and listed first; the others are matches to confirm with
POST /v1/identity/{tenant}/link.
Args: tenant_slug: The tenant slug. project_id: The descriptor's catalog item. auth_data: Authentication data (injected by dependency).
Returns: The resolved binding.
Raises: HTTPException: 404 when the item does not exist or is not a z/OS Connect descriptor.
Operation id: get_zosconnect_binding_v1_identity__tenant_slug__projects__project_id__zosconnect_binding_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get zosconnect binding. | application/json ZosConnectBindingResponse |
| 422 | Validation Error | application/json HTTPValidationError |
Schemas used
HTTPValidationError
Validation error response emitted when request data fails schema checks.
| Property | Type | Required | Description |
|---|---|---|---|
detail | array of ValidationError | no | Detail. |
IdentitySuggestionRef
A heuristic suggestion to link two artifacts (MFI-6.4, #4410).
Suggestions are never auto-applied — the user must confirm a link action.
| Property | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | Project ID. |
name | string | yes | Human-readable name. |
slug | string | yes | URL-safe identifier. |
publishable | boolean | no | Publishable. |
sourceFormat | string or null | no | Source Format. |
protocol | string or null | no | Protocol. |
reason | string | yes | Reason. |
score | integer | yes | Relative ranking score (higher = stronger match). |
LinkArtifactsRequest
Link two projects into the same cross-format API identity group.
| Property | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | Project ID. |
relatedProjectId | string | yes | Related 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.
| Property | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | Project ID. |
name | string | yes | Human-readable name. |
slug | string | yes | URL-safe identifier. |
publishable | boolean | no | Publishable. |
sourceFormat | string or null | no | Source Format. |
protocol | string or null | no | Protocol. |
linkSource | string | no | Link Source. |
deleted | boolean | no | Deleted. |
UnlinkArtifactsRequest
Remove one project from a shared identity group (pairwise unlink).
| Property | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | Project ID. |
relatedProjectId | string | yes | Related Project ID. |
ZosConnectBindingResponse
GET /v1/identity/{tenant}/projects/{id}/zosconnect-binding (MFI-21.2, #3992).
| Property | Type | Required | Description |
|---|---|---|---|
kind | string or null | no | 'requester' or 'provider'. |
api | map of string or null | no | The target REST API: title, specification, basePath. |
operations | array of ZosConnectBindingOperation | no | Operations. |
summary | ZosConnectBindingSummary | yes | Short summary suitable for navigation and reference docs. |