feat: Use semantic method instead of POST by default - #315
Merged
Conversation
Bumps @seamapi/blueprint 1.0.0 -> 1.8.0 and @seamapi/types 1.975.0 -> 1.1026.0, then regenerates the C# SDK. The blueprint update changes most `get` endpoints from POST to GET and adds new resources/fields (e.g. unmanaged access grants/methods/user identities, Akiles credential metadata, new boolean warning fields). Fixes RequestTransportTests.SendsPostParamsAsAJsonBody, which asserted that /devices/get sends a POST; that endpoint (like other `get` endpoints) is now GET under the updated blueprint, so the test was switched to exercise a still-POST endpoint (/connected_accounts/sync).
razor-x
marked this pull request as ready for review
August 19, 2026 04:35
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
This PR adds three new unmanaged model classes to the Seam C# SDK and corrects HTTP method routing across multiple API endpoints. The unmanaged models represent access grants, access methods, and user identities that do not have client sessions, instant keys, customization profiles, or keys.
Key Changes
New Models Added
HTTP Method Corrections
Fixed incorrect HTTP method routing in multiple API endpoints:
PosttoGetfor read operations:/devices/get,/devices/unmanaged/get,/locks/get,/access_methods/get,/events/get,/acs/systems/get,/acs/entrances/get,/acs/encoders/get,/action_attempts/getPosttoDeletefor delete operations:/user_identities/delete,/access_codes/delete,/thermostats/delete_climate_preset,/acs/credentials/delete,/spaces/delete,/acs/access_groups/delete,/acs/users/delete,/client_sessions/delete,/noise_thresholds_noise_sensors/delete,/schedules_thermostats/delete,/access_grants/delete,/connected_accounts/delete,/instant_keys/delete,/phones/deactivate,/unmanaged_access_codes/delete,/webhooks/delete,/daily_programs_thermostats/deletePosttoGetfor list operations:/user_identities/listModel Enhancements
yacan_lockandaqara_lockto Device and UnmanagedDevice enumsyacanto ConnectWebviews and DeviceProviderinsufficient_permissionserror type to Device, AcsSystem, AccessCode, and UnmanagedAccessCode modelsakilesMetadatafield to AcsCredential, AcsEntrance, and ActionAttemptScanCredentialResultAcsCredentialOnSeamdisplayStatusfield to AccessGrant and AccessMethod modelsmergedUserIdentityIdsandmergedUserIdentityKeysfields to UserIdentitydeepLinkparameter to CreatePortalRequest in Customers APIakiles_member_groupto AcsAccessGroup access group typesacsCredentialOnSeamnullable in ActionAttemptScanCredentialResultEventAccessCodeDelayInRemovingFromDeviceas obsoleteAPI Cleanup
customMetadataHasparameter from Locks and NoiseSensors list requestsconnectedAccountIds,createdBefore,deviceIds,limit,manufacturer,pageCursor,search,spaceId, andunstableLocationIdparameters from NoiseSensors list requestconnectedAccountTypefield from EventConnectedAccountDeletedDependencies
@seamapi/blueprintfrom^1.0.0to^1.8.0@seamapi/typesfrom1.975.0to^1.1026.0https://claude.ai/code/session_012uVXgF6ytTSoXRSkv1Cd1P