You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
22
22
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'
11241
11241
id:
11242
11242
type: string
11243
-
description: The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length.
11243
+
description: |
11244
+
The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025
| `objectType` | *Optional\<String>* | :heavy_minus_sign: | The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ |
17
17
| `viewURL` | *Optional\<String>* | :heavy_minus_sign: | The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'<br/> |
18
-
| `id` | *Optional\<String>* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. |
18
+
| `id` | *Optional\<String>* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025<br/> |
19
19
| `summary` | [Optional\<ContentDefinition>](../../models/components/ContentDefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
20
20
| `body` | [Optional\<ContentDefinition>](../../models/components/ContentDefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
21
21
| `author` | [Optional\<UserReferenceDefinition>](../../models/components/UserReferenceDefinition.md) | :heavy_minus_sign: | Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id. |
0 commit comments