Repository navigation
feat: add Server Actor client and sync with Apify OpenAPI spec v2-2026-11-04T151257Z - #33
Merged
Merged
Conversation
…r Actor client and dataset page count from apify-client-js Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAGnQ7tWM7EdPahZPAA
…xpiresInSecs and share the retry code Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAGnQ7tWM7EdPahZPAA
…correct the expiry wording Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAGnQ7tWM7EdPahZPAA
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAGnQ7tWM7EdPahZPAA
… caller Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAGnQ7tWM7EdPahZPAA
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.
Summary
Syncs the Go client with OpenAPI spec
v2-2026-11-04T151257Z(apify/apify-docs#3083, #3084, #3152) and apify-client-js #1179, #1187, #1188, #1190 and #1197.ClientVersiongoes to 0.15.0.Spec sync
APISpecVersionisv2-2026-11-04T151257Z.actorPathis a typedActorVersion.ActorPathfield. The docs note that updating the source without it removes it.tenancyenum (apify-docs #3152) is kept inExtra. The zip wording forTARBALLis documented.Server Actors (JS #1179)
ActorClient.Server()returns anActorServerClientwithGetURL,GetOpenAPISpec,RequestandRequestStream.Standby()is kept as a deprecated alias.X-Apify-Authorization.ErrNotServerActor,FollowsRedirects, and a typedActor.StandbyURL.backoff/newRequesthelper inhttp_client.gokeeps the Server Actor path from duplicating the API retry code.Dataset page
Count(JS #1187, #1190)PaginationList.CountfromDatasetClient.ListItemsis now the larger of the scanned-rows header and the item count. Iterators step byCount, capped at the requested limit.chunkSizeis not set.Signed URL validity (JS #1188)
expiresInSecsis rejected before any request is sent.Behaviour changes
These are listed in the CHANGELOG under "Changed":
Counton dataset pages has a new meaning.standbyUrlandactorPathmoved out ofExtrainto typed fields.HTTPBackendthat follows redirects must checkapify.FollowsRedirects(req)itself. Otherwise the token can reach a redirect target. The default backend handles this.Docs and tests
docs/server_actors.md, a README note, and a CHANGELOG entry for 0.15.0.Count, andexpiresInSecsvalidation.