Skip to main content

Validate Connector Rule

Returns a list of issues within the code to fix, if any. A token with ORG_ADMIN authority is required to call this API.

Request Body required

The code to validate

  • version string required

    the version of the code

  • script string required

    The code

Responses

The status of the code's eligibility as a connector rule


Schema
  • state string

    Possible values: [OK, ERROR]

  • details object[]
  • line integer

    The line number where the issue occurred

  • column integer

    the column number where the issue occurred

  • messsage string

    a description of the issue in the code

Loading...