Google

App Hub API

App Hub lets you build, operate, and manage applications 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

App Hub lets you build, operate, and manage applications on Google Cloud.

Endpoints 24

projects.locations

  • POSTDetaches a service project from a host project/v1/:name:detachServiceProjectAttachmentDetaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached…
  • 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…
  • GETLists a service project attachment for a given service project/v1/:name:lookupServiceProjectAttachmentLists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.

projects.locations.serviceProjectAttachments

  • GETGets a service project attachment./v1/:nameGets a service project attachment.
  • DELETEDeletes a service project attachment./v1/:name?requestId=stringDeletes a service project attachment.
  • GETLists service projects attached to the host project./v1/:parent/serviceProjectAttachments?filter=string&orderBy=string&pageSize=0&pageToken=stringLists service projects attached to the host project.
  • POSTAttaches a service project to the host project./v1/:parent/serviceProjectAttachments?requestId=string&serviceProjectAttachmentId=stringAttaches a service project to the host project.

projects.locations.applications.workloads

  • PATCHUpdates a Workload in an Application./v1/:name?requestId=string&updateMask=stringUpdates a Workload in an Application.
  • GETLists Workloads in an Application./v1/:parent/workloads?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Workloads in an Application.
  • POSTCreates a Workload in an Application./v1/:parent/workloads?requestId=string&workloadId=stringCreates a Workload in an Application.

projects.locations.applications

  • GETLists Applications in a host project and location./v1/:parent/applications?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Applications in a host project and location.
  • POSTCreates an Application in a host project and location./v1/:parent/applications?applicationId=string&requestId=stringCreates an Application in a host project and location.
  • GETGets the access control policy for a resource/v1/:resource:getIamPolicy?options.requestedPolicyVersion=0Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
  • POSTSets the access control policy on the specified resource/v1/:resource:setIamPolicySets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
  • POSTReturns permissions that a caller has on the specified resource/v1/:resource:testIamPermissionsReturns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND…

projects.locations.applications.services

  • GETLists Services in an Application./v1/:parent/services?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Services in an Application.
  • POSTCreates a Service in an Application./v1/:parent/services?requestId=string&serviceId=stringCreates a Service in an Application.

projects.locations.discoveredServices

  • GETLists Discovered Services that can be added to an Application in a host project and location./v1/:parent/discoveredServices?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Discovered Services that can be added to an Application in a host project and location.
  • GETLists a Discovered Service in a host project and location, with a given resource URI./v1/:parent/discoveredServices:lookup?uri=stringLists a Discovered Service in a host project and location, with a given resource URI.

projects.locations.discoveredWorkloads

  • GETLists Discovered Workloads that can be added to an Application in a host project and location./v1/:parent/discoveredWorkloads?filter=string&orderBy=string&pageSize=0&pageToken=stringLists Discovered Workloads that can be added to an Application in a host project and location.
  • GETLists a Discovered Workload in a host project and location, with a given resource URI./v1/:parent/discoveredWorkloads:lookup?uri=stringLists a Discovered Workload in a host project and location, with a given resource URI.

projects.locations.extendedMetadataSchemas

  • GETLists Extended Metadata Schemas available in a host project and location./v1/:parent/extendedMetadataSchemas?pageSize=0&pageToken=stringLists Extended Metadata Schemas available in a host project and location.

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

API details

Base URL
https://apphub.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter
Operations
24 operations on 18 pathsGET 14POST 8PATCH 1DELETE 1
Main resources
projects.locations.applications 5projects.locations.serviceProjectAttachments 4projects.locations 3projects.locations.applications.workloads 3projects.locations.applications.services 2projects.locations.discoveredServices 2projects.locations.discoveredWorkloads 2projects.locations.operations 2projects.locations.extendedMetadataSchemas 1
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the App Hub 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 App Hub 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 “Detaches a service project from a host project” (POST /v1/:name:detachServiceProjectAttachment), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the App Hub API?

App Hub lets you build, operate, and manage applications on Google Cloud. It is listed under Developer tools and has 24 endpoints.

Who publishes the App Hub 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 App Hub API?

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

How do I authenticate with the App Hub 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 App Hub API have?

24 operations on 18 paths (14 GET, 8 POST, 1 PATCH, 1 DELETE). The largest groups are projects.locations.applications, projects.locations.serviceProjectAttachments, projects.locations, projects.locations.applications.workloads.

Is forking the App Hub 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.