Review/pools

Query pool assignment rules

get

Search and filter pool assignment rules by various criteria

Authorizations
Query parameters
repositoryIdentifierstringOptional

Filter by repository

Example: flxbl-io/sf-core
poolTagstringOptional

Filter by pool tag

Example: feature_dev
isActivebooleanOptional

Filter by active status

Example: true
branchPatternSearchstringOptional

Search in branch patterns

Example: feature
domainPatternSearchstringOptional

Search in domain patterns

Example: staging
Responses
200

List of pool assignment rules

application/json
get
/sfp/api/review/pools/assign
200

List of pool assignment rules

Create a pool assignment rule

post

Creates a new rule for automatically assigning pools to review environments based on branch and domain patterns

Authorizations
Body
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
poolTagstringRequired

Tag of the pool to assign for matching patterns

Example: feature_dev
poolTypestring · enumOptional

Type of pool (SANDBOX or SCRATCH_ORG). If not specified, will be detected from the pool configuration.

Example: SANDBOXPossible values:
branchPatternstringRequired

Git branch pattern to match (supports wildcards: , prefix/, *suffix)

Example: main
domainPatternstringOptionalDeprecated

Domain pattern to match (supports wildcards) - DEPRECATED: Use domainPatterns instead

Example: *
domainPatternsstring[]Optional

Domain patterns to match (supports wildcards, leave empty to match any domain)

Example: ["sales"]
prioritynumber · max: 1000Required

Priority for conflict resolution. Higher values take precedence.

Example: 10
descriptionstringOptional

Optional description explaining the assignment rule

Example: Feature branches use the development pool for any domain
isActivebooleanOptional

Whether this assignment rule is active

Default: true
Responses
post
/sfp/api/review/pools/assign

Test pattern matching

post

Test which pool would be assigned for a given repository, branch, and domain combination

Authorizations
Body
repositoryIdentifierstringRequired

Repository identifier

Example: flxbl-io/sf-core
branchstringRequired

Branch to test

Example: feature/ABC-123
domainsstring[]Optional

Domains to test (supports multiple domains)

Example: ["sales","service"]
Responses
200

Pattern matching test results

application/json
post
/sfp/api/review/pools/assign/test
200

Pattern matching test results

Get a pool assignment rule by ID

get
Authorizations
Path parameters
idstringRequired

Pool assignment rule ID

Responses
200

Pool assignment rule details

application/json
get
/sfp/api/review/pools/assign/{id}

Update a pool assignment rule

put

Update patterns, priority, or status of an existing pool assignment rule

Authorizations
Path parameters
idstringRequired

Pool assignment rule ID

Body
poolTypestring · enumOptional

Type of pool (SANDBOX or SCRATCH_ORG)

Example: SANDBOXPossible values:
branchPatternstringOptional

Git branch pattern to match

Example: feature/*
domainPatternstringOptionalDeprecated

Domain pattern to match - DEPRECATED: Use domainPatterns instead

Example: sales
domainPatternsstring[]Optional

Domain patterns to match (supports wildcards, leave empty to match any domain)

Example: ["sales","service"]
prioritynumber · max: 1000Optional

Priority for conflict resolution

Example: 10
descriptionstringOptional

Optional description explaining the assignment rule

Example: Updated: Feature branches use the development pool
isActivebooleanOptional

Whether this assignment rule is active

Example: true
Responses
200

Pool assignment rule updated successfully

application/json
put
/sfp/api/review/pools/assign/{id}

Delete a pool assignment rule

delete
Authorizations
Path parameters
idstringRequired

Pool assignment rule ID

Responses
delete
/sfp/api/review/pools/assign/{id}

No content

Last updated