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
operatorStringRequiredOperator for this resource
Example: value
candidateObjectRequiredCandidate for this resource
targetPlatformUuidStringTarget platform uuid for this resource
Example: value
targetAssetTypeStringTarget asset type for this resource
Example: value
targetAssetUuidStringTarget asset uuid for this resource
Example: value
targetAssetNameStringTarget asset name for this resource
Example: value
targetRegionUuidStringTarget region uuid for this resource
Example: value
targetZoneUuidStringTarget zone uuid for this resource
Example: value
matchMethodStringMatch method for this resource
Example: value
matchFieldStringMatch field for this resource
Example: value
matchValueStringMatch value for this resource
Example: value
confidenceLongConfidence for this resource
Example: 0
Responses
Endpoint
POST/api/v1/asset-links/{uuid}/confirm
/api/v1/asset-links/{uuid}/confirm
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.
