Skip to content

Fix Administrations endpoint URLs#52

Merged
sandervanhooft merged 1 commit into
mainfrom
sandervanhooft/fix-v1-prefix
Jan 13, 2026
Merged

Fix Administrations endpoint URLs#52
sandervanhooft merged 1 commit into
mainfrom
sandervanhooft/fix-v1-prefix

Conversation

@sandervanhooft

Copy link
Copy Markdown
Contributor

Summary

The Administrations endpoint was incorrectly including the administration ID in the request path, resulting in 404 errors. This fix uses absolute URLs in the resolveEndpoint() method to bypass the connector's base URL which already includes the administration ID.

Changes

  • Updated GetAdministrationsRequest to return absolute URL
  • Updated GetAdministrationRequest to return absolute URL
  • Removed unnecessary resolveBaseUrl() overrides

Test Plan

  • All 156 tests pass
  • Administrations endpoint can now be called without 404 errors

The Administrations endpoint requires absolute URLs to bypass the connector's
base URL which includes the administration ID. This fixes 404 errors when
calling administrations()->all() or administrations()->get().
@sandervanhooft

Copy link
Copy Markdown
Contributor Author

cc @robindirksen1

@sandervanhooft sandervanhooft merged commit 7386b56 into main Jan 13, 2026
12 checks passed
@sandervanhooft sandervanhooft deleted the sandervanhooft/fix-v1-prefix branch January 13, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant