From 039291c5281a60d0711696add25b07f67ffe4587 Mon Sep 17 00:00:00 2001 From: Christopher Shea Date: Wed, 1 Nov 2023 17:10:00 +0100 Subject: [PATCH 1/2] example OCAPI client configuration cannot be applied as is Fixes #70 --- documentation/ocapi-example-configuration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ocapi-example-configuration.json b/documentation/ocapi-example-configuration.json index 6ecab3f..908c85c 100644 --- a/documentation/ocapi-example-configuration.json +++ b/documentation/ocapi-example-configuration.json @@ -73,7 +73,7 @@ }, { "resource_id":"/orders", - "methods":["post", "get"], + "methods":["post"], "read_attributes":"(**)", "write_attributes":"(**)" }, From 8fa8080edd4f376981d0cd9fc67060b2292e4ef8 Mon Sep 17 00:00:00 2001 From: Christopher Shea Date: Wed, 28 Feb 2024 17:54:03 +0100 Subject: [PATCH 2/2] docs: update ocapi configuration example --- documentation/ocapi-example-configuration.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/documentation/ocapi-example-configuration.json b/documentation/ocapi-example-configuration.json index 908c85c..f579776 100644 --- a/documentation/ocapi-example-configuration.json +++ b/documentation/ocapi-example-configuration.json @@ -77,6 +77,12 @@ "read_attributes":"(**)", "write_attributes":"(**)" }, + { + "resource_id":"/orders/*", + "methods":["get"], + "read_attributes":"(**)", + "write_attributes":"(**)" + }, { "resource_id":"/orders/*/payment_instruments/*", "methods":["patch"],