Command
Start-IntelligenceXReview
Starts a review flow for a thread.
Syntax
Start-IntelligenceXReview
-Delivery <string>
-TargetType <string>
-ThreadId <string>
[-Client <IntelligenceXClient>]
[-Raw]
[-TargetValue <string>]
[<CommonParameters>]#Examples
Example 1
Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType uncommittedChangesReview uncommitted changes
Example 2
Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType commit -TargetValue 3f2a9c1Review a specific commit
Example 3
Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType baseBranch -TargetValue "main"Review a base branch
Example 4
Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType commit -TargetValue 3f2a9c1 -RawReturn raw JSON output
Parameters
- -Delivery string
- Delivery mode (for example immediate).
- -TargetType string
- Target type: uncommittedChanges, baseBranch, commit, custom.
- -ThreadId string
- Thread identifier.
- -Client IntelligenceXClient
- Client instance to use. Defaults to the active client.
- -Raw SwitchParameter
- Return raw JSON response.
- -TargetValue string
- Target value (branch name, commit SHA, or custom text).
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.