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
Copy file name to clipboardExpand all lines: .speakeasy/glean-merged-spec.yaml
+24-2Lines changed: 24 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1795,7 +1795,7 @@ paths:
1795
1795
tags:
1796
1796
- Entities
1797
1797
summary: List entities
1798
-
description: List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint.
1798
+
description: List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities.
1799
1799
operationId: listentities
1800
1800
x-visibility: Public
1801
1801
x-codegen-request-body-name: payload
@@ -4122,6 +4122,7 @@ components:
4122
4122
- ID_EQUALS
4123
4123
- LT
4124
4124
- GT
4125
+
- NOT_EQUALS
4125
4126
example: EQUALS
4126
4127
isNegated:
4127
4128
type: boolean
@@ -4868,7 +4869,8 @@ components:
4868
4869
example: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.
4869
4870
boardId:
4870
4871
type: integer
4871
-
description: The parent board ID of this Answer, or 0 if it's a floating Answer.
4872
+
description: The parent board ID of this Answer, or 0 if it's a floating Answer. Adding Answers to Answer Boards is no longer permitted.
4873
+
deprecated: true
4872
4874
audienceFilters:
4873
4875
type: array
4874
4876
description: Filters which restrict who should see the answer. Values are taken from the corresponding filters in people search.
@@ -5640,11 +5642,13 @@ components:
5640
5642
- ATTACHMENT
5641
5643
- CANONICAL
5642
5644
- CASE
5645
+
- contact
5643
5646
- CONTACT
5644
5647
- CONVERSATION_MESSAGES
5645
5648
- EXPERT
5646
5649
- FROM
5647
5650
- HIGHLIGHT
5651
+
- opportunity
5648
5652
- OPPORTUNITY
5649
5653
- RECENT
5650
5654
- SOURCE
@@ -7523,6 +7527,7 @@ components:
7523
7527
type: string
7524
7528
title: Role
7525
7529
description: The role of the message.
7530
+
example: USER
7526
7531
content:
7527
7532
title: Content
7528
7533
description: The content of the message.
@@ -8415,6 +8420,7 @@ components:
8415
8420
- COPYPASTED_QUOTES
8416
8421
- INVALID_OPERATOR
8417
8422
- MAYBE_INVALID_FACET_QUERY
8423
+
- TOO_MANY_DATASOURCE_GROUPS
8418
8424
description: The type of the warning.
8419
8425
lastUsedTerm:
8420
8426
type: string
@@ -9058,6 +9064,7 @@ components:
9058
9064
- DISPLAYABLE_LIST
9059
9065
- SOCIAL_LINK
9060
9066
- EXTERNAL_TASKS
9067
+
- WORKFLOW_COLLECTIONS
9061
9068
- ZERO_STATE_CHAT_SUGGESTION
9062
9069
- ZERO_STATE_CHAT_TOOL_SUGGESTION
9063
9070
- ZERO_STATE_WORKFLOW_CREATED_BY_ME
@@ -9632,6 +9639,16 @@ components:
9632
9639
source:
9633
9640
type: string
9634
9641
description: A string denoting the search surface from which the endpoint is called.
9642
+
requestType:
9643
+
type: string
9644
+
default: STANDARD
9645
+
description: The type of request being made.
9646
+
x-enumDescriptions:
9647
+
STANDARD: Used by default for all requests and satisfies all standard use cases for list requests. Limited to 10000 entities.
9648
+
FULL_DIRECTORY: Used exclusively to return a comprehensive list of all people entities in the organization, typically for audit like purposes. The recommended approach is to sort by FIRST_NAME or LAST_NAME, and use pagination for large organizations.
9649
+
enum:
9650
+
- STANDARD
9651
+
- FULL_DIRECTORY
9635
9652
EntitiesSortOrder:
9636
9653
type: string
9637
9654
description: Different ways of sorting entities
@@ -11745,6 +11762,10 @@ components:
11745
11762
type: string
11746
11763
description: end time of the time range, applicable for the CUSTOM type.
11747
11764
format: date-time
11765
+
lastNDaysValue:
11766
+
type: integer
11767
+
description: The number of days to look back from the current time, applicable for the LAST_N_DAYS type.
11768
+
format: int64
11748
11769
InputOptions:
11749
11770
description: Controls which data-sources and what time-range to include in scans.
A logging framework/facade has not yet been adopted but is under consideration.
93
93
94
-
For request and response logging (especially json bodies) use:
94
+
For request and response logging (especially json bodies), call `enableHTTPDebugLogging(boolean)` on the SDK builder like so:
95
95
```java
96
-
SpeakeasyHTTPClient.setDebugLogging(true); // experimental API only (may change without warning)
96
+
SDK.builder()
97
+
.enableHTTPDebugLogging(true)
98
+
.build();
97
99
```
98
100
Example output:
99
101
```
@@ -107,7 +109,9 @@ Response body:
107
109
"token": "global"
108
110
}
109
111
```
110
-
WARNING: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
112
+
__WARNING__: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
113
+
114
+
__NOTE__: This is a convenience method that calls `HTTPClient.enableDebugLogging()`. The `SpeakeasyHTTPClient` honors this setting. If you are using a custom HTTP client, it is up to the custom client to honor this setting.
111
115
112
116
Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
0 commit comments