API hub API
API hub API endpoints from Google
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
API hub API endpoints from Google
Endpoints 54
projects.locations
- POSTCollect API data from a source and push it to Hub's collect layer.
/v1/:location:collectApiDataCollect API data from a source and push it to Hub's collect layer. - 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… - GETLook up a runtime project attachment
/v1/:name:lookupRuntimeProjectAttachmentLook up a runtime project attachment. This API can be called in the context of any project. - GETRetrieve API views.
/v1/:parent:retrieveApiViews?filter=string&pageSize=0&pageToken=string&view=API_VIEW_TYPE_UNSPECIFIEDRetrieve API views. - POSTSearch across API-Hub resources.
/v1/:location:searchResourcesSearch across API-Hub resources.
projects.locations.runtimeProjectAttachments
- GETGets a runtime project attachment.
/v1/:nameGets a runtime project attachment. - DELETEDelete a runtime project attachment in the API Hub
/v1/:nameDelete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project. - GETList runtime projects attached to the host project.
/v1/:parent/runtimeProjectAttachments?filter=string&orderBy=string&pageSize=0&pageToken=stringList runtime projects attached to the host project. - POSTAttaches a runtime project to the host project.
/v1/:parent/runtimeProjectAttachments?runtimeProjectAttachmentId=stringAttaches a runtime project to the host project.
projects.locations.plugins.instances
- PATCHUpdates a plugin instance in the API hub
/v1/:name?updateMask=stringUpdates a plugin instance in the API hub. The following fields in the plugin_instance can be updated currently: * display_name * schedule_cron_expression The… - GETList all the plugins in a given project and location
/v1/:parent/instances?filter=string&pageSize=0&pageToken=stringList all the plugins in a given project and location. - can be used as wildcard value for {plugin_id} - POSTCreates a Plugin instance in the API hub.
/v1/:parent/instances?pluginInstanceId=stringCreates a Plugin instance in the API hub. - POSTDisables a plugin instance in the API hub.
/v1/:name:disableActionDisables a plugin instance in the API hub. - POSTEnables a plugin instance in the API hub.
/v1/:name:enableActionEnables a plugin instance in the API hub. - POSTExecutes a plugin instance in the API hub.
/v1/:name:executeActionExecutes a plugin instance in the API hub. - POSTManages data for a given plugin instance.
/v1/:name:manageSourceDataManages data for a given plugin instance.
projects.locations.addons
- GETList addons.
/v1/:parent/addons?filter=string&pageSize=0&pageToken=stringList addons. - POSTManage addon config
/v1/:name:manageConfigManage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves the addon into an updating state until the long-running…
projects.locations.apiHubInstances
- POSTProvisions instance resources for the API Hub.
/v1/:parent/apiHubInstances?apiHubInstanceId=stringProvisions instance resources for the API Hub. - GETLooks up an Api Hub instance in a given Google Cloud project
/v1/:parent/apiHubInstances:lookupLooks up an Api Hub instance in a given Google Cloud project. There will always be only one Api Hub instance for a Google Cloud project across all locations.
projects.locations.apis
- GETList API resources in the API hub.
/v1/:parent/apis?filter=string&pageSize=0&pageToken=stringList API resources in the API hub. - POSTCreate an API resource in the API hub
/v1/:parent/apis?apiId=stringCreate an API resource in the API hub. Once an API resource is created, versions can be added to it.
projects.locations.apis.versions
- GETList API versions of an API resource in the API hub.
/v1/:parent/versions?filter=string&pageSize=0&pageToken=stringList API versions of an API resource in the API hub. - POSTCreate an API version for an API resource in the API hub.
/v1/:parent/versions?versionId=stringCreate an API version for an API resource in the API hub.
projects.locations.apis.versions.operations
- GETList operations in an API version.
/v1/:parent/operations?filter=string&pageSize=0&pageToken=stringList operations in an API version. - POSTCreate an apiOperation in an API version
/v1/:parent/operations?apiOperationId=stringCreate an apiOperation in an API version. An apiOperation can be created only if the version has no apiOperations which were created by parsing a spec.
projects.locations.apis.versions.specs
- GETList specs corresponding to a particular API resource.
/v1/:parent/specs?filter=string&pageSize=0&pageToken=stringList specs corresponding to a particular API resource. - POSTAdd a spec to an API version in the API hub
/v1/:parent/specs?specId=stringAdd a spec to an API version in the API hub. Multiple specs can be added to an API version. Note, while adding a spec, at least one of contents or source_uri… - GETFetch additional spec content.
/v1/:name:fetchAdditionalSpecContent?specContentType=SPEC_CONTENT_TYPE_UNSPECIFIEDFetch additional spec content. - POSTLints the requested spec and updates the corresponding API Spec with the lint response
/v1/:name:lintLints the requested spec and updates the corresponding API Spec with the lint response. This lint response will be available in all subsequent Get and List…
projects.locations.plugins.styleGuide
- GETGet the contents of the style guide.
/v1/:name:contentsGet the contents of the style guide.
projects.locations.attributes
- GETList all attributes.
/v1/:parent/attributes?filter=string&pageSize=0&pageToken=stringList all attributes. - POSTCreate a user defined attribute
/v1/:parent/attributes?attributeId=stringCreate a user defined attribute. Certain pre defined attributes are already created by the API hub. These attributes will have type as SYSTEM_DEFINED and can…
projects.locations.curations
- GETList curation resources in the API hub.
/v1/:parent/curations?filter=string&pageSize=0&pageToken=stringList curation resources in the API hub. - POSTCreate a curation resource in the API hub
/v1/:parent/curations?curationId=stringCreate a curation resource in the API hub. Once a curation resource is created, plugin instances can start using it.
projects.locations.dependencies
- GETList dependencies based on the provided filter and pagination parameters.
/v1/:parent/dependencies?filter=string&pageSize=0&pageToken=stringList dependencies based on the provided filter and pagination parameters. - POSTCreate a dependency between two entities in the API hub.
/v1/:parent/dependencies?dependencyId=stringCreate a dependency between two entities in the API hub.
projects.locations.deployments
- GETList deployment resources in the API hub.
/v1/:parent/deployments?filter=string&pageSize=0&pageToken=stringList deployment resources in the API hub. - POSTCreate a deployment resource in the API hub
/v1/:parent/deployments?deploymentId=stringCreate a deployment resource in the API hub. Once a deployment resource is created, it can be associated with API versions.
projects.locations.discoveredApiObservations
- GETLists all the DiscoveredAPIObservations in a given project and location.
/v1/:parent/discoveredApiObservations?pageSize=0&pageToken=stringLists all the DiscoveredAPIObservations in a given project and location.
projects.locations.discoveredApiObservations.discoveredApiOperations
- GETLists all the DiscoveredAPIOperations in a given project, location and ApiObservation.
/v1/:parent/discoveredApiOperations?pageSize=0&pageToken=stringLists all the DiscoveredAPIOperations in a given project, location and ApiObservation.
projects.locations.externalApis
- GETList External API resources in the API hub.
/v1/:parent/externalApis?pageSize=0&pageToken=stringList External API resources in the API hub. - POSTCreate an External API resource in the API hub.
/v1/:parent/externalApis?externalApiId=stringCreate an External API resource in the API hub.
projects.locations.generatedSpecApis
- POSTMerges the per-day stored specs across the requested window and returns the merged OpenAPI document
/v1/:name:generateSpecMerges the per-day stored specs across the requested window and returns the merged OpenAPI document. Preview: this method is in Public Preview. Behavior and… - GETLists the APIs the pipeline is tracking, ordered by `update_time desc`
/v1/:parent/generatedSpecApis?filter=string&pageSize=0&pageToken=stringLists the APIs the pipeline is tracking, ordered by update_time desc. Preview: this method is in Public Preview. Behavior and the API surface may change until…
projects.locations.hostProjectRegistrations
- GETLists host project registrations.
/v1/:parent/hostProjectRegistrations?filter=string&orderBy=string&pageSize=0&pageToken=stringLists host project registrations. - POSTCreate a host project registration
/v1/:parent/hostProjectRegistrations?hostProjectRegistrationId=stringCreate a host project registration. A Google cloud project can be registered as a host project if it is not attached as a runtime project to another host…
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.
projects.locations.plugins
- GETList all the plugins in a given project and location.
/v1/:parent/plugins?filter=string&pageSize=0&pageToken=stringList all the plugins in a given project and location. - POSTCreate an API Hub plugin resource in the API hub
/v1/:parent/plugins?pluginId=stringCreate an API Hub plugin resource in the API hub. Once a plugin is created, it can be used to create plugin instances. - POSTDisables a plugin
/v1/:name:disableDisables a plugin. The state of the plugin after disabling is DISABLED - POSTEnables a plugin
/v1/:name:enableEnables a plugin. The state of the plugin after enabling is ENABLED
projects.locations.servers
- POSTConfigures and deploys a given server config for given target
/v1/:parent/servers:configureAndDeployServerConfigures and deploys a given server config for given target. Currently this API supports only deploying MCP server in Apigee X. For mcp server deployment in…
API details
- Base URL
https://apihub.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 3 scopes
An API key in the key query parameter - Operations
- 54 operations on 39 pathsPOST 27GET 25PATCH 1DELETE 1
- Main resources
- projects.locations.plugins.instances 7projects.locations 5projects.locations.apis.versions.specs 4projects.locations.plugins 4projects.locations.runtimeProjectAttachments 4projects.locations.addons 2projects.locations.apiHubInstances 2projects.locations.apis 2projects.locations.apis.versions 2projects.locations.apis.versions.operations 2
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the API hub API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the API hub API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 3 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Collect API data from a source and push it to Hub's collect layer.” (POST /v1/:location:collectApiData), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the API hub API?
API hub API endpoints from Google It is listed under Developer tools and has 54 endpoints.
Who publishes the API 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 API hub API?
Requests go to https://apihub.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the API hub API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 3 scopes; an API key in the key query parameter.
How many endpoints does the API hub API have?
54 operations on 39 paths (27 POST, 25 GET, 1 PATCH, 1 DELETE). The largest groups are projects.locations.plugins.instances, projects.locations, projects.locations.apis.versions.specs, projects.locations.plugins.
Is forking the API hub API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.