chore: sync PHP client with Apify OpenAPI spec v2-2026-09-02T154542Z - #12
Open
Pijukatel wants to merge 2 commits into
Open
chore: sync PHP client with Apify OpenAPI spec v2-2026-09-02T154542Z#12Pijukatel wants to merge 2 commits into
Pijukatel wants to merge 2 commits into
Conversation
- Add Task::getDescription() getter for the new Task.description field. - Correct the published-tasks limit in TaskClient::publish() and docs/tasks.md from 50 to 10, matching the apify-docs publish-task requirements.
- Revert TaskClient::publish()'s docblock and docs/tasks.md from "fewer than 10" back to "fewer than 50" published tasks. The published OpenAPI spec v2-2026-09-02T154542Z (the version this client names) still states 50; a separate platform docs page is not the authoritative source for this client. - Reword Task::getDescription() and its docs/models.md row to drop the "public landing page" framing, matching the neutral getTitle() style; the field is a plain description with no landing-page-only semantics. - Fold the two back-to-back update() calls in TaskIntegrationTest::testTaskCrudFlow into a single call.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Syncs the client to the Apify OpenAPI spec
v2-2026-09-02T154542Z, driven by apify-docs #2922, #2931, #2932.Task::getDescription(), exposing the newTask.descriptionspec field.generalAccess/ActorDefinitionfields,UserPrivateInforequired-field relaxation, taskinputaccepting an array, a docs typo fix) touches no typed getter in this client, so no further code change was needed beyond the version bump.Version::API_SPEC_VERSIONandVersion::CLIENT_VERSION(0.6.0), with aCHANGELOG.mdentry.update()calls inTaskIntegrationTest::testTaskCrudFlowinto one.The published-tasks limit documented on
TaskClient::publish()and indocs/tasks.mdremains "fewer than 50", matching the OpenAPI spec at this client's named version; an earlier revision of this PR had incorrectly changed it to 10 based on a separate platform docs page, and that change has been reverted.