Stay organized with collections
Save and categorize content based on your preferences.
Lists document schemas.
HTTP request
GET https://contentwarehouse.googleapis.com/v1/{parent}/documentSchemas
Path parameters
Parameters
parent
string
Required. The parent, which owns this collection of document schemas. Format: projects/{projectNumber}/locations/{location}. It takes the form projects/{project}/locations/{location}.
Query parameters
Parameters
pageSize
integer
The maximum number of document schemas to return. The service may return fewer than this value. If unspecified, at most 50 document schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
pageToken
string
A page token, received from a previous documentSchemas.list call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to documentSchemas.list must match the call that provided the page token.
Request body
The request body must be empty.
Response body
Response message for DocumentSchemaService.ListDocumentSchemas.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-08 UTC."],[[["\u003cp\u003eThis API endpoint retrieves a list of document schemas.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the \u003ccode\u003eparent\u003c/code\u003e resource in the format \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003ePagination can be implemented using the \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters to manage large lists of document schemas.\u003c/p\u003e\n"],["\u003cp\u003eThe API response includes an array of \u003ccode\u003edocumentSchemas\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for retrieving subsequent pages, if available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econtentwarehouse.documentSchemas.list\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope are required for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.documentSchemas.list\n\nLists document schemas.\n\n### HTTP request\n\n`GET https://contentwarehouse.googleapis.com/v1/{parent}/documentSchemas`\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for DocumentSchemaService.ListDocumentSchemas.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `contentwarehouse.documentSchemas.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]