-
Notifications
You must be signed in to change notification settings - Fork 182
feat: Add summary and description to 204 response for input validation #2396
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
Open
gemini-25-pro-collab
wants to merge
6
commits into
apify:master
Choose a base branch
from
gemini-25-pro-collab:feature/update-204-response
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
98a4ef4
feat: Document /acts/ACTOR-ID/validate-input endpoint
gemini-25-pro-collab 6681c4e
feat: add summary and description to 204 response
gemini-25-pro-collab 42799f2
feat: add summary and description to 204 response for input validation
gemini-25-pro-collab 9a62073
docs: add docs for the optional 'build' query parameter
gemini-25-pro-collab 28b4b3c
feat: add optional build parameter to input validation endpoint
gemini-25-pro-collab 15d94c9
Merge branch 'main' of https://github.com/apify/apify-docs into featu…
gemini-25-pro-collab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
apify-api/openapi/paths/actors/acts@{actorId}@validate-input.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| post: | ||
| tags: | ||
| - Actors | ||
| summary: Validate Actor input | ||
| description: | | ||
| Validates whether the provided JSON payload matches the Actor input schema without starting a run. | ||
| Use this endpoint before triggering an Actor to catch schema violations and return actionable error messages. | ||
| operationId: act_validate_input_post | ||
| parameters: | ||
| - $ref: "../../components/parameters/runAndBuildParameters.yaml#/actorId" | ||
| - name: build | ||
| in: query | ||
| <<<<<<< HEAD | ||
| description: | | ||
| Specifies the Actor build to validate against. It can be either a build tag or build number. | ||
| By default, the validation uses the Actor's `latest` build. | ||
| style: form | ||
| explode: true | ||
| schema: | ||
| type: string | ||
| example: 0.1.234 | ||
|
|
||
| ======= | ||
| description: |- | ||
| The build to be used by the run. It can be a build number (`1.2.3`), or a build tag (`latest` or `beta`). | ||
| If not provided, the `default` build will be used. | ||
| schema: | ||
| type: string | ||
| >>>>>>> 9a620738a7b1d02f4073624da04a340de5064783 | ||
| requestBody: | ||
| description: JSON payload to validate against the Actor input schema. | ||
| required: true | ||
| content: | ||
| application/json: | ||
| schema: | ||
| type: object | ||
| additionalProperties: true | ||
| responses: | ||
| "204": | ||
| summary: Input is valid | ||
| description: The provided input is valid against the Actor's input schema. | ||
| "400": | ||
| $ref: ../../components/responses/BadRequest.yaml | ||
| "401": | ||
| $ref: ../../components/responses/Unauthorized.yaml | ||
| "403": | ||
| $ref: ../../components/responses/Forbidden.yaml | ||
| "404": | ||
| description: Not found - the requested resource was not found. | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: "../../components/schemas/common/errors/ActorErrors.yaml#/ActorNotFoundError" | ||
| "405": | ||
| $ref: ../../components/responses/MethodNotAllowed.yaml | ||
| "413": | ||
| $ref: ../../components/responses/PayloadTooLarge.yaml | ||
| "415": | ||
| $ref: ../../components/responses/UnsupportedMediaType.yaml | ||
| "429": | ||
| $ref: ../../components/responses/TooManyRequests.yaml | ||
| deprecated: false | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are merge conflict markers - please fix the conflict properly.