Skip to main content

Validate Connector Rule

POST 

/connector-rules/validate

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 stringrequired

    the version of the code

    script stringrequired

    The code

Responses

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

Schema
    state stringrequired

    Possible values: [OK, ERROR]

    details object[]required
  • Array [
  • line integerrequired

    The line number where the issue occurred

    column integerrequired

    the column number where the issue occurred

    messsage string

    a description of the issue in the code

  • ]
Loading...