AI-generated Key Takeaways
-
The
GETrequest tohttps://earthengine.googleapis.com/v1/{parent=projects/*/assets/**}:listAssetsis used to list assets within a specified container. -
The
parentpath parameter is required and specifies the container asset to list, accepting formats like "projects/" or "projects//assets/**". -
Optional query parameters like
pageSize,pageToken,filter, andviewcan be used to refine the list of assets returned. -
The request body must be empty, and a successful response will contain an instance of
ListAssetsResponse. -
Authorization requires specific IAM permissions on the parent resource or one of several OAuth scopes.
Lists any container asset, such as a folder or collection.
HTTP request
GET https://earthengine.googleapis.com/v1/{parent=projects/*/assets/**}:listAssets
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The name of the container asset to list. Authorization requires one or more of the following IAM permissions on the specified resource
|
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of results per page. The server may return fewer assets than requested. If unspecified, the page size default depends on the EarthEngineAssetView, with higher limits for more restrictive views. |
pageToken |
A token identifying a page of results the server should return. Typically this is the value of |
filter |
If present, specifies a filter. Filters are only applied to The fields An example date filter: An example property filter: An example geometry filter: See https://google.aip.dev/160 for more details on the filter language. |
view |
Specifies which parts of the |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListAssetsResponse.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthenginehttps://www.googleapis.com/auth/earthengine.readonlyhttps://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the OAuth 2.0 Overview.