Findings V2

Start a Fix run for a finding

Changed on

Starts a cloud agent run that makes the change the instructions describe in the finding's repository and opens a pull request. The run attaches the pull request to the finding's links. Returns the launch run; poll it and its events for progress. Requires a Tessl GitHub App with write access to the repository.

post/experimental/findings-v2/{findingId}/fix

Request

  • Base URL: https://api.tessl.io
  • URL: https://api.tessl.io/experimental/findings-v2/{findingId}/fix
  • Auth: none declared

Path parameters

findingIdstring uuid required

Headers

Authorizationstring

Request body

instructionsstring required

What the agent should change. The Fix page prefills it from the finding's recommendation.

baseBranchstring

Branch the pull request targets. Defaults to the project's Loop branch, then the repository's default branch.

Response

Default Response

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • info

      added subschema #1 subschema #2 to the response body anyOf list for the response status

    • info

      endpoint added