Repository navigation
feat!: sync with Apify OpenAPI spec v2-2026-11-18T151559Z - #37
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ocuAJ6an2FrPuYqCvUoaA
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ocuAJ6an2FrPuYqCvUoaA
Add the reduced proxy variant to the user responses by making User::id optional, document that only a run can metamorph itself, and bump the client to 0.18.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ocuAJ6an2FrPuYqCvUoaA
Honor APIFY_API_URL in the examples, add integration tests for the user by-id endpoint, lint all targets under rustls, and fix docs, comments and the changelog. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ocuAJ6an2FrPuYqCvUoaA
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ocuAJ6an2FrPuYqCvUoaA
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ocuAJ6an2FrPuYqCvUoaA
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ocuAJ6an2FrPuYqCvUoaA
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 Rust client with OpenAPI spec
v2-2026-11-18T151559Z, along with the reference client and requirement changes made since the last release. The crate version goes from 0.17.0 to 0.18.0. All changes are in one CHANGELOG section.Spec sync
API_SPEC_VERSIONisv2-2026-11-18T151559Z.GET /v2/users/meandGET /v2/users/{userId}can now return a reduced variant (proxy password or public profile), soUser::idis nowOption<String>.ScheduleUiStateis nullable.RunChargeOptions::request_idis documented as ignored by single-tenant Server Actors.RunClient::chargeis documented as called from inside the run withAPIFY_TOKEN.Reference client
RunClient::metamorph,metamorph_rawanddocs/runs.mdsay that only the run itself can metamorph, using its own token.UserProxyInfomodels and makeScheduleUiStatenullable apify-client-js#1228: covered by theUserchange above.Requirements
Other fixes
APIFY_API_URL.SetRecordOptionsis re-exported at the crate root.--all-targets.Tests
user(id).get(), plus unit tests for bothUserresponse shapes.cargo doc -D warningsare clean.Breaking changes
User::idis nowOption<String>. The spec makes the change, and it fixes deserialization of the reduced user responses.