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
Continued working on the Spect Insert feature for automatic conversion of API calls into Language SDK.
Refactored code base to seperate code logic and allow for more scalability in the future.
Example Below:
Since it might be asked,I will say we did try to make the rest and body tag one line, and we tried many solutions. but came to no avail for a working solution. Will continue to work on this to try to find a solution.
<!-- spec_insert_start
api: index
component: example_code
rest: PUT /my-index/_doc/1
body: {"title":"Spec Insert Test","timestamp":"2025-07-09T22:00:00Z"}
-->
{% capture step1_rest %}
PUT /my-index/_doc/1
{
"title": "Spec Insert Test",
"timestamp": "2025-07-09T22:00:00Z"
}
{% endcapture %}
{% capture step1_python %}
response = client.index(
index = "my-index",
id = "1",
body = {
"title": "Spec Insert Test",
"timestamp": "2025-07-09T22:00:00Z"
}
)
{% endcapture %}
{% include code-block.html
rest=step1_rest
python=step1_python
%}
<!-- spec_insert_end -->
Signed-off-by: Daniel Jackson <[email protected]>
Copy file name to clipboardExpand all lines: _api-reference/cat/cat-aliases.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ The following table lists the available query parameters. All query parameters a
41
41
42
42
| Parameter | Data type | Description | Default |
43
43
| :--- | :--- | :--- | :--- |
44
-
|`expand_wildcards`| List or String | Specifies the type of index that wildcard expressions can match. Supports comma-separated values. <br> Valid values are: <br> - `all`: Match any index, including hidden ones. <br> - `closed`: Match closed, non-hidden indexes. <br> - `hidden`: Match hidden indexes. Must be combined with open, closed, or both. <br> - `none`: Wildcard expressions are not accepted. <br> - `open`: Match open, non-hidden indexes. | N/A |
44
+
|`expand_wildcards`| List or String | Specifies the type of index that wildcard expressions can match. Supports comma-separated values. <br> Valid values are: <br> - `all`: Match any index, including hidden ones. <br> - `closed`: Match closed, non-hidden indexes. <br> - `hidden`: Match hidden indexes. Must be combined with `open`, `closed`, or both. <br> - `none`: Wildcard expressions are not accepted. <br> - `open`: Match open, non-hidden indexes. | N/A |
45
45
|`format`| String | A short version of the `Accept` header, such as `json` or `yaml`. | N/A |
46
46
|`h`| List | A comma-separated list of column names to display. | N/A |
47
47
|`help`| Boolean | Returns help information. |`false`|
Copy file name to clipboardExpand all lines: _api-reference/cat/cat-indices.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ The following table lists the available query parameters. All query parameters a
41
41
| :--- | :--- | :--- | :--- |
42
42
|`bytes`| String | The units used to display byte values. <br> Valid values are: `b`, `kb`, `k`, `mb`, `m`, `gb`, `g`, `tb`, `t`, `pb`, and `p`. | N/A |
43
43
|`cluster_manager_timeout`| String | The amount of time allowed to establish a connection to the cluster manager node. | N/A |
44
-
|`expand_wildcards`| List or String | Specifies the type of index that wildcard expressions can match. Supports comma-separated values. <br> Valid values are: <br> - `all`: Match any index, including hidden ones. <br> - `closed`: Match closed, non-hidden indexes. <br> - `hidden`: Match hidden indexes. Must be combined with open, closed, or both. <br> - `none`: Wildcard expressions are not accepted. <br> - `open`: Match open, non-hidden indexes. | N/A |
44
+
|`expand_wildcards`| List or String | Specifies the type of index that wildcard expressions can match. Supports comma-separated values. <br> Valid values are: <br> - `all`: Match any index, including hidden ones. <br> - `closed`: Match closed, non-hidden indexes. <br> - `hidden`: Match hidden indexes. Must be combined with `open`, `closed`, or both. <br> - `none`: Wildcard expressions are not accepted. <br> - `open`: Match open, non-hidden indexes. | N/A |
45
45
|`format`| String | A short version of the `Accept` header, such as `json` or `yaml`. | N/A |
46
46
|`h`| List | A comma-separated list of column names to display. | N/A |
47
47
|`health`| String | Limits indexes based on their health status. Supported values are `green`, `yellow`, and `red`. <br> Valid values are: `green`, `GREEN`, `yellow`, `YELLOW`, `red`, and `RED`. | N/A |
Copy file name to clipboardExpand all lines: _api-reference/cat/cat-segment-replication.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ The following table lists the available query parameters. All query parameters a
60
60
|`bytes`| String | The units used to display byte values. <br> Valid values are: `b`, `kb`, `k`, `mb`, `m`, `gb`, `g`, `tb`, `t`, `pb`, and `p`. | N/A |
61
61
|`completed_only`| Boolean | When `true`, the response only includes the last-completed segment replication events. |`false`|
62
62
|`detailed`| Boolean | When `true`, the response includes additional metrics for each stage of a segment replication event. |`false`|
63
-
|`expand_wildcards`| List or String | Specifies the type of index that wildcard expressions can match. Supports comma-separated values. <br> Valid values are: <br> - `all`: Match any index, including hidden ones. <br> - `closed`: Match closed, non-hidden indexes. <br> - `hidden`: Match hidden indexes. Must be combined with open, closed, or both. <br> - `none`: Wildcard expressions are not accepted. <br> - `open`: Match open, non-hidden indexes. | N/A |
63
+
|`expand_wildcards`| List or String | Specifies the type of index that wildcard expressions can match. Supports comma-separated values. <br> Valid values are: <br> - `all`: Match any index, including hidden ones. <br> - `closed`: Match closed, non-hidden indexes. <br> - `hidden`: Match hidden indexes. Must be combined with `open`, `closed`, or both. <br> - `none`: Wildcard expressions are not accepted. <br> - `open`: Match open, non-hidden indexes. | N/A |
64
64
|`format`| String | A short version of the `Accept` header, such as `json` or `yaml`. | N/A |
65
65
|`h`| List | A comma-separated list of column names to display. | N/A |
66
66
|`help`| Boolean | Returns help information. |`false`|
0 commit comments