Skip to main content
Infrastructure/Assets
POSTAssetLinkSince 1.1.0SynchronousAuth Required

ConfirmAssetLinkCandidate

Confirm a pending or ambiguous asset-link candidate and persist the confirmed relationship.

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Request Inputs

Path Parameters

  • uuidStringRequired

    资源的UUID,唯一标识该资源。

Body Fields

  • operatorStringRequired

    Operator for this resource

    Example: value

  • candidateObjectRequired

    Candidate for this resource

    • targetPlatformUuidString

      Target platform uuid for this resource

      Example: value

    • targetAssetTypeString

      Target asset type for this resource

      Example: value

    • targetAssetUuidString

      Target asset uuid for this resource

      Example: value

    • targetAssetNameString

      Target asset name for this resource

      Example: value

    • targetRegionUuidString

      Target region uuid for this resource

      Example: value

    • targetZoneUuidString

      Target zone uuid for this resource

      Example: value

    • matchMethodString

      Match method for this resource

      Example: value

    • matchFieldString

      Match field for this resource

      Example: value

    • matchValueString

      Match value for this resource

      Example: value

    • confidenceLong

      Confidence for this resource

      Example: 0

Responses

200 OK

On success, this API returns the following response structure.

  • uuidString

    Unique identifier of the asset link

    Example: link-uuid

  • regionUuidString

    Region uuid for this resource

    Example: value

  • sourcePlatformUuidString

    Source platform uuid for this resource

    Example: value

  • sourceAssetTypeString

    Source asset type for this resource

    Example: value

  • sourceAssetUuidString

    Source asset uuid for this resource

    Example: value

  • sourceAssetNameString

    Source asset name for this resource

    Example: value

  • targetPlatformUuidString

    Target platform uuid for this resource

    Example: value

  • targetAssetTypeString

    Target asset type for this resource

    Example: value

  • targetAssetUuidString

    Target asset uuid for this resource

    Example: value

  • targetAssetNameString

    Target asset name for this resource

    Example: value

  • linkTypeString

    Link type for this resource

    Example: value

  • matchMethodString

    Match method for this resource

    Example: value

  • confidenceLong

    Confidence score of the current asset-link match

    Example: 0.95

  • statusString

    Status for this resource

    Example: value

  • sourceDetectionString

    Source detection for this resource

    Example: value

  • matchFieldsString

    Match fields for this resource

    Example: value

  • candidateSetString

    Candidate set for this resource

    Example: value

  • statusReasonString

    Status reason for this resource

    Example: value

  • displayHintString

    Display hint for this resource

    Example: value

  • lastDetectedAtString

    Last detected at for this resource

    Example: 2026-01-15T08:00:00Z

  • createDateString

    Create date for this resource

    Example: 2026-01-15T08:00:00Z

  • lastOpDateString

    Last op date for this resource

    Example: 2026-01-15T08:00:00Z

Endpoint

POST/api/v1/asset-links/{uuid}/confirm

/api/v1/asset-links/{uuid}/confirm

Operation ID

ConfirmAssetLinkCandidate

Permalink

Request Example

curl -X POST '{host}/api/v1/asset-links/link-uuid/confirm' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"operator":"alice","candidate":{"targetPlatformUuid":"platform-uuid","targetAssetType":"vm","targetAssetUuid":"vm-uuid"}}'

Response Example

200
{"uuid": "link-uuid", "regionUuid": "value", "sourcePlatformUuid": "value", "sourceAssetType": "value", "sourceAssetUuid": "value", "sourceAssetName": "value", "targetPlatformUuid": "value", "targetAssetType": "value"}

Change History

This API has no change history records yet.

View all change history