Practice Review Sweep
Start sweeping a kind of work on a cadence
Changed onAuthorises the recurring spend. The first sweep runs within the hour.
post/workspaces/{workspaceSlug}/practices/sweep-schedules
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/practices/sweep-schedules
- Auth: HTTP bearer
Path parameters
workspaceSlugstring required
Workspace slug
Request body
Example request
{
"artifactKind": "scm.pull_request",
"lookbackDays": 2
}Response
Schedule created
Changes
- breaking
for the
pathrequest parameterworkspaceSlug, the minLength was increased from0to3 - warning
for the
pathrequest parameterworkspaceSlug, the maxLength was set to51 - warning
changed the pattern of the
pathrequest parameterworkspaceSlugfrom^[a-z0-9][a-z0-9-]{2,50}$to^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$
- breaking