apify-docs icon indicating copy to clipboard operation
apify-docs copied to clipboard

Document API endpoint for validating Actor input

Open fnesveda opened this issue 2 years ago • 0 comments

We have an endpoint /acts/ACTOR-ID/validate-input which is not documented anywhere, we should document it.

It takes the input to validate as POST payload, and optionally a build query parameter to specify the build tag against which to validate.

It returns a response with:

  • HTTP status 200 and body { "valid": true }
  • HTTP status 400 and body with the validation error

fnesveda avatar Sep 29 '23 07:09 fnesveda