API hub API (apihub:v1)

2025-12-08

2 new methods

Additions

    Methods
  • apihub.projects.locations.retrieveApiViews

      Path : v1/{+parent}:retrieveApiViews

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}:retrieveApiViews

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The parent resource name. Format: `projects/{project}/locations/{location}`.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : Optional. The filter expression.

          Location : query

          Type : string

        pageSize

          Description : Optional. The maximum number of results to return. Default to 100.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A page token, received from a previous `RetrieveApiViews` call. Provide this to retrieve the subsequent page.

          Location : query

          Type : string

        view

          Description : Required. The view type to return.

          Location : query

          Type : string

          Enum Descriptions :

        • The default view type.
        • The MCP server view in API hub.
        • The MCP tool view in API hub.
        • Enum :

        • API_VIEW_TYPE_UNSPECIFIED
        • MCP_SERVER
        • MCP_TOOL

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Retrieve API views.

  • apihub.projects.locations.apis.versions.specs.fetchAdditionalSpecContent

      Path : v1/{+name}:fetchAdditionalSpecContent

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:fetchAdditionalSpecContent

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The name of the spec whose contents need to be retrieved. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`

          Pattern : ^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$

          Location : path

          Required : Yes

          Type : string

        specContentType

          Description : Optional. The type of the spec contents to be retrieved.

          Location : query

          Type : string

          Enum Descriptions :

        • Unspecified spec content type. Defaults to spec content uploaded by the user.
        • The spec content type for boosted spec.
        • Enum :

        • SPEC_CONTENT_TYPE_UNSPECIFIED
        • BOOSTED_SPEC_CONTENT

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Fetch additional spec content.