Google

Secure Source Manager API

Regionally deployed, single-tenant managed source code repository hosted on Google Cloud.

Developer tools#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

Regionally deployed, single-tenant managed source code repository hosted on Google Cloud.

Endpoints 34

projects.locations.repositories.pullRequests.pullRequestComments

  • GETGets a pull request comment./v1/:nameGets a pull request comment.
  • DELETEDeletes a pull request comment./v1/:nameDeletes a pull request comment.
  • PATCHUpdates a pull request comment./v1/:name?updateMask=stringUpdates a pull request comment.
  • POSTBatch creates pull request comments./v1/:parent/pullRequestComments:batchCreateBatch creates pull request comments.
  • GETLists pull request comments./v1/:parent/pullRequestComments?pageSize=0&pageToken=stringLists pull request comments.
  • POSTCreates a pull request comment./v1/:parent/pullRequestCommentsCreates a pull request comment.
  • POSTResolves pull request comments./v1/:parent/pullRequestComments:resolveResolves pull request comments.
  • POSTUnresolves pull request comment./v1/:parent/pullRequestComments:unresolveUnresolves pull request comment.

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.

projects.locations.instances

  • GETLists Instances in a given project and location./v1/:parent/instances?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Instances in a given project and location.
  • POSTCreates a new instance in a given project and location./v1/:parent/instances?instanceId=string&requestId=stringCreates a new instance in a given project and location.

projects.locations.repositories

  • GETGet IAM policy for a repository./v1/:resource:getIamPolicy?options.requestedPolicyVersion=0Get IAM policy for a repository.
  • POSTSet IAM policy on a repository./v1/:resource:setIamPolicySet IAM policy on a repository.
  • POSTTest IAM permissions on a repository/v1/:resource:testIamPermissionsTest IAM permissions on a repository. IAM permission checks are not required on this method.
  • GETLists Repositories in a given project and location/v1/:parent/repositories?filter=string&instance=string&pageSize=0&pageToken=stringLists Repositories in a given project and location. The instance field is required in the query parameter for requests using the…
  • POSTCreates a new repository in a given project and location/v1/:parent/repositories?repositoryId=stringCreates a new repository in a given project and location. The Repository.Instance field is required in the request body for requests using the…
  • GETFetches a blob from a repository./v1/:repository:fetchBlob?sha=stringFetches a blob from a repository.
  • GETFetches a tree from a repository./v1/:repository:fetchTree?pageSize=0&pageToken=string&recursive=true&ref=stringFetches a tree from a repository.

projects.locations.operations

  • 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=stringLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

projects.locations.repositories.branchRules

  • GETListBranchRules lists branch rules in a given repository./v1/:parent/branchRules?pageSize=0&pageToken=stringListBranchRules lists branch rules in a given repository.
  • POSTCreateBranchRule creates a branch rule in a given repository./v1/:parent/branchRules?branchRuleId=stringCreateBranchRule creates a branch rule in a given repository.

projects.locations.repositories.hooks

  • GETLists hooks in a given repository./v1/:parent/hooks?pageSize=0&pageToken=stringLists hooks in a given repository.
  • POSTCreates a new hook in a given repository./v1/:parent/hooks?hookId=stringCreates a new hook in a given repository.

projects.locations.repositories.pullRequests

  • POSTCloses a pull request without merging./v1/:name:closeCloses a pull request without merging.
  • POSTOpens a pull request./v1/:name:openOpens a pull request.
  • GETLists pull requests in a repository./v1/:parent/pullRequests?pageSize=0&pageToken=stringLists pull requests in a repository.
  • POSTCreates a pull request./v1/:parent/pullRequestsCreates a pull request.
  • GETLists a pull request's file diffs./v1/:name:listFileDiffs?pageSize=0&pageToken=stringLists a pull request's file diffs.
  • POSTMerges a pull request./v1/:name:mergeMerges a pull request.

projects.locations.repositories.issues

  • GETLists issues in a repository./v1/:parent/issues?filter=string&pageSize=0&pageToken=stringLists issues in a repository.
  • POSTCreates an issue./v1/:parent/issuesCreates an issue.

projects.locations.repositories.issues.issueComments

  • GETLists comments in an issue./v1/:parent/issueComments?pageSize=0&pageToken=stringLists comments in an issue.
  • POSTCreates an issue comment./v1/:parent/issueCommentsCreates an issue comment.

API details

Base URL
https://securesourcemanager.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter
Operations
34 operations on 24 pathsPOST 17GET 15PATCH 1DELETE 1
Main resources
projects.locations.repositories.pullRequests.pullRequestCom… 8projects.locations.repositories 7projects.locations.repositories.pullRequests 6projects.locations.instances 2projects.locations.operations 2projects.locations.repositories.branchRules 2projects.locations.repositories.hooks 2projects.locations.repositories.issues 2projects.locations.repositories.issues.issueComments 2projects.locations 1
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Secure Source Manager 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 Secure Source Manager 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 a pull request comment.” (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 Secure Source Manager API?

Regionally deployed, single-tenant managed source code repository hosted on Google Cloud. It is listed under Developer tools and has 34 endpoints.

Who publishes the Secure Source Manager 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 Secure Source Manager API?

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

How do I authenticate with the Secure Source Manager 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 Secure Source Manager API have?

34 operations on 24 paths (17 POST, 15 GET, 1 PATCH, 1 DELETE). The largest groups are projects.locations.repositories.pullRequests.pullRequestCom…, projects.locations.repositories, projects.locations.repositories.pullRequests, projects.locations.instances.

Is forking the Secure Source Manager 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.