Skip to content

Commit 7179c5a

Browse files
committed
## Java SDK Changes:
* `glean.client.insights.retrieve()`: `response` **Changed** **Breaking** ⚠️ * `glean.client.pins.update()`: `response.attribution.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.answers.create()`: * `request.data.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `glean.client.answers.update()`: * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `glean.client.answers.retrieve()`: `response.answerresult.answer` **Changed** **Breaking** ⚠️ * `glean.client.verification.verify()`: `response.metadata.lastVerifier.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.answers.list()`: `response.answerresults.[].answer` **Changed** **Breaking** ⚠️ * `glean.client.chat.create()`: * `request.chatrequest.messages.[].citations.[].sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.messages.[].citations.[].sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.chat.retrieve()`: `response.chatresult.chat.createdBy.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.chat.list()`: `response.chatresults.[].chat.createdBy.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.chat.createStream()`: * `request.chatrequest.messages.[].citations.[].sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.addItems()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.create()`: * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.[class].collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.deleteItem()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.update()`: * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.addedroles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.updateItem()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.retrieve()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.messages.retrieve()`: `response.searchresponse.results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.documents.retrieve()`: `response.documents.{}.[document].metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.documents.retrieveByFacets()`: `response.documents.[].metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.announcements.update()`: * `request.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.announcements.create()`: * `request.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.list()`: `response.collections.[].addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.pins.retrieve()`: `response.pin.attribution.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.pins.list()`: `response.pins.[].attribution.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.pins.create()`: `response.attribution.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.queryAsAdmin()`: * `request.sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.autocomplete()`: `response.results.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.retrieveFeed()`: `response.results.[].primaryEntry.createdBy.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.recommendations()`: * `request.sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.query()`: * `request.sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.entities.list()`: `response.results.[].relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.entities.readPeople()`: `response.results.[].relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.create()`: * `request.data.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.shortcut.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.retrieve()`: `response.shortcut.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.list()`: `response.shortcuts.[].addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.update()`: * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `response.shortcut.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.verification.addReminder()`: `response.metadata.lastVerifier.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.verification.list()`: `response.documents.[].metadata.lastVerifier.relatedDocuments.[].results.[].structuredResults.[]` **Changed** **Breaking** ⚠️ * `glean.client.answers.list()`: **Deprecated** * `glean.client.governance.data.policies.download()`: `error.status[400]` **Added** * `glean.governance.createfindingsexport()`: * `request.filter.archived` **Added** * `response.filter.archived` **Added** * `glean.governance.listfindingsexports()`: `response.exports.[].filter.archived` **Added**
1 parent f1c9934 commit 7179c5a

34 files changed

+1406
-2406
lines changed

.speakeasy/gen.lock

Lines changed: 75 additions & 86 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: false
2727
skipResponseBodyAssertions: false
2828
java:
29-
version: 0.12.12
29+
version: 0.12.13
3030
additionalDependencies: []
3131
additionalPlugins: []
3232
artifactID: glean-api-client
@@ -42,6 +42,7 @@ java:
4242
enableStreamingUploads: false
4343
envVarPrefix: GLEAN
4444
flattenGlobalSecurity: true
45+
forwardCompatibleEnumsByDefault: false
4546
generateOptionalUnionAccessors: false
4647
generateSpringBootStarter: true
4748
githubURL: github.com/gleanwork/api-client-java

.speakeasy/glean-merged-spec.yaml

Lines changed: 51 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 6c18cdaa8da169e191cc66885c326e2ea6d13644
5+
x-source-commit-sha: 925e113bd7ed6e1104db4091283fe5a42dec3aa6
66
description: |
77
# Introduction
88
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:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: c7a6190b989a16d24b879348f08e27efcb304566
25+
x-open-api-commit-sha: d6ec9ccb0a7ab0d36e501675eec3abd8e9cdab2f
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -322,6 +322,7 @@ paths:
322322
summary: List Answers
323323
description: List Answers created by the current user.
324324
operationId: listanswers
325+
deprecated: true
325326
x-visibility: Public
326327
x-codegen-request-body-name: payload
327328
parameters: []
@@ -3350,6 +3351,8 @@ paths:
33503351
schema:
33513352
description: CSV of all the violations found for this policy.
33523353
type: string
3354+
"400":
3355+
description: Bad request error (e.g., continuous policies are not supported).
33533356
"403":
33543357
description: Permissions error
33553358
"500":
@@ -5293,39 +5296,6 @@ components:
52935296
items:
52945297
$ref: "#/components/schemas/FacetFilter"
52955298
description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search.
5296-
AnswerBoardMutableProperties:
5297-
allOf:
5298-
- $ref: "#/components/schemas/CollectionBaseMutableProperties"
5299-
AnswerBoard:
5300-
allOf:
5301-
- $ref: "#/components/schemas/AnswerBoardMutableProperties"
5302-
- $ref: "#/components/schemas/PermissionedObject"
5303-
- type: object
5304-
required:
5305-
- id
5306-
- description
5307-
properties:
5308-
id:
5309-
type: integer
5310-
description: The unique ID of the Answer Board.
5311-
createTime:
5312-
type: string
5313-
format: date-time
5314-
updateTime:
5315-
type: string
5316-
format: date-time
5317-
creator:
5318-
$ref: "#/components/schemas/Person"
5319-
updatedBy:
5320-
$ref: "#/components/schemas/Person"
5321-
itemCount:
5322-
type: integer
5323-
description: The number of items currently in the Answer Board. Separated from the actual items so we can grab the count without items.
5324-
roles:
5325-
type: array
5326-
description: A list of user roles for the Answer Board.
5327-
items:
5328-
$ref: "#/components/schemas/UserRoleSpecification"
53295299
Thumbnail:
53305300
properties:
53315301
photoId:
@@ -5622,9 +5592,6 @@ components:
56225592
$ref: "#/components/schemas/Person"
56235593
verification:
56245594
$ref: "#/components/schemas/Verification"
5625-
board:
5626-
$ref: "#/components/schemas/AnswerBoard"
5627-
description: The parent board this answer is in.
56285595
collections:
56295596
type: array
56305597
description: The collections to which the answer belongs.
@@ -5873,6 +5840,21 @@ components:
58735840
attendees:
58745841
$ref: "#/components/schemas/CalendarAttendees"
58755842
description: The attendee list, including their response status
5843+
isCancelled:
5844+
type: boolean
5845+
description: Whether the meeting has been cancelled
5846+
location:
5847+
type: string
5848+
description: The location/venue of the meeting
5849+
responseStatus:
5850+
type: string
5851+
description: The current user's response status (accepted, declined, tentativelyAccepted, none)
5852+
conferenceUri:
5853+
type: string
5854+
description: The meeting join link (Teams, Zoom, etc.)
5855+
conferenceProvider:
5856+
type: string
5857+
description: The conference provider (e.g., "Microsoft Teams", "Zoom")
58765858
AppResult:
58775859
required:
58785860
- datasource
@@ -6132,8 +6114,6 @@ components:
61326114
$ref: "#/components/schemas/AppResult"
61336115
collection:
61346116
$ref: "#/components/schemas/Collection"
6135-
answerBoard:
6136-
$ref: "#/components/schemas/AnswerBoard"
61376117
code:
61386118
$ref: "#/components/schemas/Code"
61396119
shortcut:
@@ -7617,6 +7597,9 @@ components:
76177597
chatId:
76187598
type: string
76197599
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.
7600+
agentConfig:
7601+
$ref: "#/components/schemas/AgentConfig"
7602+
description: Describes the agent that will execute the request.
76207603
ChatRestrictionFilters:
76217604
allOf:
76227605
- $ref: "#/components/schemas/RestrictionFilters"
@@ -7635,9 +7618,6 @@ components:
76357618
- $ref: "#/components/schemas/ChatRequestBase"
76367619
- type: object
76377620
properties:
7638-
agentConfig:
7639-
$ref: "#/components/schemas/AgentConfig"
7640-
description: Describes the agent that will execute the request.
76417621
inclusions:
76427622
$ref: "#/components/schemas/ChatRestrictionFilters"
76437623
description: A list of filters which only allows chat to access certain content.
@@ -8190,6 +8170,7 @@ components:
81908170
- DOCUMENT_CONTENT
81918171
- CUSTOM_METADATA
81928172
DocumentOrError:
8173+
x-omit-error-on-success: true
81938174
oneOf:
81948175
- $ref: "#/components/schemas/Document"
81958176
- type: object
@@ -8199,6 +8180,7 @@ components:
81998180
error:
82008181
type: string
82018182
description: The text for error, reason.
8183+
x-is-error-field: true
82028184
GetDocumentsResponse:
82038185
properties:
82048186
documents:
@@ -8718,6 +8700,30 @@ components:
87188700
$ref: "#/components/schemas/LabeledCountInfo"
87198701
dailyActiveUserTimeseries:
87208702
$ref: "#/components/schemas/LabeledCountInfo"
8703+
searchMonthlyActiveUserTimeseries:
8704+
$ref: "#/components/schemas/LabeledCountInfo"
8705+
searchWeeklyActiveUserTimeseries:
8706+
$ref: "#/components/schemas/LabeledCountInfo"
8707+
searchDailyActiveUserTimeseries:
8708+
$ref: "#/components/schemas/LabeledCountInfo"
8709+
assistantMonthlyActiveUserTimeseries:
8710+
$ref: "#/components/schemas/LabeledCountInfo"
8711+
assistantWeeklyActiveUserTimeseries:
8712+
$ref: "#/components/schemas/LabeledCountInfo"
8713+
assistantDailyActiveUserTimeseries:
8714+
$ref: "#/components/schemas/LabeledCountInfo"
8715+
agentsMonthlyActiveUserTimeseries:
8716+
$ref: "#/components/schemas/LabeledCountInfo"
8717+
agentsWeeklyActiveUserTimeseries:
8718+
$ref: "#/components/schemas/LabeledCountInfo"
8719+
agentsDailyActiveUserTimeseries:
8720+
$ref: "#/components/schemas/LabeledCountInfo"
8721+
searchesTimeseries:
8722+
$ref: "#/components/schemas/LabeledCountInfo"
8723+
assistantInteractionsTimeseries:
8724+
$ref: "#/components/schemas/LabeledCountInfo"
8725+
agentRunsTimeseries:
8726+
$ref: "#/components/schemas/LabeledCountInfo"
87218727
searchDatasourceCounts:
87228728
type: object
87238729
additionalProperties:
@@ -13045,6 +13051,8 @@ components:
1304513051
$ref: "#/components/schemas/DlpSeverity"
1304613052
timeRange:
1304713053
$ref: "#/components/schemas/TimeRangeFilter"
13054+
archived:
13055+
type: boolean
1304813056
ExportInfo:
1304913057
properties:
1305013058
createdBy:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.675.4
1+
speakeasyVersion: 1.684.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
6-
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
5+
sourceRevisionDigest: sha256:58868f94f8aa92233ac431e7201039fd6359b9ea7e74d12aa655291f28857468
6+
sourceBlobDigest: sha256:d53fea174c9a93652662b705c6e27f5e4ce5373462ec1d98c825d96d9bbb253f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1765505291
9+
- speakeasy-sdk-regen-1765586452
1010
Glean-OAS:
1111
sourceNamespace: glean-oas
1212
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
22-
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
21+
sourceRevisionDigest: sha256:58868f94f8aa92233ac431e7201039fd6359b9ea7e74d12aa655291f28857468
22+
sourceBlobDigest: sha256:d53fea174c9a93652662b705c6e27f5e4ce5373462ec1d98c825d96d9bbb253f
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:9118d4c534254f586011a33995b011403ca46ec22294d08b1626a82fca790380
24+
codeSamplesRevisionDigest: sha256:bcc37ad2d0d90a53f52a9a0661d7c338e403f9ee7c1b0d3f4420d2b492b979ad
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ The samples below show how a published SDK artifact is used:
6565

6666
Gradle:
6767
```groovy
68-
implementation 'com.glean.api-client:glean-api-client:0.12.12'
68+
implementation 'com.glean.api-client:glean-api-client:0.12.13'
6969
```
7070

7171
Maven:
7272
```xml
7373
<dependency>
7474
<groupId>com.glean.api-client</groupId>
7575
<artifactId>glean-api-client</artifactId>
76-
<version>0.12.12</version>
76+
<version>0.12.13</version>
7777
</dependency>
7878
```
7979

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

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

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,14 @@ Based on:
468468
### Generated
469469
- [java v0.12.12] .
470470
### Releases
471-
- [Maven Central v0.12.12] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.12 - .
471+
- [Maven Central v0.12.12] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.12 - .
472+
473+
## 2026-01-12 02:24:15
474+
### Changes
475+
Based on:
476+
- OpenAPI Doc
477+
- Speakeasy CLI 1.684.0 (2.793.0) https://github.com/speakeasy-api/speakeasy
478+
### Generated
479+
- [java v0.12.13] .
480+
### Releases
481+
- [Maven Central v0.12.13] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.13 - .

0 commit comments

Comments
 (0)