Google

Developer Connect API

Connect third-party source code management to Google

Communication#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Connect third-party source code management to Google

Endpoints 42

projects.locations.operations

  • GETGets the latest state of a long-running operation/v1/:nameGets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
  • DELETEDeletes a long-running operation/v1/:nameDeletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If…
  • POSTStarts asynchronous cancellation on a long-running operation/v1/:name:cancelStarts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the…
  • GETLists operations that match the specified filter in the request/v1/:name/operations?filter=string&pageSize=0&pageToken=string&returnPartialSuccess=trueLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

projects.locations.insightsConfigs

  • PATCHUpdates the parameters of a single InsightsConfig./v1/:name?allowMissing=true&requestId=string&validateOnly=trueUpdates the parameters of a single InsightsConfig.
  • GETLists InsightsConfigs in a given project and location./v1/:parent/insightsConfigs?filter=string&orderBy=string&pageSize=0&pageToken=stringLists InsightsConfigs in a given project and location.
  • POSTCreates a new InsightsConfig in a given project and location./v1/:parent/insightsConfigs?insightsConfigId=string&validateOnly=trueCreates a new InsightsConfig in a given project and location.

projects.locations

  • GETLists information about the supported locations for this service/v1/:name/locations?extraLocationTypes=string&filter=string&pageSize=0&pageToken=stringLists information about the supported locations for this service. This method lists locations based on the resource scope provided in the…

projects.locations.accountConnectors

  • GETLists AccountConnectors in a given project and location./v1/:parent/accountConnectors?filter=string&orderBy=string&pageSize=0&pageToken=stringLists AccountConnectors in a given project and location.
  • POSTCreates a new AccountConnector in a given project and location./v1/:parent/accountConnectors?accountConnectorId=string&requestId=string&validateOnly=trueCreates a new AccountConnector in a given project and location.
  • GETFetchUserRepositories returns a list of UserRepos that are available for an account connector resource./v1/:accountConnector:fetchUserRepositories?pageSize=0&pageToken=string&repository=stringFetchUserRepositories returns a list of UserRepos that are available for an account connector resource.

projects.locations.accountConnectors.users

  • DELETEDelete the User based on the user credentials./v1/:name/users:deleteSelfDelete the User based on the user credentials.
  • POSTFetches OAuth access token based on end user credentials./v1/:accountConnector/users:fetchAccessTokenFetches OAuth access token based on end user credentials.
  • GETFetch the User based on the user credentials./v1/:name/users:fetchSelfFetch the User based on the user credentials.
  • GETFinishes OAuth flow for an account connector./v1/:accountConnector/users:finishOAuthFlow?googleOauthParams.scopes=string&googleOauthParams.ticket=string&googleOauthParams.versionInfo=string&oauthParams.code=string&oauthParams.ticket=stringFinishes OAuth flow for an account connector.
  • GETLists Users in a given project, location, and account_connector./v1/:parent/users?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Users in a given project, location, and account_connector.
  • GETStarts OAuth flow for an account connector./v1/:accountConnector/users:startOAuthFlowStarts OAuth flow for an account connector.

projects.locations.connections

  • GETLists Connections in a given project and location./v1/:parent/connections?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Connections in a given project and location.
  • POSTCreates a new Connection in a given project and location./v1/:parent/connections?connectionId=string&requestId=string&validateOnly=trueCreates a new Connection in a given project and location.
  • GETFetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection/v1/:connection:fetchGitHubInstallationsFetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations…
  • GETFetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a…/v1/:connection:fetchLinkableGitRepositories?pageSize=0&pageToken=stringFetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
  • POSTProcessGitHubEnterpriseWebhook is called by the external GitHub Enterprise instances for notifying events./v1/:parent/connections:processGitHubEnterpriseWebhookProcessGitHubEnterpriseWebhook is called by the external GitHub Enterprise instances for notifying events.

