GET /v1/indexing/datasources/{datasourcesId}/items
Changed onLists all or a subset of Item resources. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.
Request
- Base URLhttps://cloudsearch.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud_searchAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud_search
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud_search.indexingAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud_search.indexing
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
When set to true, the indexing system only populates the following fields: name, version, queue. metadata.hash, metadata.title, metadata.sourceRepositoryURL, metadata.objectType, metadata.createTime, metadata.updateTime, metadata.contentLanguage, metadata.mimeType, structured_data.hash, content.hash, itemType, itemStatus.code, itemStatus.processingError.code, itemStatus.repositoryError.type, If this value is false, then all the fields are populated in Item.
The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
Maximum number of items to fetch in a request. The max value is 1000 when brief is true. The max value is 10 if brief is false. The default value is 10
The next_page_token value returned from a previous List request, if any.
Response
Successful response
Token to retrieve the next page of results, or empty if there are no more results in the list.
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud_searchwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud_searchwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud_search.indexingwas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info