Google Wallet · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Wallet Transitclass API

7 actions 7 updates phrasing extends openapi/google-wallet-transitclass-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google Wallet's API. It is a proposal applied on top of the contract, not a document Google Wallet publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/walletobjects/v1/transitClass'].get
$.paths['/walletobjects/v1/transitClass'].post
$.paths['/walletobjects/v1/transitClass/{resourceId}'].get
$.paths['/walletobjects/v1/transitClass/{resourceId}'].put
$.paths['/walletobjects/v1/transitClass/{resourceId}'].patch
$.paths['/walletobjects/v1/transitClass/{resourceId}/addMessage'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Google Wallet Transitclass API
  version: 1.0.0
extends: openapi/google-wallet-transitclass-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/walletobjects/v1/transitClass'].get
  update:
    x-apievangelist-phrasing:
      intent: List transit classes
      effect: read
      questions:
      - Which transit ticket classes have I defined for Google Wallet?
      - Can I page through all my transit classes?
      instructions:
      - text: List all my transit classes.
      - text: Show transit classes for issuer {issuerId}.
        slots:
          issuerId: query.issuerId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/transitClass'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a transit class
      effect: write
      questions:
      - How do I add a new bus or train ticket class to Google Wallet?
      - Can I set the background color and logo on a new transit class?
      instructions:
      - text: Create a {transitType} class named {issuerName} with ID {id}.
        slots:
          transitType: requestBody.transitType
          issuerName: requestBody.issuerName
          id: requestBody.id
      - text: Add a {transitType} class {id} with background {hexBackgroundColor} and logo {logo}.
        slots:
          transitType: requestBody.transitType
          id: requestBody.id
          hexBackgroundColor: requestBody.hexBackgroundColor
          logo: requestBody.logo
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a transit class
      effect: read
      questions:
      - What are the settings of one transit class?
      - Can I look up a transit class by its ID?
      instructions:
      - text: Get transit class {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the {transitType} class {resourceId}.
        slots:
          transitType: path.resourceId
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a transit class
      effect: write
      questions:
      - How do I overwrite a transit class with new settings?
      - Can I change the issuer name on an existing transit class?
      instructions:
      - text: Replace transit class {resourceId} with issuer name {issuerName}.
        slots:
          resourceId: path.resourceId
          issuerName: requestBody.issuerName
      - text: Overwrite the {transitType} class {resourceId} entirely.
        slots:
          transitType: path.resourceId
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a transit class
      effect: write
      questions:
      - Can I change just the background color of a transit class?
      - Is there a partial update for transit classes?
      instructions:
      - text: Set the background color of transit class {resourceId} to {hexBackgroundColor}.
        slots:
          resourceId: path.resourceId
          hexBackgroundColor: requestBody.hexBackgroundColor
      - text: Patch the {transitType} class {resourceId} with {notifyPreference} notifications.
        slots:
          transitType: path.resourceId
          resourceId: path.resourceId
          notifyPreference: requestBody.notifyPreference
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/transitClass/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a transit class
      effect: write
      questions:
      - How do I add a message that shows on all tickets of a class?
      - Can I post a new message to a transit class?
      instructions:
      - text: Add message {message} to transit class {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Post a new message on the {transitType} class {resourceId}.
        slots:
          transitType: path.resourceId
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/google-wallet-transitclass-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.