Request message for HomepageDataService.FetchDocuments
method.
JSON representation |
---|
{ "homepageDataConfig": string, "pageSize": integer, "type": enum ( |
Fields | |
---|---|
homepage |
Required. The name of the homepage data config. Format: |
page |
The maximum number of documents to return. Maximum allowed value is 20. |
type |
The type of request. |
Union field request_type . Type for the request. request_type can be only one of the following: |
|
recommended |
Configuration to fetch recommended documents for the user. |
recent |
Configuration to fetch recent documents for the user. |
recent |
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. |