From d8801f3952de97a8a1c76987b4dac5e721ec09aa Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 11 Apr 2024 12:49:37 -0700 Subject: [PATCH] Add more transform examples --- .../200_response/DeleteTransformResponseExample1.json | 6 ++++++ ...nseExample1.json => PutTransformResponseExample1.json} | 0 ...uestExample1.json => PutTransformRequestExample1.json} | 0 ...uestExample2.json => PutTransformRequestExample2.json} | 0 .../200_response/ResetTransformResponseExample1.json | 6 ++++++ .../200_response/ResetTransformResponseExample1.json | 6 ++++++ .../200_response/StartTransformResponseExample1.json | 6 ++++++ .../200_response/StopTransformResponseExample1.json | 6 ++++++ .../200_response/UpgradeTransformResponseExample1.json | 8 ++++++++ 9 files changed, 38 insertions(+) create mode 100644 specification/transform/delete_transform/examples/200_response/DeleteTransformResponseExample1.json rename specification/transform/put_transform/examples/200_response/{MlPutTransformResponseExample1.json => PutTransformResponseExample1.json} (100%) rename specification/transform/put_transform/examples/request/{MlPutTransformRequestExample1.json => PutTransformRequestExample1.json} (100%) rename specification/transform/put_transform/examples/request/{MlPutTransformRequestExample2.json => PutTransformRequestExample2.json} (100%) create mode 100644 specification/transform/reset_transform/examples/200_response/ResetTransformResponseExample1.json create mode 100644 specification/transform/schedule_now_transform/examples/200_response/ResetTransformResponseExample1.json create mode 100644 specification/transform/start_transform/examples/200_response/StartTransformResponseExample1.json create mode 100644 specification/transform/stop_transform/examples/200_response/StopTransformResponseExample1.json create mode 100644 specification/transform/upgrade_transforms/examples/200_response/UpgradeTransformResponseExample1.json diff --git a/specification/transform/delete_transform/examples/200_response/DeleteTransformResponseExample1.json b/specification/transform/delete_transform/examples/200_response/DeleteTransformResponseExample1.json new file mode 100644 index 0000000000..4d769228ea --- /dev/null +++ b/specification/transform/delete_transform/examples/200_response/DeleteTransformResponseExample1.json @@ -0,0 +1,6 @@ +{ + "summary": "A successful response when the transform is deleted.", + "value": { + "acknowledged": true + } +} diff --git a/specification/transform/put_transform/examples/200_response/MlPutTransformResponseExample1.json b/specification/transform/put_transform/examples/200_response/PutTransformResponseExample1.json similarity index 100% rename from specification/transform/put_transform/examples/200_response/MlPutTransformResponseExample1.json rename to specification/transform/put_transform/examples/200_response/PutTransformResponseExample1.json diff --git a/specification/transform/put_transform/examples/request/MlPutTransformRequestExample1.json b/specification/transform/put_transform/examples/request/PutTransformRequestExample1.json similarity index 100% rename from specification/transform/put_transform/examples/request/MlPutTransformRequestExample1.json rename to specification/transform/put_transform/examples/request/PutTransformRequestExample1.json diff --git a/specification/transform/put_transform/examples/request/MlPutTransformRequestExample2.json b/specification/transform/put_transform/examples/request/PutTransformRequestExample2.json similarity index 100% rename from specification/transform/put_transform/examples/request/MlPutTransformRequestExample2.json rename to specification/transform/put_transform/examples/request/PutTransformRequestExample2.json diff --git a/specification/transform/reset_transform/examples/200_response/ResetTransformResponseExample1.json b/specification/transform/reset_transform/examples/200_response/ResetTransformResponseExample1.json new file mode 100644 index 0000000000..5782d24bc5 --- /dev/null +++ b/specification/transform/reset_transform/examples/200_response/ResetTransformResponseExample1.json @@ -0,0 +1,6 @@ +{ + "summary": "A successful response when the transform is reset.", + "value": { + "acknowledged": true + } +} diff --git a/specification/transform/schedule_now_transform/examples/200_response/ResetTransformResponseExample1.json b/specification/transform/schedule_now_transform/examples/200_response/ResetTransformResponseExample1.json new file mode 100644 index 0000000000..f64f529373 --- /dev/null +++ b/specification/transform/schedule_now_transform/examples/200_response/ResetTransformResponseExample1.json @@ -0,0 +1,6 @@ +{ + "summary": "A successful response when the transform is scheduled to run now.", + "value": { + "acknowledged": true + } +} diff --git a/specification/transform/start_transform/examples/200_response/StartTransformResponseExample1.json b/specification/transform/start_transform/examples/200_response/StartTransformResponseExample1.json new file mode 100644 index 0000000000..8e06dfeb6f --- /dev/null +++ b/specification/transform/start_transform/examples/200_response/StartTransformResponseExample1.json @@ -0,0 +1,6 @@ +{ + "summary": "A successful response when a transform starts.", + "value": { + "acknowledged": true + } +} diff --git a/specification/transform/stop_transform/examples/200_response/StopTransformResponseExample1.json b/specification/transform/stop_transform/examples/200_response/StopTransformResponseExample1.json new file mode 100644 index 0000000000..15a8aa85c0 --- /dev/null +++ b/specification/transform/stop_transform/examples/200_response/StopTransformResponseExample1.json @@ -0,0 +1,6 @@ +{ + "summary": "A successful response when a transform stops.", + "value": { + "acknowledged": true + } +} diff --git a/specification/transform/upgrade_transforms/examples/200_response/UpgradeTransformResponseExample1.json b/specification/transform/upgrade_transforms/examples/200_response/UpgradeTransformResponseExample1.json new file mode 100644 index 0000000000..4d6587a8c4 --- /dev/null +++ b/specification/transform/upgrade_transforms/examples/200_response/UpgradeTransformResponseExample1.json @@ -0,0 +1,8 @@ +{ + "summary": "A successful response contains a summary when all transforms are upgraded.", + "value": { + "needs_update": 0, + "updated": 2, + "no_action": 1 + } +}