Skip to content

Commit a91ccac

Browse files
Update code samples
1 parent 509d363 commit a91ccac

File tree

7 files changed

+31
-28
lines changed

7 files changed

+31
-28
lines changed

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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:b6f6d35773a7d88770147216380e3f25bbcf2df895a5125219113d1656667807
28-
sourceBlobDigest: sha256:119887200b03675a5c9782c3116a3da1c066aa52e390bf3d8215bc98641a1d3f
27+
sourceRevisionDigest: sha256:61215a51e2735e00aaaf0918e94d4d9730d6f2c9deef16c583e0183a944b92e3
28+
sourceBlobDigest: sha256:72f06f84a94f84cef7f5bbcfec9a6f788e5e894b24fd23e5661a3c3e9abeace1
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:b491fdacc07814387040edcaf144f07825a65d4d7056b3d7ac64c9ed863d974d
43-
sourceBlobDigest: sha256:aac479f5e9b4a8782a58b905e619a03c6f35366b91cd34ff4acdfbbb999407c0
42+
sourceRevisionDigest: sha256:469bfac6caaec870baa66947a0019ebfe66a81a95fa099592f5e51e64b6fff20
43+
sourceBlobDigest: sha256:bff75a86efd30fb4881c26e0b419a0e9bce749e1c085e06f8c7c4b5bd2abd0d5
4444
tags:
4545
- latest
4646
- main

final_specs/client_rest.yaml

Lines changed: 7 additions & 6 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: d499a13eeed3d756eefe0a1ecaafa35c37884b25
5+
x-source-commit-sha: fbe07efa69fe3d2aef0668a8f0c2197cf5b3c446
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: f26b8e0b51932203913310f4100d38fa2786c5a9
25+
x-open-api-commit-sha: 3c68c105de7984675175aaa6975257db11549248
2626
x-speakeasy-name: Glean API
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -15331,7 +15331,7 @@ paths:
1533115331
description: Permissions error
1533215332
"500":
1533315333
description: Internal error
15334-
x-visibility: Private
15334+
x-visibility: Public
1533515335
x-codeSamples:
1533615336
- lang: python
1533715337
label: Python (API Client)
@@ -15416,7 +15416,7 @@ paths:
1541615416
description: Permissions error
1541715417
"500":
1541815418
description: Internal error
15419-
x-visibility: Private
15419+
x-visibility: Public
1542015420
x-codeSamples:
1542115421
- lang: python
1542215422
label: Python (API Client)
@@ -15505,7 +15505,7 @@ paths:
1550515505
description: Permissions error
1550615506
"500":
1550715507
description: Internal error
15508-
x-visibility: Private
15508+
x-visibility: Public
1550915509
x-codeSamples:
1551015510
- lang: python
1551115511
label: Python (API Client)
@@ -15590,7 +15590,7 @@ paths:
1559015590
description: Permissions error
1559115591
"500":
1559215592
description: Internal error
15593-
x-visibility: Private
15593+
x-visibility: Public
1559415594
x-codeSamples:
1559515595
- lang: python
1559615596
label: Python (API Client)
@@ -22190,6 +22190,7 @@ components:
2219022190
- SHORTCUTS_TYPE
2219122191
- WORKFLOWS_TYPE
2219222192
- PROMPT_TEMPLATES_TYPE
22193+
- PRISM_VIEWS_TYPE
2219322194
FavoriteInfo:
2219422195
type: object
2219522196
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: d499a13eeed3d756eefe0a1ecaafa35c37884b25
5+
x-source-commit-sha: fbe07efa69fe3d2aef0668a8f0c2197cf5b3c446
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: f26b8e0b51932203913310f4100d38fa2786c5a9
25+
x-open-api-commit-sha: 3c68c105de7984675175aaa6975257db11549248
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: 7 additions & 6 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: d499a13eeed3d756eefe0a1ecaafa35c37884b25
5+
x-source-commit-sha: fbe07efa69fe3d2aef0668a8f0c2197cf5b3c446
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: f26b8e0b51932203913310f4100d38fa2786c5a9
25+
x-open-api-commit-sha: 3c68c105de7984675175aaa6975257db11549248
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -19728,7 +19728,7 @@ paths:
1972819728
description: Permissions error
1972919729
"500":
1973019730
description: Internal error
19731-
x-visibility: Private
19731+
x-visibility: Public
1973219732
x-codeSamples:
1973319733
- lang: python
1973419734
label: Python (API Client)
@@ -19836,7 +19836,7 @@ paths:
1983619836
description: Permissions error
1983719837
"500":
1983819838
description: Internal error
19839-
x-visibility: Private
19839+
x-visibility: Public
1984019840
x-codeSamples:
1984119841
- lang: python
1984219842
label: Python (API Client)
@@ -19947,7 +19947,7 @@ paths:
1994719947
description: Permissions error
1994819948
"500":
1994919949
description: Internal error
19950-
x-visibility: Private
19950+
x-visibility: Public
1995119951
x-codeSamples:
1995219952
- lang: python
1995319953
label: Python (API Client)
@@ -20054,7 +20054,7 @@ paths:
2005420054
description: Permissions error
2005520055
"500":
2005620056
description: Internal error
20057-
x-visibility: Private
20057+
x-visibility: Public
2005820058
x-codeSamples:
2005920059
- lang: python
2006020060
label: Python (API Client)
@@ -26709,6 +26709,7 @@ components:
2670926709
- SHORTCUTS_TYPE
2671026710
- WORKFLOWS_TYPE
2671126711
- PROMPT_TEMPLATES_TYPE
26712+
- PRISM_VIEWS_TYPE
2671226713
FavoriteInfo:
2671326714
type: object
2671426715
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: d499a13eeed3d756eefe0a1ecaafa35c37884b25
5+
x-source-commit-sha: fbe07efa69fe3d2aef0668a8f0c2197cf5b3c446
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: f26b8e0b51932203913310f4100d38fa2786c5a9
25+
x-open-api-commit-sha: 3c68c105de7984675175aaa6975257db11549248
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com

