Request message for HomepageDataService.FetchDocuments method.
| JSON representation |
|---|
{ "homepageDataConfig": string, "pageSize": integer, "type": enum ( |
| Fields | |
|---|---|
homepageDataConfig |
Required. The name of the homepage data config. Format: |
pageSize |
The maximum number of documents to return. Maximum allowed value is 20. |
type |
The type of request. |
disableCache |
Optional. If true, then cache will not be used. |
Union field request_type. Type for the request. request_type can be only one of the following: |
|
recommendedDocuments |
Configuration to fetch recommended documents for the user. |
recentDocuments |
Configuration to fetch recent documents for the user. |
recentEvents |
Configuration to fetch recent events for the user. |
announcements |
Configuration to fetch announcements for the user. |
RecommendedDocuments
Configuration to fetch recommended documents for the user.
| JSON representation |
|---|
{
"types": [
enum ( |
| Fields | |
|---|---|
types[] |
Optional. The type of documents to return in the recommended documents. If empty then all types of documents are returned. |
RecentDocuments
Configuration to fetch recent documents for the user.
| JSON representation |
|---|
{
"types": [
enum ( |
| Fields | |
|---|---|
types[] |
Optional. The type of documents to return in the recent documents. If empty then all types of documents are returned. |
RecentEvents
This type has no fields.
Configuration to fetch recent events for the user.
Announcements
Configuration to fetch announcements for the user.
| JSON representation |
|---|
{
"types": [
enum ( |
| Fields | |
|---|---|
types[] |
Optional. The type of announcements to return. If empty then all types of announcements are returned. |