Skip to content

Service Broker API

by googleapis.com

OAuthHTTPSDevelopment
Open documentation ↗

Overview

The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/).

Service Broker is a development API from googleapis.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 14 endpoints.

At a glance

Authentication
OAuth
HTTPS
Yes
CORS
Unknown
Category
Development
Base URL
https://servicebroker.googleapis.com/
Version
v1beta1
Endpoints
14
Spec updated
2020-01-07

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://servicebroker.googleapis.com/v1beta1/NAME" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const response = await fetch("https://servicebroker.googleapis.com/v1beta1/NAME", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://servicebroker.googleapis.com/v1beta1/NAME",
    headers={
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/v1beta1/{name}GetBinding returns the binding information.
PATCH/v1beta1/{name}Updates an existing service instance.
DELETE/v1beta1/{name}Unbinds from a service instance.
GET/v1beta1/{name}/last_operationReturns the state of the last operation for the binding.
GET/v1beta1/{parent}/bindingsLists all the bindings in the instance.
GET/v1beta1/{parent}/brokersListBrokers lists brokers.
POST/v1beta1/{parent}/brokersCreateBroker creates a Broker.
GET/v1beta1/{parent}/instancesLists all the instances in the brokers
PUT/v1beta1/{parent}/service_bindings/{binding_id}CreateBinding generates a service binding to an existing service instance.
GET/v1beta1/{parent}/v2/catalogLists all the Services registered with this broker for consumption for
PUT/v1beta1/{parent}/v2/service_instances/{instance_id}Provisions a service instance.
GET/v1beta1/{resource}:getIamPolicyGets the access control policy for a resource.
POST/v1beta1/{resource}:setIamPolicySets the access control policy on the specified resource. Replaces any
POST/v1beta1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource.

Questions

Does the Service Broker API need an API key?

Yes. The Service Broker API uses OAuth authentication; the documentation explains how to get credentials.

Does the Service Broker API support HTTPS?

Yes, the Service Broker API is served over HTTPS.

How many endpoints does the Service Broker API have?

Its OpenAPI description lists 14 endpoints in version v1beta1. All of them are shown on this page.

What are alternatives to the Service Broker API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

Compare alternatives →

Listed from APIs.guru (CC0).