modified_code_samples_specs/client_rest.yaml

Lines changed: 7 additions & 6 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: d499a13eeed3d756eefe0a1ecaafa35c37884b25
5+
x-source-commit-sha: fbe07efa69fe3d2aef0668a8f0c2197cf5b3c446
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: f26b8e0b51932203913310f4100d38fa2786c5a9
25+
x-open-api-commit-sha: 3c68c105de7984675175aaa6975257db11549248
2626
x-speakeasy-name: Glean API
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -15331,7 +15331,7 @@ paths:
1533115331
description: Permissions error
1533215332
"500":
1533315333
description: Internal error
15334-
x-visibility: Private
15334+
x-visibility: Public
1533515335
x-codeSamples:
1533615336
- lang: python
1533715337
label: Python (API Client)
@@ -15416,7 +15416,7 @@ paths:
1541615416
description: Permissions error
1541715417
"500":
1541815418
description: Internal error
15419-
x-visibility: Private
15419+
x-visibility: Public
1542015420
x-codeSamples:
1542115421
- lang: python
1542215422
label: Python (API Client)
@@ -15505,7 +15505,7 @@ paths:
1550515505
description: Permissions error
1550615506
"500":
1550715507
description: Internal error
15508-
x-visibility: Private
15508+
x-visibility: Public
1550915509
x-codeSamples:
1551015510
- lang: python
1551115511
label: Python (API Client)
@@ -15590,7 +15590,7 @@ paths:
1559015590
description: Permissions error
1559115591
"500":
1559215592
description: Internal error
15593-
x-visibility: Private
15593+
x-visibility: Public
1559415594
x-codeSamples:
1559515595
- lang: python
1559615596
label: Python (API Client)
@@ -22190,6 +22190,7 @@ components:
2219022190
- SHORTCUTS_TYPE
2219122191
- WORKFLOWS_TYPE
2219222192
- PROMPT_TEMPLATES_TYPE
22193+
- PRISM_VIEWS_TYPE
2219322194
FavoriteInfo:
2219422195
type: object
2219522196
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: d499a13eeed3d756eefe0a1ecaafa35c37884b25
5+
x-source-commit-sha: fbe07efa69fe3d2aef0668a8f0c2197cf5b3c446
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: f26b8e0b51932203913310f4100d38fa2786c5a9
25+
x-open-api-commit-sha: 3c68c105de7984675175aaa6975257db11549248
2626
x-speakeasy-name: Glean API
2727
servers:
2828
- url: https://{instance}-be.glean.com

0 commit comments

Comments
 (0)