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.
@@ -2973,6 +2973,89 @@ paths:
2973
2973
required: true
2974
2974
schema:
2975
2975
type: string
2976
+
/rest/api/v1/tool-servers/{serverId}/auth:
2977
+
get:
2978
+
operationId: getToolServerAuthStatus
2979
+
summary: Get end-user authentication status for a tool server.
2980
+
description: |
2981
+
Returns display information and the calling user's current authentication status
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -464,6 +464,8 @@ For more information on obtaining the appropriate token type, please contact you
464
464
*[run](docs/sdks/tools/README.md#run) - Execute the specified tool
465
465
*[retrieve_action_pack_auth_status](docs/sdks/tools/README.md#retrieve_action_pack_auth_status) - Get end-user authentication status for an action pack.
466
466
*[authorize_action_pack](docs/sdks/tools/README.md#authorize_action_pack) - Start the OAuth authorization flow for an action pack.
467
+
*[retrieve_tool_server_auth_status](docs/sdks/tools/README.md#retrieve_tool_server_auth_status) - Get end-user authentication status for a tool server.
468
+
*[authorize_tool_server](docs/sdks/tools/README.md#authorize_tool_server) - Start the OAuth authorization flow for a tool server.
|`type`|*str*|:heavy_check_mark:| URI identifying the error type. |https://developer.glean.com/errors/invalid-cursor|
11
+
|`type`|*str*|:heavy_check_mark:| URI identifying the error type. |https://developers.glean.com/errors/invalid-cursor|
12
12
|`title`|*str*|:heavy_check_mark:| Short, human-readable summary of the error. | Invalid Pagination Cursor |
13
13
|`status`|*int*|:heavy_check_mark:| HTTP status code mirrored from the response. | 400 |
14
14
|`detail`|*str*|:heavy_check_mark:| Human-readable explanation specific to this occurrence. | The provided cursor has expired. Start a new search to get a fresh cursor.<br/> |
|`documentation_url`|*Optional[str]*|:heavy_minus_sign:| Direct URL to documentation for this error code. |https://developer.glean.com/errors/invalid-cursor|
16
+
|`documentation_url`|*Optional[str]*|:heavy_minus_sign:| Direct URL to documentation for this error code. |https://developers.glean.com/errors/invalid-cursor|
17
17
|`request_id`|*str*|:heavy_check_mark:| Platform-generated request ID for support correlation. | req_7f8a9b0c1d2e |
18
18
|`errors`| List[[models.PlatformProblemDetailError](../models/platformproblemdetailerror.md)]|:heavy_minus_sign:| Field-level validation problems, one entry per offending field. ||
0 commit comments