From f337a74798cb542b100e4ba8b875128c718a07f6 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 2 Jan 2025 20:48:37 -0800 Subject: [PATCH 01/11] Add licensing examples --- docs/overlays/elasticsearch-shared-overlays.yaml | 11 +++++++++++ .../license/get/GetLicenseResponseExample1.yaml | 11 +++++++++++ .../licensingGetBasicStatusResponseExample1.yaml | 5 +++++ .../licensingGetTrialStatusResponseExample1.yaml | 5 +++++ .../post/licensingUpdateLicenseRequestExample1.yaml | 10 ++++++++++ .../post/licensingUpdateLicenseRequestExample2.yaml | 10 ++++++++++ 6 files changed, 52 insertions(+) create mode 100644 specification/license/get/GetLicenseResponseExample1.yaml create mode 100644 specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml create mode 100644 specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml create mode 100644 specification/license/post/licensingUpdateLicenseRequestExample1.yaml create mode 100644 specification/license/post/licensingUpdateLicenseRequestExample2.yaml diff --git a/docs/overlays/elasticsearch-shared-overlays.yaml b/docs/overlays/elasticsearch-shared-overlays.yaml index b992e056ca..2779cf1681 100644 --- a/docs/overlays/elasticsearch-shared-overlays.yaml +++ b/docs/overlays/elasticsearch-shared-overlays.yaml @@ -1351,3 +1351,14 @@ actions: examples: indicesRolloverResponseExample1: $ref: "../../specification/indices/rollover/indicesRolloverResponseExample1.yaml" +## Examples for licensing + - target: "$.paths['/_license']['get']" + description: "Add example for get license response" + update: + responses: + 200: + content: + application/json: + examples: + getLicenseResponseExample1: + $ref: "../../specification/license/get/GetLicenseResponseExample1.yaml" \ No newline at end of file diff --git a/specification/license/get/GetLicenseResponseExample1.yaml b/specification/license/get/GetLicenseResponseExample1.yaml new file mode 100644 index 0000000000..937d67fc6e --- /dev/null +++ b/specification/license/get/GetLicenseResponseExample1.yaml @@ -0,0 +1,11 @@ +# summary: licensing/get-license.asciidoc:61 +description: A successful response from `GET /_license`. +# type: response +# response_code: '' +value: + "{\n \"license\" : {\n \"status\" : \"active\",\n \"uid\" : \"cbff45e7-c553-41f7-ae4f-9205eabd80xx\"\ + ,\n \"type\" : \"trial\",\n \"issue_date\" : \"2018-10-20T22:05:12.332Z\"\ + ,\n \"issue_date_in_millis\" : 1540073112332,\n \"expiry_date\" : \"2018-11-19T22:05:12.332Z\"\ + ,\n \"expiry_date_in_millis\" : 1542665112332,\n \"max_nodes\" : 1000,\n \ + \ \"max_resource_units\" : null,\n \"issued_to\" : \"test\",\n \"issuer\"\ + \ : \"elasticsearch\",\n \"start_date_in_millis\" : -1\n }\n}" diff --git a/specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml b/specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml new file mode 100644 index 0000000000..1a8eb7352d --- /dev/null +++ b/specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml @@ -0,0 +1,5 @@ +summary: licensing/get-basic-status.asciidoc:42 +description: '' +type: response +response_code: '' +value: "{\n \"eligible_to_start_basic\": true\n}" diff --git a/specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml b/specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml new file mode 100644 index 0000000000..4819854ced --- /dev/null +++ b/specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml @@ -0,0 +1,5 @@ +summary: licensing/get-trial-status.asciidoc:47 +description: '' +type: response +response_code: '' +value: "{\n \"eligible_to_start_trial\": true\n}" diff --git a/specification/license/post/licensingUpdateLicenseRequestExample1.yaml b/specification/license/post/licensingUpdateLicenseRequestExample1.yaml new file mode 100644 index 0000000000..465ed0a235 --- /dev/null +++ b/specification/license/post/licensingUpdateLicenseRequestExample1.yaml @@ -0,0 +1,10 @@ +summary: licensing/update-license.asciidoc:63 +method_request: PUT _license +description: '' +type: request +value: + "{\n \"licenses\": [\n {\n \"uid\":\"893361dc-9749-4997-93cb-802e3d7fa4xx\"\ + ,\n \"type\":\"basic\",\n \"issue_date_in_millis\":1411948800000,\n \ + \ \"expiry_date_in_millis\":1914278399999,\n \"max_nodes\":1,\n \"\ + issued_to\":\"issuedTo\",\n \"issuer\":\"issuer\",\n \"signature\":\"\ + xx\"\n }\n ]\n}" diff --git a/specification/license/post/licensingUpdateLicenseRequestExample2.yaml b/specification/license/post/licensingUpdateLicenseRequestExample2.yaml new file mode 100644 index 0000000000..f06c44d6d1 --- /dev/null +++ b/specification/license/post/licensingUpdateLicenseRequestExample2.yaml @@ -0,0 +1,10 @@ +summary: licensing/update-license.asciidoc:139 +method_request: PUT _license?acknowledge=true +description: '' +type: request +value: + "{\n \"licenses\": [\n {\n \"uid\":\"893361dc-9749-4997-93cb-802e3d7fa4xx\"\ + ,\n \"type\":\"basic\",\n \"issue_date_in_millis\":1411948800000,\n \ + \ \"expiry_date_in_millis\":1914278399999,\n \"max_nodes\":1,\n \"\ + issued_to\":\"issuedTo\",\n \"issuer\":\"issuer\",\n \"signature\":\"\ + xx\"\n }\n ]\n}" From f3c9efbd087bcef34afc23b0cd445de994124a04 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 2 Jan 2025 20:56:45 -0800 Subject: [PATCH 02/11] Add trial status example --- docs/overlays/elasticsearch-openapi-overlays.yaml | 13 ++++++++++++- .../GetTrialLicenseStatusResponseExample1.yaml | 6 ++++++ .../licensingGetTrialStatusResponseExample1.yaml | 5 ----- 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml delete mode 100644 specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index 502b6d2a18..a24bc6caa4 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -391,4 +391,15 @@ actions: application/json: examples: indicesLegacyPutTemplateRequestExample1: - $ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml" \ No newline at end of file + $ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml" +## Examples for licensing + - target: "$.paths['/_license/trial_status']['get']" + description: "Add example for get trial status response" + update: + responses: + 200: + content: + application/json: + examples: + getLicenseResponseExample1: + $ref: "../../specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml" \ No newline at end of file diff --git a/specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml b/specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml new file mode 100644 index 0000000000..e4aee01ebf --- /dev/null +++ b/specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml @@ -0,0 +1,6 @@ +# summary: licensing/get-trial-status.asciidoc:47 +description: A successful response from `GET /_license/trial_status`. +# type: response +# response_code: '' +value: + eligible_to_start_trial: true diff --git a/specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml b/specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml deleted file mode 100644 index 4819854ced..0000000000 --- a/specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml +++ /dev/null @@ -1,5 +0,0 @@ -summary: licensing/get-trial-status.asciidoc:47 -description: '' -type: response -response_code: '' -value: "{\n \"eligible_to_start_trial\": true\n}" From 033a4f758cf510e188e76fed1c3392a8eb7fd094 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 2 Jan 2025 21:10:47 -0800 Subject: [PATCH 03/11] Add example for start trial --- docs/overlays/elasticsearch-openapi-overlays.yaml | 12 +++++++++++- output/schema/schema.json | 5 +++-- ...Example1.yaml => PostLicenseRequestExample1.yaml} | 0 ...Example2.yaml => PostLicenseRequestExample2.yaml} | 0 .../post_start_trial/StartTrialLicenseRequest.ts | 1 + .../StartTrialLicenseResponseExample1.yaml | 7 +++++++ 6 files changed, 22 insertions(+), 3 deletions(-) rename specification/license/post/{licensingUpdateLicenseRequestExample1.yaml => PostLicenseRequestExample1.yaml} (100%) rename specification/license/post/{licensingUpdateLicenseRequestExample2.yaml => PostLicenseRequestExample2.yaml} (100%) create mode 100644 specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index a24bc6caa4..3b7fbe3695 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -402,4 +402,14 @@ actions: application/json: examples: getLicenseResponseExample1: - $ref: "../../specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml" \ No newline at end of file + $ref: "../../specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml" + - target: "$.paths['/_license/start_trial']['post']" + description: "Add example for start trial response" + update: + responses: + 200: + content: + application/json: + examples: + startTrialLicenseResponseExample1: + $ref: "../../specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml" \ No newline at end of file diff --git a/output/schema/schema.json b/output/schema/schema.json index 2d27f3ccf1..2bb149224d 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -9410,7 +9410,8 @@ } }, "description": "Start a trial.\nStart a 30-day trial, which gives access to all subscription features.\n\nNOTE: You are allowed to start a trial only if your cluster has not already activated a trial for the current major product version.\nFor example, if you have already activated a trial for v8.0, you cannot start a new trial until v9.0. You can, however, request an extended trial at https://www.elastic.co/trialextension.\n\nTo check the status of your trial, use the get trial status API.", - "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html", + "docId": "start-trial", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/start-trial.html", "name": "license.post_start_trial", "privileges": { "cluster": [ @@ -150412,7 +150413,7 @@ } } ], - "specLocation": "license/post_start_trial/StartTrialLicenseRequest.ts#L22-L39" + "specLocation": "license/post_start_trial/StartTrialLicenseRequest.ts#L22-L40" }, { "kind": "response", diff --git a/specification/license/post/licensingUpdateLicenseRequestExample1.yaml b/specification/license/post/PostLicenseRequestExample1.yaml similarity index 100% rename from specification/license/post/licensingUpdateLicenseRequestExample1.yaml rename to specification/license/post/PostLicenseRequestExample1.yaml diff --git a/specification/license/post/licensingUpdateLicenseRequestExample2.yaml b/specification/license/post/PostLicenseRequestExample2.yaml similarity index 100% rename from specification/license/post/licensingUpdateLicenseRequestExample2.yaml rename to specification/license/post/PostLicenseRequestExample2.yaml diff --git a/specification/license/post_start_trial/StartTrialLicenseRequest.ts b/specification/license/post_start_trial/StartTrialLicenseRequest.ts index 5c722aec81..989ae9f846 100644 --- a/specification/license/post_start_trial/StartTrialLicenseRequest.ts +++ b/specification/license/post_start_trial/StartTrialLicenseRequest.ts @@ -30,6 +30,7 @@ import { RequestBase } from '@_types/Base' * @rest_spec_name license.post_start_trial * @availability stack since=6.1.0 stability=stable * @cluster_privileges manage + * @doc_id start-trial */ export interface Request extends RequestBase { query_parameters: { diff --git a/specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml b/specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml new file mode 100644 index 0000000000..f66a41c172 --- /dev/null +++ b/specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml @@ -0,0 +1,7 @@ +# summary: +description: A successful response from `POST /_license/start_trial?acknowledge=true`. +# type: response +# response_code: '' +value: + trial_was_started: true + acknowledged: true From 4054e6604d9dc073e560caa68d6602d84a607d32 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 2 Jan 2025 21:20:02 -0800 Subject: [PATCH 04/11] Add example for get basic status --- docs/overlays/elasticsearch-openapi-overlays.yaml | 10 ++++++++++ .../GetBasicLicenseStatusResponseExample1.yaml | 6 ++++++ .../licensingGetBasicStatusResponseExample1.yaml | 5 ----- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml delete mode 100644 specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index 3b7fbe3695..de6258c4a0 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -393,6 +393,16 @@ actions: indicesLegacyPutTemplateRequestExample1: $ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml" ## Examples for licensing + - target: "$.paths['/_license/basic_status']['get']" + description: "Add example for get basic status response" + update: + responses: + 200: + content: + application/json: + examples: + getBasicStatusResponseExample1: + $ref: "../../specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml" - target: "$.paths['/_license/trial_status']['get']" description: "Add example for get trial status response" update: diff --git a/specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml b/specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml new file mode 100644 index 0000000000..0731942613 --- /dev/null +++ b/specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml @@ -0,0 +1,6 @@ +# summary: licensing/get-basic-status.asciidoc:42 +description: A successful response from `GET /_license/basic_status`. +# type: response +# response_code: '' +value: + eligible_to_start_basic: true diff --git a/specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml b/specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml deleted file mode 100644 index 1a8eb7352d..0000000000 --- a/specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml +++ /dev/null @@ -1,5 +0,0 @@ -summary: licensing/get-basic-status.asciidoc:42 -description: '' -type: response -response_code: '' -value: "{\n \"eligible_to_start_basic\": true\n}" From 8e770e3319379345e4bb035117a9b44766af9322 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 2 Jan 2025 21:31:34 -0800 Subject: [PATCH 05/11] Add examples for start basic --- docs/overlays/elasticsearch-openapi-overlays.yaml | 10 ++++++++++ .../StartBasicLicenseResponseExample1.yaml | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index de6258c4a0..1ced0da710 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -413,6 +413,16 @@ actions: examples: getLicenseResponseExample1: $ref: "../../specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml" + - target: "$.paths['/_license/start_basic']['post']" + description: "Add example for start basic response" + update: + responses: + 200: + content: + application/json: + examples: + startBasicLicenseResponseExample1: + $ref: "../../specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml" - target: "$.paths['/_license/start_trial']['post']" description: "Add example for start trial response" update: diff --git a/specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml b/specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml new file mode 100644 index 0000000000..ab05131a16 --- /dev/null +++ b/specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml @@ -0,0 +1,7 @@ +# summary: +description: A successful response from `POST /_license/start_basic?acknowledge=true`. If you currently have a license with more features than a basic license and you start a basic license, you must pass the acknowledge parameter. +# type: response +# response_code: '' +value: + basic_was_started: true + acknowledged: true From 5c8ffa469bc471a8603f3c80b51da4dba467bd66 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 2 Jan 2025 21:57:55 -0800 Subject: [PATCH 06/11] Add example for update license --- .../elasticsearch-openapi-overlays.yaml | 18 +++++++++++++++++- .../post/PostLicenseRequestExample1.yaml | 9 +++++---- .../post/PostLicenseRequestExample2.yaml | 10 ---------- .../post/PostLicenseResponseExample1.yaml | 15 +++++++++++++++ 4 files changed, 37 insertions(+), 15 deletions(-) delete mode 100644 specification/license/post/PostLicenseRequestExample2.yaml create mode 100644 specification/license/post/PostLicenseResponseExample1.yaml diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index 1ced0da710..474e0bba52 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -432,4 +432,20 @@ actions: application/json: examples: startTrialLicenseResponseExample1: - $ref: "../../specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml" \ No newline at end of file + $ref: "../../specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml" + - target: "$.components['requestBodies']['license.post']" + description: "Add examples for update license request" + update: + content: + application/json: + examples: + updateLicenseRequestExample1: + $ref: "../../specification/license/post/PostLicenseRequestExample1.yaml" + - target: "$.components['responses']['license.post#200']" + description: "Add examples for update license response" + update: + content: + application/json: + examples: + clusterHealthResponseExample1: + $ref: "../../specification/license/post/PostLicenseResponseExample1.yaml" \ No newline at end of file diff --git a/specification/license/post/PostLicenseRequestExample1.yaml b/specification/license/post/PostLicenseRequestExample1.yaml index 465ed0a235..b31c86f423 100644 --- a/specification/license/post/PostLicenseRequestExample1.yaml +++ b/specification/license/post/PostLicenseRequestExample1.yaml @@ -1,7 +1,8 @@ -summary: licensing/update-license.asciidoc:63 -method_request: PUT _license -description: '' -type: request +# summary: licensing/update-license.asciidoc:63 +# method_request: PUT _license +description: > + Run `PUT _license` to update to a basic license. NOTE: These values are invalid; you must substitute the appropriate contents from your license file. +# type: request value: "{\n \"licenses\": [\n {\n \"uid\":\"893361dc-9749-4997-93cb-802e3d7fa4xx\"\ ,\n \"type\":\"basic\",\n \"issue_date_in_millis\":1411948800000,\n \ diff --git a/specification/license/post/PostLicenseRequestExample2.yaml b/specification/license/post/PostLicenseRequestExample2.yaml deleted file mode 100644 index f06c44d6d1..0000000000 --- a/specification/license/post/PostLicenseRequestExample2.yaml +++ /dev/null @@ -1,10 +0,0 @@ -summary: licensing/update-license.asciidoc:139 -method_request: PUT _license?acknowledge=true -description: '' -type: request -value: - "{\n \"licenses\": [\n {\n \"uid\":\"893361dc-9749-4997-93cb-802e3d7fa4xx\"\ - ,\n \"type\":\"basic\",\n \"issue_date_in_millis\":1411948800000,\n \ - \ \"expiry_date_in_millis\":1914278399999,\n \"max_nodes\":1,\n \"\ - issued_to\":\"issuedTo\",\n \"issuer\":\"issuer\",\n \"signature\":\"\ - xx\"\n }\n ]\n}" diff --git a/specification/license/post/PostLicenseResponseExample1.yaml b/specification/license/post/PostLicenseResponseExample1.yaml new file mode 100644 index 0000000000..14b36585aa --- /dev/null +++ b/specification/license/post/PostLicenseResponseExample1.yaml @@ -0,0 +1,15 @@ +# summary: licensing/get-trial-status.asciidoc:47 +description: If you update to a basic license and you previously had a license with more features, you receive this type of response. You must re-submit the API request and set the `acknowledge` parameter to `true`. +# type: response +# response_code: '' +value: + acknowledged: false + license_status: valid + acknowledge: + message: '"""This license update requires acknowledgement. To acknowledge the license, please read the following messages and update the license again, this time with the "acknowledge=true" parameter:"""' + watcher: + - Watcher will be disabled + logstash: + - Logstash will no longer poll for centrally-managed pipelines + security: + - The following X-Pack security functionality will be disabled ... From 8fb54a1b7370c6c9247016b22659d8c4db7f08ab Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Fri, 3 Jan 2025 07:44:17 -0800 Subject: [PATCH 07/11] Update specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: István Zoltán Szabó --- .../get_basic_status/GetBasicLicenseStatusResponseExample1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml b/specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml index 0731942613..e6ed67a9d9 100644 --- a/specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml +++ b/specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml @@ -1,6 +1,6 @@ # summary: licensing/get-basic-status.asciidoc:42 description: A successful response from `GET /_license/basic_status`. # type: response -# response_code: '' +# response_code: 200 value: eligible_to_start_basic: true From 8488f48af933b2226e70f9292fff31393bd81765 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Fri, 3 Jan 2025 07:44:25 -0800 Subject: [PATCH 08/11] Update specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: István Zoltán Szabó --- .../get_trial_status/GetTrialLicenseStatusResponseExample1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml b/specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml index e4aee01ebf..ce0ad02ed5 100644 --- a/specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml +++ b/specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml @@ -1,6 +1,6 @@ # summary: licensing/get-trial-status.asciidoc:47 description: A successful response from `GET /_license/trial_status`. # type: response -# response_code: '' +# response_code: 200 value: eligible_to_start_trial: true From f3964df9817ab988bda1d5e23970d55c6b703a5a Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Fri, 3 Jan 2025 07:44:33 -0800 Subject: [PATCH 09/11] Update specification/license/post/PostLicenseResponseExample1.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: István Zoltán Szabó --- specification/license/post/PostLicenseResponseExample1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/license/post/PostLicenseResponseExample1.yaml b/specification/license/post/PostLicenseResponseExample1.yaml index 14b36585aa..e6e7d909f1 100644 --- a/specification/license/post/PostLicenseResponseExample1.yaml +++ b/specification/license/post/PostLicenseResponseExample1.yaml @@ -1,7 +1,7 @@ # summary: licensing/get-trial-status.asciidoc:47 description: If you update to a basic license and you previously had a license with more features, you receive this type of response. You must re-submit the API request and set the `acknowledge` parameter to `true`. # type: response -# response_code: '' +# response_code: 200 value: acknowledged: false license_status: valid From b6890f14763d9995cec3645185bde42fb318210c Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Fri, 3 Jan 2025 07:44:40 -0800 Subject: [PATCH 10/11] Update specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: István Zoltán Szabó --- .../post_start_basic/StartBasicLicenseResponseExample1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml b/specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml index ab05131a16..805a87b14c 100644 --- a/specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml +++ b/specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml @@ -1,7 +1,7 @@ # summary: description: A successful response from `POST /_license/start_basic?acknowledge=true`. If you currently have a license with more features than a basic license and you start a basic license, you must pass the acknowledge parameter. # type: response -# response_code: '' +# response_code: 200 value: basic_was_started: true acknowledged: true From c31f0d392530ba1f882be47d278675e83fb85af5 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Fri, 3 Jan 2025 07:44:48 -0800 Subject: [PATCH 11/11] Update specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: István Zoltán Szabó --- .../post_start_trial/StartTrialLicenseResponseExample1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml b/specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml index f66a41c172..105dcc1ae5 100644 --- a/specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml +++ b/specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml @@ -1,7 +1,7 @@ # summary: description: A successful response from `POST /_license/start_trial?acknowledge=true`. # type: response -# response_code: '' +# response_code: 200 value: trial_was_started: true acknowledged: true