⚠️ This documentation pertains to a preview endpoint. This feature is not yet ready for API consumption and may change.
For inquiries or feedback, please contact us at Glean.

Read events

post/getevents

Read detailed information about the given event ids.

SecurityBearerAuth
Request
header Parameters
X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

X-Scio-Actas
string <email>

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

Request Body schema: application/json
required

GetEvents request

ids
required
Array of strings

The ids of the calendar events to be retrieved.

annotate
boolean

Whether relevant content and documents, via GeneratedAttachments, should be attached to the events.

Array of objects (AuthToken)

Auth tokens if client-side authentication.

datasource
string

The app or other repository type from which the event was extracted

Responses
200

OK

Response Schema: application/json
Array of objects (FeedResult)

The requested events. Uses a FeedResult for now as a Calendar Event doesn't have all event info such as attachments.

400

Invalid request

401

Not Authorized

429

Too Many Requests

Request samples
application/json
{
  • "ids": [
    • "string"
    ],
  • "authTokens": [
    • {
      • "accessToken": "123abc",
      • "datasource": "gmail",
      • "scope": "email profile https://www.googleapis.com/auth/gmail.readonly",
      • "tokenType": "Bearer",
      • "authUser": "1"
      }
    ],
  • "datasource": "string",
  • "annotate": true
}
Response samples
application/json
{
  • "events": [
    • {
      • "category": "DOCUMENT_SUGGESTION",
      • "primaryEntry": {
        • "entryId": "string",
        • "title": "string",
        • "thumbnail": {
          • "photoId": "string",
          • "url": "string"
          },
        • "createdBy": {
          • "name": "George Clooney",
          • "obfuscatedId": "abc123"
          },
        • "uiConfig": {
          • "format": "LIST",
          • "additionalFlags": {
            • "showNewIndicator": true
            }
          },
        • "justificationType": "FREQUENTLY_ACCESSED",
        • "justification": "string",
        • "trackingToken": "string",
        • "viewUrl": "string",
        • "document": {
          • "id": "string",
          • "datasource": "string",
          • "connectorType": "API_CRAWL",
          • "docType": "string",
          • "content": {
            • "fullTextList": [
              • "string"
              ]
            },
          • "containerDocument": { },
          • "parentDocument": { },
          • "title": "string",
          • "url": "string",
          • "metadata": {
            • "container": "container",
            • "parentId": "JIRA_EN-1337",
            • "createTime": "2000-01-23T04:56:07.000Z",
            • "datasource": "datasource",
            • "author": {
              • "name": "name"
              },
            • "documentId": "documentId",
            • "updateTime": "2000-01-23T04:56:07.000Z",
            • "mimeType": "mimeType",
            • "objectType": "Feature Request",
            • "components": [
              • "Backend",
              • "Networking"
              ],
            • "status": [
              • "Done"
              ],
            • "customData": {
              • "someCustomField": "someCustomValue"
              }
            },
          • "sections": [
            • {
              • "title": "string",
              • "url": "string"
              }
            ]
          },
        • "event": {
          • "time": {
            • "start": "string",
            • "end": "string"
            },
          • "eventType": "DEFAULT",
          • "id": "string",
          • "url": "string",
          • "attendees": {
            • "people": [
              • {
                • "isOrganizer": null,
                • "isInGroup": null,
                • "person": null,
                • "groupAttendees": [ ],
                • "responseStatus": null
                }
              ],
            • "isLimit": true,
            • "total": 0,
            • "numAccepted": 0,
            • "numDeclined": 0,
            • "numNoResponse": 0,
            • "numTentative": 0
            },
          • "location": "string",
          • "conferenceData": {
            • "provider": "ZOOM",
            • "uri": "string",
            • "source": "NATIVE_CONFERENCE"
            },
          • "description": "string",
          • "datasource": "string",
          • "hasTranscript": true,
          • "classifications": [
            • {
              • "name": "External Event",
              • "strategies": [
                • null
                ]
              }
            ],
          • "generatedAttachments": [
            • {
              • "strategyName": "customerCard",
              • "documents": [
                • null
                ],
              • "person": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "customer": {
                • "id": null,
                • "domains": [ ],
                • "company": null,
                • "documentCounts": null,
                • "poc": [ ],
                • "metadata": null,
                • "mergedCustomers": [ ],
                • "startDate": null,
                • "contractAnnualRevenue": null,
                • "notes": null
                },
              • "externalLinks": [
                • null
                ],
              • "content": [
                • null
                ]
              }
            ]
          },
        • "announcement": {
          • "startTime": "2019-08-24T14:15:22Z",
          • "endTime": "2019-08-24T14:15:22Z",
          • "title": "string",
          • "body": {
            • "text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
            • "structuredList": [
              • {
                • "link": null,
                • "document": null,
                • "text": null
                }
              ]
            },
          • "emoji": "string",
          • "thumbnail": {
            • "photoId": "string",
            • "url": "string"
            },
          • "banner": {
            • "photoId": "string",
            • "url": "string"
            },
          • "audienceFilters": [
            • {
              • "fieldName": "type",
              • "values": [
                • {
                  • "value": "Spreadsheet",
                  • "relationType": "EQUALS"
                  },
                • {
                  • "value": "Presentation",
                  • "relationType": "EQUALS"
                  }
                ]
              }
            ],
          • "sourceDocumentId": "string",
          • "hideAttribution": true,
          • "channel": "MAIN",
          • "postType": "TEXT",
          • "isPrioritized": true,
          • "viewUrl": "string",
          • "draftId": 342,
          • "permissions": {
            • "write": {
              • "scopeType": "GLOBAL",
              • "create": true,
              • "update": true,
              • "delete": true
              }
            },
          • "id": 0,
          • "author": {
            • "name": "George Clooney",
            • "obfuscatedId": "abc123"
            },
          • "createTimestamp": 0,
          • "lastUpdateTimestamp": 0,
          • "updatedBy": {
            • "name": "George Clooney",
            • "obfuscatedId": "abc123"
            },
          • "viewerInfo": {
            • "isDismissed": true,
            • "isRead": true
            },
          • "sourceDocument": {
            • "id": "string",
            • "datasource": "string",
            • "connectorType": "API_CRAWL",
            • "docType": "string",
            • "content": {
              • "fullTextList": [
                • null
                ]
              },
            • "containerDocument": { },
            • "parentDocument": { },
            • "title": "string",
            • "url": "string",
            • "metadata": {
              • "container": "container",
              • "parentId": "JIRA_EN-1337",
              • "createTime": "2000-01-23T04:56:07.000Z",
              • "datasource": "datasource",
              • "author": {
                • "name": "name"
                },
              • "documentId": "documentId",
              • "updateTime": "2000-01-23T04:56:07.000Z",
              • "mimeType": "mimeType",
              • "objectType": "Feature Request",
              • "components": [
                • "Backend",
                • "Networking"
                ],
              • "status": [
                • "Done"
                ],
              • "customData": {
                • "someCustomField": "someCustomValue"
                }
              },
            • "sections": [
              • {
                • "title": null,
                • "url": null
                }
              ]
            },
          • "isPublished": true
          },
        • "collection": {
          • "name": "string",
          • "description": "string",
          • "addedRoles": [
            • {
              • "sourceDocumentSpec": {
                • "url": null
                },
              • "person": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "group": {
                • "type": null,
                • "id": null,
                • "name": null
                },
              • "role": "OWNER"
              }
            ],
          • "removedRoles": [
            • {
              • "sourceDocumentSpec": {
                • "url": null
                },
              • "person": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "group": {
                • "type": null,
                • "id": null,
                • "name": null
                },
              • "role": "OWNER"
              }
            ],
          • "audienceFilters": [
            • {
              • "fieldName": "type",
              • "values": [
                • {
                  • "value": "Spreadsheet",
                  • "relationType": "EQUALS"
                  },
                • {
                  • "value": "Presentation",
                  • "relationType": "EQUALS"
                  }
                ]
              }
            ],
          • "icon": "string",
          • "adminLocked": true,
          • "parentId": 0,
          • "thumbnail": {
            • "photoId": "string",
            • "url": "string"
            },
          • "allowedDatasource": "string",
          • "permissions": {
            • "write": {
              • "scopeType": "GLOBAL",
              • "create": true,
              • "update": true,
              • "delete": true
              }
            },
          • "id": 0,
          • "createTime": "2019-08-24T14:15:22Z",
          • "updateTime": "2019-08-24T14:15:22Z",
          • "creator": {
            • "name": "George Clooney",
            • "obfuscatedId": "abc123"
            },
          • "updatedBy": {
            • "name": "George Clooney",
            • "obfuscatedId": "abc123"
            },
          • "itemCount": 0,
          • "childCount": 0,
          • "items": [
            • {
              • "name": "string",
              • "description": "string",
              • "icon": "string",
              • "collectionId": 0,
              • "documentId": "string",
              • "url": "string",
              • "itemId": "string",
              • "createdBy": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "createdAt": "2019-08-24T14:15:22Z",
              • "document": {
                • "id": null,
                • "datasource": null,
                • "connectorType": null,
                • "docType": null,
                • "content": null,
                • "containerDocument": null,
                • "parentDocument": null,
                • "title": null,
                • "url": null,
                • "metadata": null,
                • "sections": [ ]
                },
              • "shortcut": {
                • "id": null,
                • "inputAlias": null,
                • "destinationUrl": null,
                • "destinationDocumentId": null,
                • "description": null,
                • "unlisted": null,
                • "urlTemplate": null,
                • "addedRoles": [ ],
                • "removedRoles": [ ],
                • "permissions": null,
                • "createdBy": null,
                • "createTime": null,
                • "updatedBy": null,
                • "updateTime": null,
                • "destinationDocument": null,
                • "intermediateUrl": null,
                • "viewPrefix": null,
                • "isExternal": null,
                • "editUrl": null,
                • "alias": null,
                • "title": null,
                • "roles": [ ]
                },
              • "collection": null,
              • "itemType": "DOCUMENT"
              }
            ],
          • "pinMetadata": {
            • "existingPins": [
              • {
                • "category": null,
                • "value": null,
                • "target": null
                }
              ],
            • "eligiblePins": [
              • {
                • "id": null,
                • "target": null
                }
              ]
            },
          • "shortcuts": [
            • "string"
            ],
          • "children": [
            • null
            ],
          • "roles": [
            • {
              • "sourceDocumentSpec": {
                • "url": null
                },
              • "person": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "group": {
                • "type": null,
                • "id": null,
                • "name": null
                },
              • "role": "OWNER"
              }
            ]
          },
        • "collectionItem": {
          • "name": "string",
          • "description": "string",
          • "icon": "string",
          • "collectionId": 0,
          • "documentId": "string",
          • "url": "string",
          • "itemId": "string",
          • "createdBy": {
            • "name": "George Clooney",
            • "obfuscatedId": "abc123"
            },
          • "createdAt": "2019-08-24T14:15:22Z",
          • "document": {
            • "id": "string",
            • "datasource": "string",
            • "connectorType": "API_CRAWL",
            • "docType": "string",
            • "content": {
              • "fullTextList": [
                • null
                ]
              },
            • "containerDocument": { },
            • "parentDocument": { },
            • "title": "string",
            • "url": "string",
            • "metadata": {
              • "container": "container",
              • "parentId": "JIRA_EN-1337",
              • "createTime": "2000-01-23T04:56:07.000Z",
              • "datasource": "datasource",
              • "author": {
                • "name": "name"
                },
              • "documentId": "documentId",
              • "updateTime": "2000-01-23T04:56:07.000Z",
              • "mimeType": "mimeType",
              • "objectType": "Feature Request",
              • "components": [
                • "Backend",
                • "Networking"
                ],
              • "status": [
                • "Done"
                ],
              • "customData": {
                • "someCustomField": "someCustomValue"
                }
              },
            • "sections": [
              • {
                • "title": null,
                • "url": null
                }
              ]
            },
          • "shortcut": {
            • "id": 0,
            • "inputAlias": "string",
            • "destinationUrl": "string",
            • "destinationDocumentId": "string",
            • "description": "string",
            • "unlisted": true,
            • "urlTemplate": "string",
            • "addedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "removedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "permissions": {
              • "write": {
                • "scopeType": null,
                • "create": null,
                • "update": null,
                • "delete": null
                }
              },
            • "createdBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "createTime": "2019-08-24T14:15:22Z",
            • "updatedBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "updateTime": "2019-08-24T14:15:22Z",
            • "destinationDocument": {
              • "id": "string",
              • "datasource": "string",
              • "connectorType": "API_CRAWL",
              • "docType": "string",
              • "content": {
                • "fullTextList": [ ]
                },
              • "containerDocument": { },
              • "parentDocument": { },
              • "title": "string",
              • "url": "string",
              • "metadata": {
                • "container": "container",
                • "parentId": "JIRA_EN-1337",
                • "createTime": "2000-01-23T04:56:07.000Z",
                • "datasource": "datasource",
                • "author": {
                  • "name": "name"
                  },
                • "documentId": "documentId",
                • "updateTime": "2000-01-23T04:56:07.000Z",
                • "mimeType": "mimeType",
                • "objectType": "Feature Request",
                • "components": [
                  • "Backend",
                  • "Networking"
                  ],
                • "status": [
                  • "Done"
                  ],
                • "customData": {
                  • "someCustomField": "someCustomValue"
                  }
                },
              • "sections": [
                • null
                ]
              },
            • "intermediateUrl": "string",
            • "viewPrefix": "string",
            • "isExternal": true,
            • "editUrl": "string",
            • "alias": "string",
            • "title": "string",
            • "roles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ]
            },
          • "collection": {
            • "name": "string",
            • "description": "string",
            • "addedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "removedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "audienceFilters": [
              • {
                • "fieldName": "type",
                • "values": [
                  • {
                    • "value": "Spreadsheet",
                    • "relationType": "EQUALS"
                    },
                  • {
                    • "value": "Presentation",
                    • "relationType": "EQUALS"
                    }
                  ]
                }
              ],
            • "icon": "string",
            • "adminLocked": true,
            • "parentId": 0,
            • "thumbnail": {
              • "photoId": "string",
              • "url": "string"
              },
            • "allowedDatasource": "string",
            • "permissions": {
              • "write": {
                • "scopeType": null,
                • "create": null,
                • "update": null,
                • "delete": null
                }
              },
            • "id": 0,
            • "createTime": "2019-08-24T14:15:22Z",
            • "updateTime": "2019-08-24T14:15:22Z",
            • "creator": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "updatedBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "itemCount": 0,
            • "childCount": 0,
            • "items": [
              • null
              ],
            • "pinMetadata": {
              • "existingPins": [
                • null
                ],
              • "eligiblePins": [
                • null
                ]
              },
            • "shortcuts": [
              • "string"
              ],
            • "children": [
              • null
              ],
            • "roles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ]
            },
          • "itemType": "DOCUMENT"
          },
        • "person": {
          • "name": "George Clooney",
          • "obfuscatedId": "abc123"
          },
        • "app": {
          • "datasource": "string",
          • "docType": "string",
          • "mimeType": "string",
          • "iconUrl": "string"
          },
        • "promptTemplate": {
          • "promptTemplate": {
            • "name": "string",
            • "template": "string",
            • "applicationId": "string",
            • "inclusions": {
              • "containerSpecs": [
                • null
                ],
              • "documentSpecs": [
                • null
                ],
              • "datasourceInstances": [
                • null
                ]
              },
            • "addedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "removedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "permissions": {
              • "write": {
                • "scopeType": null,
                • "create": null,
                • "update": null,
                • "delete": null
                }
              },
            • "id": "string",
            • "author": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "createTimestamp": 0,
            • "lastUpdateTimestamp": 0,
            • "lastUpdatedBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "roles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ]
            },
          • "trackingToken": "string",
          • "favoriteInfo": {
            • "ugcType": "ANNOUNCEMENTS_TYPE",
            • "id": "string",
            • "count": 0,
            • "favoritedByUser": true
            },
          • "runCount": {
            • "count": 0,
            • "period": {
              • "minDaysFromNow": 0,
              • "maxDaysFromNow": 0,
              • "start": {
                • "epochSeconds": null,
                • "daysFromNow": null
                },
              • "end": {
                • "epochSeconds": null,
                • "daysFromNow": null
                }
              },
            • "org": "string"
            }
          },
        • "workflow": {
          • "workflow": {
            • "permissions": {
              • "write": {
                • "scopeType": null,
                • "create": null,
                • "update": null,
                • "delete": null
                }
              },
            • "name": "string",
            • "schema": {
              • "goal": "string",
              • "steps": [
                • null
                ],
              • "fields": [
                • null
                ]
              },
            • "applicationId": "string",
            • "addedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "removedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "fields": [
              • {
                • "name": null,
                • "displayName": null,
                • "description": null
                }
              ],
            • "steps": [
              • {
                • "id": null,
                • "instructionTemplate": null,
                • "toolConfig": [ ]
                }
              ],
            • "author": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "createTimestamp": 0,
            • "lastUpdateTimestamp": 0,
            • "lastUpdatedBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "roles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "id": "string"
            },
          • "favoriteInfo": {
            • "ugcType": "ANNOUNCEMENTS_TYPE",
            • "id": "string",
            • "count": 0,
            • "favoritedByUser": true
            },
          • "tags": [
            • "RECOMMENDED"
            ],
          • "runCount": {
            • "count": 0,
            • "period": {
              • "minDaysFromNow": 0,
              • "maxDaysFromNow": 0,
              • "start": {
                • "epochSeconds": null,
                • "daysFromNow": null
                },
              • "end": {
                • "epochSeconds": null,
                • "daysFromNow": null
                }
              },
            • "org": "string"
            }
          },
        • "activities": [
          • {
            • "actor": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "timestamp": 0,
            • "action": "ADD",
            • "aggregateVisitCount": {
              • "count": 0,
              • "period": {
                • "minDaysFromNow": null,
                • "maxDaysFromNow": null,
                • "start": null,
                • "end": null
                },
              • "org": "string"
              }
            }
          ],
        • "documentVisitorCount": {
          • "count": 0,
          • "period": {
            • "minDaysFromNow": 0,
            • "maxDaysFromNow": 0,
            • "start": {
              • "epochSeconds": 0,
              • "daysFromNow": 0
              },
            • "end": {
              • "epochSeconds": 0,
              • "daysFromNow": 0
              }
            },
          • "org": "string"
          }
        },
      • "secondaryEntries": [
        • {
          • "entryId": "string",
          • "title": "string",
          • "thumbnail": {
            • "photoId": "string",
            • "url": "string"
            },
          • "createdBy": {
            • "name": "George Clooney",
            • "obfuscatedId": "abc123"
            },
          • "uiConfig": {
            • "format": "LIST",
            • "additionalFlags": {
              • "showNewIndicator": true
              }
            },
          • "justificationType": "FREQUENTLY_ACCESSED",
          • "justification": "string",
          • "trackingToken": "string",
          • "viewUrl": "string",
          • "document": {
            • "id": "string",
            • "datasource": "string",
            • "connectorType": "API_CRAWL",
            • "docType": "string",
            • "content": {
              • "fullTextList": [
                • null
                ]
              },
            • "containerDocument": { },
            • "parentDocument": { },
            • "title": "string",
            • "url": "string",
            • "metadata": {
              • "container": "container",
              • "parentId": "JIRA_EN-1337",
              • "createTime": "2000-01-23T04:56:07.000Z",
              • "datasource": "datasource",
              • "author": {
                • "name": "name"
                },
              • "documentId": "documentId",
              • "updateTime": "2000-01-23T04:56:07.000Z",
              • "mimeType": "mimeType",
              • "objectType": "Feature Request",
              • "components": [
                • "Backend",
                • "Networking"
                ],
              • "status": [
                • "Done"
                ],
              • "customData": {
                • "someCustomField": "someCustomValue"
                }
              },
            • "sections": [
              • {
                • "title": null,
                • "url": null
                }
              ]
            },
          • "event": {
            • "time": {
              • "start": "string",
              • "end": "string"
              },
            • "eventType": "DEFAULT",
            • "id": "string",
            • "url": "string",
            • "attendees": {
              • "people": [
                • null
                ],
              • "isLimit": true,
              • "total": 0,
              • "numAccepted": 0,
              • "numDeclined": 0,
              • "numNoResponse": 0,
              • "numTentative": 0
              },
            • "location": "string",
            • "conferenceData": {
              • "provider": "ZOOM",
              • "uri": "string",
              • "source": "NATIVE_CONFERENCE"
              },
            • "description": "string",
            • "datasource": "string",
            • "hasTranscript": true,
            • "classifications": [
              • {
                • "name": null,
                • "strategies": [ ]
                }
              ],
            • "generatedAttachments": [
              • {
                • "strategyName": null,
                • "documents": [ ],
                • "person": null,
                • "customer": null,
                • "externalLinks": [ ],
                • "content": [ ]
                }
              ]
            },
          • "announcement": {
            • "startTime": "2019-08-24T14:15:22Z",
            • "endTime": "2019-08-24T14:15:22Z",
            • "title": "string",
            • "body": {
              • "text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
              • "structuredList": [
                • null
                ]
              },
            • "emoji": "string",
            • "thumbnail": {
              • "photoId": "string",
              • "url": "string"
              },
            • "banner": {
              • "photoId": "string",
              • "url": "string"
              },
            • "audienceFilters": [
              • {
                • "fieldName": "type",
                • "values": [
                  • {
                    • "value": "Spreadsheet",
                    • "relationType": "EQUALS"
                    },
                  • {
                    • "value": "Presentation",
                    • "relationType": "EQUALS"
                    }
                  ]
                }
              ],
            • "sourceDocumentId": "string",
            • "hideAttribution": true,
            • "channel": "MAIN",
            • "postType": "TEXT",
            • "isPrioritized": true,
            • "viewUrl": "string",
            • "draftId": 342,
            • "permissions": {
              • "write": {
                • "scopeType": null,
                • "create": null,
                • "update": null,
                • "delete": null
                }
              },
            • "id": 0,
            • "author": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "createTimestamp": 0,
            • "lastUpdateTimestamp": 0,
            • "updatedBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "viewerInfo": {
              • "isDismissed": true,
              • "isRead": true
              },
            • "sourceDocument": {
              • "id": "string",
              • "datasource": "string",
              • "connectorType": "API_CRAWL",
              • "docType": "string",
              • "content": {
                • "fullTextList": [ ]
                },
              • "containerDocument": { },
              • "parentDocument": { },
              • "title": "string",
              • "url": "string",
              • "metadata": {
                • "container": "container",
                • "parentId": "JIRA_EN-1337",
                • "createTime": "2000-01-23T04:56:07.000Z",
                • "datasource": "datasource",
                • "author": {
                  • "name": "name"
                  },
                • "documentId": "documentId",
                • "updateTime": "2000-01-23T04:56:07.000Z",
                • "mimeType": "mimeType",
                • "objectType": "Feature Request",
                • "components": [
                  • "Backend",
                  • "Networking"
                  ],
                • "status": [
                  • "Done"
                  ],
                • "customData": {
                  • "someCustomField": "someCustomValue"
                  }
                },
              • "sections": [
                • null
                ]
              },
            • "isPublished": true
            },
          • "collection": {
            • "name": "string",
            • "description": "string",
            • "addedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "removedRoles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ],
            • "audienceFilters": [
              • {
                • "fieldName": "type",
                • "values": [
                  • {
                    • "value": "Spreadsheet",
                    • "relationType": "EQUALS"
                    },
                  • {
                    • "value": "Presentation",
                    • "relationType": "EQUALS"
                    }
                  ]
                }
              ],
            • "icon": "string",
            • "adminLocked": true,
            • "parentId": 0,
            • "thumbnail": {
              • "photoId": "string",
              • "url": "string"
              },
            • "allowedDatasource": "string",
            • "permissions": {
              • "write": {
                • "scopeType": null,
                • "create": null,
                • "update": null,
                • "delete": null
                }
              },
            • "id": 0,
            • "createTime": "2019-08-24T14:15:22Z",
            • "updateTime": "2019-08-24T14:15:22Z",
            • "creator": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "updatedBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "itemCount": 0,
            • "childCount": 0,
            • "items": [
              • {
                • "name": null,
                • "description": null,
                • "icon": null,
                • "collectionId": null,
                • "documentId": null,
                • "url": null,
                • "itemId": null,
                • "createdBy": null,
                • "createdAt": null,
                • "document": null,
                • "shortcut": null,
                • "collection": null,
                • "itemType": null
                }
              ],
            • "pinMetadata": {
              • "existingPins": [
                • null
                ],
              • "eligiblePins": [
                • null
                ]
              },
            • "shortcuts": [
              • "string"
              ],
            • "children": [
              • null
              ],
            • "roles": [
              • {
                • "sourceDocumentSpec": null,
                • "person": null,
                • "group": null,
                • "role": null
                }
              ]
            },
          • "collectionItem": {
            • "name": "string",
            • "description": "string",
            • "icon": "string",
            • "collectionId": 0,
            • "documentId": "string",
            • "url": "string",
            • "itemId": "string",
            • "createdBy": {
              • "name": "George Clooney",
              • "obfuscatedId": "abc123"
              },
            • "createdAt": "2019-08-24T14:15:22Z",
            • "document": {
              • "id": "string",
              • "datasource": "string",
              • "connectorType": "API_CRAWL",
              • "docType": "string",
              • "content": {
                • "fullTextList": [ ]
                },
              • "containerDocument": { },
              • "parentDocument": { },
              • "title": "string",
              • "url": "string",
              • "metadata": {
                • "container": "container",
                • "parentId": "JIRA_EN-1337",
                • "createTime": "2000-01-23T04:56:07.000Z",
                • "datasource": "datasource",
                • "author": {
                  • "name": "name"
                  },
                • "documentId": "documentId",
                • "updateTime": "2000-01-23T04:56:07.000Z",
                • "mimeType": "mimeType",
                • "objectType": "Feature Request",
                • "components": [
                  • "Backend",
                  • "Networking"
                  ],
                • "status": [
                  • "Done"
                  ],
                • "customData": {
                  • "someCustomField": "someCustomValue"
                  }
                },
              • "sections": [
                • null
                ]
              },
            • "shortcut": {
              • "id": 0,
              • "inputAlias": "string",
              • "destinationUrl": "string",
              • "destinationDocumentId": "string",
              • "description": "string",
              • "unlisted": true,
              • "urlTemplate": "string",
              • "addedRoles": [
                • null
                ],
              • "removedRoles": [
                • null
                ],
              • "permissions": {
                • "write": null
                },
              • "createdBy": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "createTime": "2019-08-24T14:15:22Z",
              • "updatedBy": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "updateTime": "2019-08-24T14:15:22Z",
              • "destinationDocument": {
                • "id": null,
                • "datasource": null,
                • "connectorType": null,
                • "docType": null,
                • "content": null,
                • "containerDocument": null,
                • "parentDocument": null,
                • "title": null,
                • "url": null,
                • "metadata": null,
                • "sections": [ ]
                },
              • "intermediateUrl": "string",
              • "viewPrefix": "string",
              • "isExternal": true,
              • "editUrl": "string",
              • "alias": "string",
              • "title": "string",
              • "roles": [
                • null
                ]
              },
            • "collection": {
              • "name": "string",
              • "description": "string",
              • "addedRoles": [
                • null
                ],
              • "removedRoles": [
                • null
                ],
              • "audienceFilters": [
                • null
                ],
              • "icon": "string",
              • "adminLocked": true,
              • "parentId": 0,
              • "thumbnail": {
                • "photoId": null,
                • "url": null
                },
              • "allowedDatasource": "string",
              • "permissions": {
                • "write": null
                },
              • "id": 0,
              • "createTime": "2019-08-24T14:15:22Z",
              • "updateTime": "2019-08-24T14:15:22Z",
              • "creator": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "updatedBy": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "itemCount": 0,
              • "childCount": 0,
              • "items": [
                • null
                ],
              • "pinMetadata": {
                • "existingPins": [ ],
                • "eligiblePins": [ ]
                },
              • "shortcuts": [
                • null
                ],
              • "children": [
                • null
                ],
              • "roles": [
                • null
                ]
              },
            • "itemType": "DOCUMENT"
            },
          • "person": {
            • "name": "George Clooney",
            • "obfuscatedId": "abc123"
            },
          • "app": {
            • "datasource": "string",
            • "docType": "string",
            • "mimeType": "string",
            • "iconUrl": "string"
            },
          • "promptTemplate": {
            • "promptTemplate": {
              • "name": "string",
              • "template": "string",
              • "applicationId": "string",
              • "inclusions": {
                • "containerSpecs": [ ],
                • "documentSpecs": [ ],
                • "datasourceInstances": [ ]
                },
              • "addedRoles": [
                • null
                ],
              • "removedRoles": [
                • null
                ],
              • "permissions": {
                • "write": null
                },
              • "id": "string",
              • "author": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "createTimestamp": 0,
              • "lastUpdateTimestamp": 0,
              • "lastUpdatedBy": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "roles": [
                • null
                ]
              },
            • "trackingToken": "string",
            • "favoriteInfo": {
              • "ugcType": "ANNOUNCEMENTS_TYPE",
              • "id": "string",
              • "count": 0,
              • "favoritedByUser": true
              },
            • "runCount": {
              • "count": 0,
              • "period": {
                • "minDaysFromNow": null,
                • "maxDaysFromNow": null,
                • "start": null,
                • "end": null
                },
              • "org": "string"
              }
            },
          • "workflow": {
            • "workflow": {
              • "permissions": {
                • "write": null
                },
              • "name": "string",
              • "schema": {
                • "goal": null,
                • "steps": [ ],
                • "fields": [ ]
                },
              • "applicationId": "string",
              • "addedRoles": [
                • null
                ],
              • "removedRoles": [
                • null
                ],
              • "fields": [
                • null
                ],
              • "steps": [
                • null
                ],
              • "author": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "createTimestamp": 0,
              • "lastUpdateTimestamp": 0,
              • "lastUpdatedBy": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "roles": [
                • null
                ],
              • "id": "string"
              },
            • "favoriteInfo": {
              • "ugcType": "ANNOUNCEMENTS_TYPE",
              • "id": "string",
              • "count": 0,
              • "favoritedByUser": true
              },
            • "tags": [
              • "RECOMMENDED"
              ],
            • "runCount": {
              • "count": 0,
              • "period": {
                • "minDaysFromNow": null,
                • "maxDaysFromNow": null,
                • "start": null,
                • "end": null
                },
              • "org": "string"
              }
            },
          • "activities": [
            • {
              • "actor": {
                • "name": "George Clooney",
                • "obfuscatedId": "abc123"
                },
              • "timestamp": 0,
              • "action": "ADD",
              • "aggregateVisitCount": {
                • "count": null,
                • "period": null,
                • "org": null
                }
              }
            ],
          • "documentVisitorCount": {
            • "count": 0,
            • "period": {
              • "minDaysFromNow": 0,
              • "maxDaysFromNow": 0,
              • "start": {
                • "epochSeconds": null,
                • "daysFromNow": null
                },
              • "end": {
                • "epochSeconds": null,
                • "daysFromNow": null
                }
              },
            • "org": "string"
            }
          }
        ],
      • "rank": 0
      }
    ]
}