Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
161 changes: 75 additions & 86 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.12.12
version: 0.12.13
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
Expand All @@ -42,6 +42,7 @@ java:
enableStreamingUploads: false
envVarPrefix: GLEAN
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
githubURL: github.com/gleanwork/api-client-java
Expand Down
94 changes: 51 additions & 43 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 6c18cdaa8da169e191cc66885c326e2ea6d13644
x-source-commit-sha: 925e113bd7ed6e1104db4091283fe5a42dec3aa6
description: |
# Introduction
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.
Expand All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: c7a6190b989a16d24b879348f08e27efcb304566
x-open-api-commit-sha: d6ec9ccb0a7ab0d36e501675eec3abd8e9cdab2f
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -322,6 +322,7 @@ paths:
summary: List Answers
description: List Answers created by the current user.
operationId: listanswers
deprecated: true
x-visibility: Public
x-codegen-request-body-name: payload
parameters: []
Expand Down Expand Up @@ -3350,6 +3351,8 @@ paths:
schema:
description: CSV of all the violations found for this policy.
type: string
"400":
description: Bad request error (e.g., continuous policies are not supported).
"403":
description: Permissions error
"500":
Expand Down Expand Up @@ -5293,39 +5296,6 @@ components:
items:
$ref: "#/components/schemas/FacetFilter"
description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search.
AnswerBoardMutableProperties:
allOf:
- $ref: "#/components/schemas/CollectionBaseMutableProperties"
AnswerBoard:
allOf:
- $ref: "#/components/schemas/AnswerBoardMutableProperties"
- $ref: "#/components/schemas/PermissionedObject"
- type: object
required:
- id
- description
properties:
id:
type: integer
description: The unique ID of the Answer Board.
createTime:
type: string
format: date-time
updateTime:
type: string
format: date-time
creator:
$ref: "#/components/schemas/Person"
updatedBy:
$ref: "#/components/schemas/Person"
itemCount:
type: integer
description: The number of items currently in the Answer Board. Separated from the actual items so we can grab the count without items.
roles:
type: array
description: A list of user roles for the Answer Board.
items:
$ref: "#/components/schemas/UserRoleSpecification"
Thumbnail:
properties:
photoId:
Expand Down Expand Up @@ -5622,9 +5592,6 @@ components:
$ref: "#/components/schemas/Person"
verification:
$ref: "#/components/schemas/Verification"
board:
$ref: "#/components/schemas/AnswerBoard"
description: The parent board this answer is in.
collections:
type: array
description: The collections to which the answer belongs.
Expand Down Expand Up @@ -5873,6 +5840,21 @@ components:
attendees:
$ref: "#/components/schemas/CalendarAttendees"
description: The attendee list, including their response status
isCancelled:
type: boolean
description: Whether the meeting has been cancelled
location:
type: string
description: The location/venue of the meeting
responseStatus:
type: string
description: The current user's response status (accepted, declined, tentativelyAccepted, none)
conferenceUri:
type: string
description: The meeting join link (Teams, Zoom, etc.)
conferenceProvider:
type: string
description: The conference provider (e.g., "Microsoft Teams", "Zoom")
AppResult:
required:
- datasource
Expand Down Expand Up @@ -6132,8 +6114,6 @@ components:
$ref: "#/components/schemas/AppResult"
collection:
$ref: "#/components/schemas/Collection"
answerBoard:
$ref: "#/components/schemas/AnswerBoard"
code:
$ref: "#/components/schemas/Code"
shortcut:
Expand Down Expand Up @@ -7617,6 +7597,9 @@ components:
chatId:
type: string
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
ChatRestrictionFilters:
allOf:
- $ref: "#/components/schemas/RestrictionFilters"
Expand All @@ -7635,9 +7618,6 @@ components:
- $ref: "#/components/schemas/ChatRequestBase"
- type: object
properties:
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
inclusions:
$ref: "#/components/schemas/ChatRestrictionFilters"
description: A list of filters which only allows chat to access certain content.
Expand Down Expand Up @@ -8190,6 +8170,7 @@ components:
- DOCUMENT_CONTENT
- CUSTOM_METADATA
DocumentOrError:
x-omit-error-on-success: true
oneOf:
- $ref: "#/components/schemas/Document"
- type: object
Expand All @@ -8199,6 +8180,7 @@ components:
error:
type: string
description: The text for error, reason.
x-is-error-field: true
GetDocumentsResponse:
properties:
documents:
Expand Down Expand Up @@ -8718,6 +8700,30 @@ components:
$ref: "#/components/schemas/LabeledCountInfo"
dailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchesTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantInteractionsTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentRunsTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchDatasourceCounts:
type: object
additionalProperties:
Expand Down Expand Up @@ -13045,6 +13051,8 @@ components:
$ref: "#/components/schemas/DlpSeverity"
timeRange:
$ref: "#/components/schemas/TimeRangeFilter"
archived:
type: boolean
ExportInfo:
properties:
createdBy:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.675.4
speakeasyVersion: 1.684.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
sourceRevisionDigest: sha256:58868f94f8aa92233ac431e7201039fd6359b9ea7e74d12aa655291f28857468
sourceBlobDigest: sha256:d53fea174c9a93652662b705c6e27f5e4ce5373462ec1d98c825d96d9bbb253f
tags:
- latest
- speakeasy-sdk-regen-1765505291
- speakeasy-sdk-regen-1765586452
Glean-OAS:
sourceNamespace: glean-oas
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
Expand All @@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
sourceRevisionDigest: sha256:58868f94f8aa92233ac431e7201039fd6359b9ea7e74d12aa655291f28857468
sourceBlobDigest: sha256:d53fea174c9a93652662b705c6e27f5e4ce5373462ec1d98c825d96d9bbb253f
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:9118d4c534254f586011a33995b011403ca46ec22294d08b1626a82fca790380
codeSamplesRevisionDigest: sha256:bcc37ad2d0d90a53f52a9a0661d7c338e403f9ee7c1b0d3f4420d2b492b979ad
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.glean.api-client:glean-api-client:0.12.12'
implementation 'com.glean.api-client:glean-api-client:0.12.13'
```

Maven:
```xml
<dependency>
<groupId>com.glean.api-client</groupId>
<artifactId>glean-api-client</artifactId>
<version>0.12.12</version>
<version>0.12.13</version>
</dependency>
```

Expand Down Expand Up @@ -422,7 +422,7 @@ For more information on obtaining the appropriate token type, please contact you
* [delete](docs/sdks/answers/README.md#delete) - Delete Answer
* [update](docs/sdks/answers/README.md#update) - Update Answer
* [retrieve](docs/sdks/answers/README.md#retrieve) - Read Answer
* [list](docs/sdks/answers/README.md#list) - List Answers
* [~~list~~](docs/sdks/answers/README.md#list) - List Answers :warning: **Deprecated**

### [Client.Authentication](docs/sdks/clientauthentication/README.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,4 +468,14 @@ Based on:
### Generated
- [java v0.12.12] .
### Releases
- [Maven Central v0.12.12] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.12 - .
- [Maven Central v0.12.12] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.12 - .

## 2026-01-11 02:28:23
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.684.0 (2.793.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.12.13] .
### Releases
- [Maven Central v0.12.13] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.13 - .
Loading