Used to get the next set of results if maxResults is specified, but more than maxResults classes are available in a list. For example, if you have a list of 200 classes and you call list with maxResults set to 20, list will return the first 20 classes and a token. Call list again with maxResults set to 20 and the token to get the next 20 classes.
maxResults
integer
Identifies the max number of results returned by a list. All results are returned if maxResults isn't defined.
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[[["\u003cp\u003eRetrieves a paginated list of all transit classes for a specified issuer ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires an issuer ID as a query parameter and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of transit class objects and pagination information.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/wallet_object.issuer\u003c/code\u003e for authorization.\u003c/p\u003e\n"]]],["This content describes how to retrieve a list of transit classes for a specific issuer. A `GET` request is sent to `https://walletobjects.googleapis.com/walletobjects/v1/transitClass`. The request utilizes query parameters: `issuerId` (required), `token` (for pagination), and `maxResults`. The request body must be empty. The response returns a JSON structure with `resources` (a list of TransitClass objects) and `pagination` details. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.TransitClassListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns a list of all transit classes for a given issuer ID.\n\nHTTP request\n\n`GET https://walletobjects.googleapis.com/walletobjects/v1/transitClass`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nQuery parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `issuerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the issuer authorized to list classes. |\n| `token` | `string` Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes. |\n| `maxResults` | `integer` Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body If successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"resources\": [ { object (/wallet/reference/rest/v1/transitclass#TransitClass) } ], \"pagination\": { object (/wallet/reference/rest/v1/Pagination) } } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `resources[]` | `object (`[TransitClass](/wallet/reference/rest/v1/transitclass#TransitClass)`)` Resources corresponding to the list request. |\n| `pagination` | `object (`[Pagination](/wallet/reference/rest/v1/Pagination)`)` Pagination of the response. |\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]