Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API endpoint for validating Actor input #151

Open
fnesveda opened this issue Sep 29, 2023 · 0 comments
Open

Add API endpoint for validating Actor input #151

fnesveda opened this issue Sep 29, 2023 · 0 comments
Labels
backend Issues related to the platform backend. debt Code quality improvement or decrease of technical debt. low priority Low priority issues to be done eventually. t-platform Issues with this label are in the ownership of the platform team.

Comments

@fnesveda
Copy link
Member

fnesveda commented Sep 29, 2023

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. apify/apify-docs#722

@fnesveda fnesveda added t-platform Issues with this label are in the ownership of the platform team. low priority Low priority issues to be done eventually. debt Code quality improvement or decrease of technical debt. labels Sep 29, 2023
@fnesveda fnesveda added the backend Issues related to the platform backend. label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the platform backend. debt Code quality improvement or decrease of technical debt. low priority Low priority issues to be done eventually. t-platform Issues with this label are in the ownership of the platform team.
Projects
None yet
Development

No branches or pull requests

1 participant