http://workdocs.{region}.amazonaws.com/api/v1/folders/{FolderId}/contents<p>Describes the contents of the specified folder, including its documents and subfolders.</p> <p>By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.</p>
The ID of the folder.
The sorting criteria.
The order for the contents of the folder.
The maximum number of items to return with this call.
The marker for the next set of results. This marker was received from a previous call.
The type of items.
The contents to include. Specify "INITIALIZED" to include initialized documents.
Pagination limit
Pagination token
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://workdocs.{region}.amazonaws.com/api/v1/folders/{FolderId}/contents' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://workdocs.{region}.amazonaws.com/api/v1/folders/{FolderId}/contents<p>Describes the contents of the specified folder, including its documents and subfolders.</p> <p>By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.</p>
The ID of the folder.
The sorting criteria.
The order for the contents of the folder.
The maximum number of items to return with this call.
The marker for the next set of results. This marker was received from a previous call.
The type of items.
The contents to include. Specify "INITIALIZED" to include initialized documents.
Pagination limit
Pagination token
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://workdocs.{region}.amazonaws.com/api/v1/folders/{FolderId}/contents' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}