apify-client-python icon indicating copy to clipboard operation
apify-client-python copied to clipboard

Add API endpoint for validating Actor input

Open fnesveda opened this issue 1 year ago • 0 comments

We have an endpoint /acts/ACTOR-ID/validate-input which is not implemented in the client, we should implement 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

We should first add it to the documentation, so that we can refer to it in the docstrings. https://github.com/apify/apify-docs/issues/722

fnesveda avatar Sep 29 '23 07:09 fnesveda