projects.locations.connections.gitRepositoryLinks

  • POSTAdd a comment to a Pull Request./v1/:name:addPullRequestCommentAdd a comment to a Pull Request.
  • POSTAdd a review comment (inline on diff) to a Pull Request./v1/:name:addPullRequestReviewCommentAdd a review comment (inline on diff) to a Pull Request.
  • GETLists GitRepositoryLinks in a given project, location, and connection./v1/:parent/gitRepositoryLinks?filter=string&orderBy=string&pageSize=0&pageToken=stringLists GitRepositoryLinks in a given project, location, and connection.
  • POSTCreates a GitRepositoryLink/v1/:parent/gitRepositoryLinks?gitRepositoryLinkId=string&requestId=string&validateOnly=trueCreates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect.…
  • GETDiff commits for a GitRepositoryLink./v1/:name:diffCommit?baseSha=string&headSha=string&pathFilters=stringDiff commits for a GitRepositoryLink.
  • GETFetch Commit details from a Git repository link./v1/:name:fetchCommit?commitSha=string&pathFilters=string&view=COMMIT_VIEW_UNSPECIFIEDFetch Commit details from a Git repository link.
  • GETFetch a list of Commits from a Git repository link./v1/:name:fetchCommitList?pageSize=0&pageToken=string&ref=string&view=COMMIT_VIEW_UNSPECIFIEDFetch a list of Commits from a Git repository link.
  • GETFetches blame information for a file or line range in a file./v1/:name:fetchFileBlame?firstLine=0&lastLine=0&path=string&ref=stringFetches blame information for a file or line range in a file.
  • GETFetch the list of branches or tags for a given repository./v1/:gitRepositoryLink:fetchGitRefs?pageSize=0&pageToken=string&refType=REF_TYPE_UNSPECIFIEDFetch the list of branches or tags for a given repository.
  • GETFetch Pull Request details from a Git repository link./v1/:name:fetchPullRequest?pullRequestId=stringFetch Pull Request details from a Git repository link.
  • GETFetches a list of Pull Requests from the remote repository./v1/:name:fetchPullRequestList?filter=string&pageSize=0&pageToken=stringFetches a list of Pull Requests from the remote repository.
  • POSTFetches read token of a given gitRepositoryLink./v1/:gitRepositoryLink:fetchReadTokenFetches read token of a given gitRepositoryLink.
  • POSTFetches read/write token of a given gitRepositoryLink./v1/:gitRepositoryLink:fetchReadWriteTokenFetches read/write token of a given gitRepositoryLink.
  • POSTModifies a Pull Request in the remote SCM repository associated with a GitRepositoryLink./v1/:name:modifyPullRequestModifies a Pull Request in the remote SCM repository associated with a GitRepositoryLink.
  • POSTOpens a Pull Request in the remote SCM repository associated with a GitRepositoryLink./v1/:name:openPullRequestOpens a Pull Request in the remote SCM repository associated with a GitRepositoryLink.
  • POSTProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events./v1/:name:processBitbucketCloudWebhookProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.
  • POSTProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events./v1/:name:processBitbucketDataCenterWebhookProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events.
  • POSTProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events./v1/:name:processGitLabEnterpriseWebhookProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events.
  • POSTProcessGitLabWebhook is called by the GitLab.com for notifying events./v1/:name:processGitLabWebhookProcessGitLabWebhook is called by the GitLab.com for notifying events.

projects.locations.insightsConfigs.deploymentEvents

  • GETLists Deployment Events in a given insights config./v1/:parent/deploymentEvents?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Deployment Events in a given insights config.

API details

Base URL
https://developerconnect.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter
Operations
42 operations on 36 pathsGET 22POST 17DELETE 2PATCH 1
Main resources
projects.locations.connections.gitRepositoryLinks 19projects.locations.accountConnectors.users 6projects.locations.connections 5projects.locations.operations 4projects.locations.accountConnectors 3projects.locations.insightsConfigs 3projects.locations 1projects.locations.insightsConfigs.deploymentEvents 1
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Developer Connect API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Developer Connect API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Gets the latest state of a long-running operation” (GET /v1/:name), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Developer Connect API?

Connect third-party source code management to Google It is listed under Communication and has 42 endpoints.

Who publishes the Developer Connect API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Developer Connect API?

Requests go to https://developerconnect.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Developer Connect API?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.

How many endpoints does the Developer Connect API have?

42 operations on 36 paths (22 GET, 17 POST, 2 DELETE, 1 PATCH). The largest groups are projects.locations.connections.gitRepositoryLinks, projects.locations.accountConnectors.users, projects.locations.connections, projects.locations.operations.

Is forking the Developer Connect API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.