Skip to content

fix(source-pipedrive): update connector to use v2 API endpoints #59676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hanslemm
Copy link
Contributor

@hanslemm hanslemm commented May 6, 2025

What

This update has several changes:

  • Updated to Pipedrive API v2 endpoints where applicable
  • Substituted usage of /v1/recents for streams to their actual object endpoint in the API. Reason: /v1/recents excludes items that have update_time = NULL, which might occur in old records of Pipedrive. One setback is that some streams had to become non-incremental due to this change.
  • Renamed streams that were using CamelCase to snake_case.
  • Added organization_relationships stream.

Request to community

Some streams I created/updated couldn't have their schemas verified, as my Pipedrive project doesn't have records for them. So I would appreciate it if the community could check the missing schemas.

User Impact

  • Some streams had to become non-incremental (e.g.: users) due to change from v1/recents to the correspondent object endpoint (e.g.: v1/users). But not all cases. Some were possible to sort the output so that we could use the data-feed to make it incremental.
  • mail endpoint renamed to mail_messages to keep consistency with API naming.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

This update has several changes:
- Updated to Pipedrive API v2 endpoints where applicable
- Substituted usage of `/v1/recents` for streams to their actual object endpoint in the API. Reason: `/v1/recents` exclude items that don't have update_time, which might occur in old records of Pipedrive.
- Renamed streams that were using CamelCase to snake_case.
- Added organization_relationships stream.
Copy link

vercel bot commented May 6, 2025

@hanslemm is attempting to deploy a commit to the Airbyte Growth Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@marcosmarxm marcosmarxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hanslemm thanks for your contribution, you need to also bump the metadata and doc connector version so I'll trigger tests.

title: API Token
airbyte_secret: true
order: 0
replication_start_date:
start_date:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a good reason to rename this parameter. It will cause a breaking change to all existing connections.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Humm good point.

I just changed to the "standard" Airbyte naming according to the latest Connector Builder.

@github-project-automation github-project-automation bot moved this from Backlog to Waiting Contributor in 🧑‍🏭 Community Pull Requests May 6, 2025
@marcosmarxm marcosmarxm changed the title Update Pipedrive Connector to v2 endpoints fix(source-pipedrive): update connector to use v2 API endpoints Jun 2, 2025
@marcosmarxm
Copy link
Member

/run-connector-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting Contributor
Development

Successfully merging this pull request may close these issues.

3 participants