From df8eaf447775eb8e5f4830aad052ed14dee9e0b0 Mon Sep 17 00:00:00 2001 From: "Jonathan Thorpe (Sony)" Date: Tue, 6 Feb 2024 09:39:32 +0000 Subject: [PATCH] Property value put example --- APIs/ConfigurationAPI.raml | 2 +- examples/NcMethodResult-get-200.json | 1 + examples/property-value-put.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 examples/NcMethodResult-get-200.json create mode 100644 examples/property-value-put.json diff --git a/APIs/ConfigurationAPI.raml b/APIs/ConfigurationAPI.raml index cee2ee4..30b2677 100644 --- a/APIs/ConfigurationAPI.raml +++ b/APIs/ConfigurationAPI.raml @@ -70,7 +70,7 @@ documentation: put: descriptions: Set value of a property body: - example: !include ../examples/property-value-get-200.json + example: !include ../examples/property-value-put.json type: !include schemas/modify-property.json responses: 200: diff --git a/examples/NcMethodResult-get-200.json b/examples/NcMethodResult-get-200.json new file mode 100644 index 0000000..9a7d8db --- /dev/null +++ b/examples/NcMethodResult-get-200.json @@ -0,0 +1 @@ +{ "status": 200 } \ No newline at end of file diff --git a/examples/property-value-put.json b/examples/property-value-put.json new file mode 100644 index 0000000..abee32e --- /dev/null +++ b/examples/property-value-put.json @@ -0,0 +1 @@ +{ "value": 42 } \ No newline at end of file