Skip to content

Conversation

eanrollings
Copy link

@eanrollings eanrollings commented Jun 19, 2025

Summary

Implements workspace_ids data source using the updated Airbyte API endpoint
fix: #203

Changes

  • Add new workspace_ids data source that uses the updated GET /workspaces endpoint
  • Replace deprecated POST /workspaces/list with the new pagination-enabled API
  • Maintain backward compatibility with existing workspace functionality
  • Include complete documentation and examples

API Migration

This addresses the API endpoint update documented at: https://reference.airbyte.com/reference/listworkspaces

The new endpoint provides:

  • Improved performance with pagination support
  • Consistent REST API patterns
  • Better error handling and response structure

Testing

  • ✅ Code compiles successfully
  • ✅ Follows existing provider patterns
  • ✅ Documentation and examples included

Breaking Changes

None - this is a new data source that doesn't affect existing functionality

- Add new workspace_ids data source that uses updated Airbyte API endpoint
- Implements the new GET /workspaces endpoint instead of the deprecated POST /workspaces/list
- Returns a list of all workspace IDs with the default workspace always first
- Includes documentation and examples for the new data source
- Maintains backward compatibility with existing workspace functionality

Resolves the need to update workspace listing to use the new API endpoint as documented at:
https://reference.airbyte.com/reference/listworkspaces
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.

[feature] Add "airbyte_workspace_ids" data source

1 participant