Skip to content

Commit 3bf7694

Browse files
Update code samples
1 parent 5439860 commit 3bf7694

File tree

7 files changed

+26
-17
lines changed

7 files changed

+26
-17
lines changed

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.688.0
1+
speakeasyVersion: 1.675.2
22
sources:
33
glean-api-specs:
44
sourceNamespace: glean-api-specs
@@ -24,8 +24,8 @@ sources:
2424
- 0.9.0
2525
glean-client-merged-code-samples-spec:
2626
sourceNamespace: glean-client-merged-code-samples-spec
27-
sourceRevisionDigest: sha256:895175d26c7630457b566cbee5c62bbd65ed74a2292e6b97dd3a63ffaef1ec5b
28-
sourceBlobDigest: sha256:0c1b8e35cc7832a8bab8dc64f2ca8c77c2c2fac01655cc28fa68740d3933434e
27+
sourceRevisionDigest: sha256:f8da7ee74da61db4a87cdb7c3b0534da7daa9c3127e3d370feb108a974588093
28+
sourceBlobDigest: sha256:08b5ac105bebf7357b76a6ca9c83b3357a2ecd57d040a951b7961a9e7d469ba6
2929
tags:
3030
- latest
3131
- main
@@ -39,8 +39,8 @@ sources:
3939
- 0.9.0
4040
glean-index-merged-code-samples-spec:
4141
sourceNamespace: glean-index-merged-code-samples-spec
42-
sourceRevisionDigest: sha256:f851c84603b5d5036e811263db2aa32171230391bcf9de1460c330a11d9dc619
43-
sourceBlobDigest: sha256:6a610982673387883be58c2655f6e754c8a326dfb7e56bf2a406ef866321fd3b
42+
sourceRevisionDigest: sha256:ad3acd4cd83c57a664df4aa0ae219c26759ae7222f72eb418622b11dea5c3f80
43+
sourceBlobDigest: sha256:ec1edeb9fb5cfb7922b30c8f01ec834d226f49e21b7005a0a0895f48b19da3e4
4444
tags:
4545
- latest
4646
- main

final_specs/client_rest.yaml

Lines changed: 5 additions & 2 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: 73720c10eb41436b03f8f69b30c5f1eaebe83136
5+
x-source-commit-sha: d4f2fa72a23a5da96d1ac7baaee268890c9e5b22
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: ef6741a4fcd031636396dc0ab0e89af1f1fba258
25+
x-open-api-commit-sha: 45b2188fe1c63b00dea76e7623d58f7a3b89bbf2
2626
x-speakeasy-name: Glean API
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -21173,6 +21173,9 @@ components:
2117321173
type: array
2117421174
items:
2117521175
$ref: "#/components/schemas/ErrorMessage"
21176+
federatedSearchRateLimitError:
21177+
type: boolean
21178+
description: Indicates the federated search results could not be fetched due to rate limiting.
2117621179
x-speakeasy-name-override: GleanDataError
2117721180
ResultsResponse:
2117821181
properties:

final_specs/indexing.yaml

Lines changed: 2 additions & 2 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: 73720c10eb41436b03f8f69b30c5f1eaebe83136
5+
x-source-commit-sha: d4f2fa72a23a5da96d1ac7baaee268890c9e5b22
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: ef6741a4fcd031636396dc0ab0e89af1f1fba258
25+
x-open-api-commit-sha: 45b2188fe1c63b00dea76e7623d58f7a3b89bbf2
2626
x-speakeasy-name: Glean API
2727
servers:
2828
- url: https://{instance}-be.glean.com

merged_code_samples_specs/glean-client-merged-code-samples-spec.yaml

Lines changed: 5 additions & 2 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: 73720c10eb41436b03f8f69b30c5f1eaebe83136
5+
x-source-commit-sha: d4f2fa72a23a5da96d1ac7baaee268890c9e5b22
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: ef6741a4fcd031636396dc0ab0e89af1f1fba258
25+
x-open-api-commit-sha: 45b2188fe1c63b00dea76e7623d58f7a3b89bbf2
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -25692,6 +25692,9 @@ components:
2569225692
type: array
2569325693
items:
2569425694
$ref: "#/components/schemas/ErrorMessage"
25695+
federatedSearchRateLimitError:
25696+
type: boolean
25697+
description: Indicates the federated search results could not be fetched due to rate limiting.
2569525698
x-speakeasy-name-override: GleanDataError
2569625699
ResultsResponse:
2569725700
properties:

merged_code_samples_specs/glean-index-merged-code-samples-spec.yaml

Lines changed: 2 additions & 2 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: 73720c10eb41436b03f8f69b30c5f1eaebe83136
5+
x-source-commit-sha: d4f2fa72a23a5da96d1ac7baaee268890c9e5b22
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: ef6741a4fcd031636396dc0ab0e89af1f1fba258
25+
x-open-api-commit-sha: 45b2188fe1c63b00dea76e7623d58f7a3b89bbf2
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com

modified_code_samples_specs/client_rest.yaml

Lines changed: 5 additions & 2 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: 73720c10eb41436b03f8f69b30c5f1eaebe83136
5+
x-source-commit-sha: d4f2fa72a23a5da96d1ac7baaee268890c9e5b22
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: ef6741a4fcd031636396dc0ab0e89af1f1fba258
25+
x-open-api-commit-sha: 45b2188fe1c63b00dea76e7623d58f7a3b89bbf2
2626
x-speakeasy-name: Glean API
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -21173,6 +21173,9 @@ components:
2117321173
type: array
2117421174
items:
2117521175
$ref: "#/components/schemas/ErrorMessage"
21176+
federatedSearchRateLimitError:
21177+
type: boolean
21178+
description: Indicates the federated search results could not be fetched due to rate limiting.
2117621179
x-speakeasy-name-override: GleanDataError
2117721180
ResultsResponse:
2117821181
properties:

modified_code_samples_specs/indexing.yaml

Lines changed: 2 additions & 2 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: 73720c10eb41436b03f8f69b30c5f1eaebe83136
5+
x-source-commit-sha: d4f2fa72a23a5da96d1ac7baaee268890c9e5b22
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: ef6741a4fcd031636396dc0ab0e89af1f1fba258
25+
x-open-api-commit-sha: 45b2188fe1c63b00dea76e7623d58f7a3b89bbf2
2626
x-speakeasy-name: Glean API
2727
servers:
2828
- url: https://{instance}-be.glean.com

0 commit comments

Comments
 (0)