From a330eb699d36dce4cc9011c497fc4bc5753412c9 Mon Sep 17 00:00:00 2001 From: norulak <30843945+norulak@users.noreply.github.com> Date: Mon, 6 May 2024 18:48:32 +0200 Subject: [PATCH 1/6] REST Intro pages update instead of implying that this is currently newest/current version, just mention the version --- Publisher/en/restv2/rest-introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Publisher/en/restv2/rest-introduction.md b/Publisher/en/restv2/rest-introduction.md index 7fc180206..7fcfdd255 100644 --- a/Publisher/en/restv2/rest-introduction.md +++ b/Publisher/en/restv2/rest-introduction.md @@ -8,7 +8,7 @@ back in a format that can easily be handled by computers (JSON). ## REST version -Currently we are using version 2 of the API. In this newest version some calls +This is version 2 of the Copernica REST API. In this version some calls were moved to make it clearer which calls were unique to the Marketing Suite or the Publisher. The new version of the API is easier to understand and offers some new calls to help you manage all data surrounding your mailings. From 7b91e3e9722010c7699008a084c7c819b9484059 Mon Sep 17 00:00:00 2001 From: norulak <30843945+norulak@users.noreply.github.com> Date: Mon, 6 May 2024 18:52:18 +0200 Subject: [PATCH 2/6] Update rest-introduction.md v3 --- Publisher/en/restv3/rest-introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Publisher/en/restv3/rest-introduction.md b/Publisher/en/restv3/rest-introduction.md index 942e28411..cd4f42ba9 100644 --- a/Publisher/en/restv3/rest-introduction.md +++ b/Publisher/en/restv3/rest-introduction.md @@ -8,7 +8,7 @@ back in a format that can easily be handled by computers (JSON). ## REST version -Currently we are using version 2 of the API. In this newest version some calls +This is version 3 of the Copernica REST API. In this version some calls were moved to make it clearer which calls were unique to the Marketing Suite or the Publisher. The new version of the API is easier to understand and offers some new calls to help you manage all data surrounding your mailings. From cff4b75d88d01b6a7bd2cdfb62b5d6faaa98925a Mon Sep 17 00:00:00 2001 From: norulak <30843945+norulak@users.noreply.github.com> Date: Mon, 6 May 2024 18:52:55 +0200 Subject: [PATCH 3/6] Update rest-introduction.md - typo in example --- Publisher/en/restv3/rest-introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Publisher/en/restv3/rest-introduction.md b/Publisher/en/restv3/rest-introduction.md index cd4f42ba9..1bd6f2108 100644 --- a/Publisher/en/restv3/rest-introduction.md +++ b/Publisher/en/restv3/rest-introduction.md @@ -17,7 +17,7 @@ offers some new calls to help you manage all data surrounding your mailings. If you are using our CopernicaRestAPI class, your instantiation currently should look somewhat like this: -`$api = new CopernicaRestAPI("your-access-token", 3);` +`$api = new CopernicaRestAPI("your-access-token", 2);` This should be simply changed to: From 85283f30a623d753795eda021a069465d631b439 Mon Sep 17 00:00:00 2001 From: norulak <30843945+norulak@users.noreply.github.com> Date: Mon, 6 May 2024 18:56:35 +0200 Subject: [PATCH 4/6] Update rest-api.md --- Publisher/en/restv3/rest-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Publisher/en/restv3/rest-api.md b/Publisher/en/restv3/rest-api.md index 77c94bd7f..55e11c36d 100644 --- a/Publisher/en/restv3/rest-api.md +++ b/Publisher/en/restv3/rest-api.md @@ -12,8 +12,8 @@ contains an overview of all API calls. * [External OAuth2 links](./rest-oauth) * [Paging](./rest-paging) -We are currently on version 3 of the REST API. [This article](./rest-introduction#REST-version) -explains the new version (and how to switch) in full detail. Not ready to switch? +This documentation is about version 3 of the REST API. [This article](./rest-introduction#REST-version) +explains version 3 (and how to switch) in full detail. Not ready to switch? If you want to use previous versions of the API, here is a link to the [v1](../restv1/rest-api.md) and [v2](../restv2/rest-api.md) documentation. From c3ebe1b04052e446ded91d932956c06afec872be Mon Sep 17 00:00:00 2001 From: norulak <30843945+norulak@users.noreply.github.com> Date: Mon, 6 May 2024 18:57:05 +0200 Subject: [PATCH 5/6] Update rest-api.md --- Publisher/en/restv3/rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Publisher/en/restv3/rest-api.md b/Publisher/en/restv3/rest-api.md index 55e11c36d..82ae8e169 100644 --- a/Publisher/en/restv3/rest-api.md +++ b/Publisher/en/restv3/rest-api.md @@ -13,7 +13,7 @@ contains an overview of all API calls. * [Paging](./rest-paging) This documentation is about version 3 of the REST API. [This article](./rest-introduction#REST-version) -explains version 3 (and how to switch) in full detail. Not ready to switch? +explains this version (and how to switch) in full detail. Not ready to switch? If you want to use previous versions of the API, here is a link to the [v1](../restv1/rest-api.md) and [v2](../restv2/rest-api.md) documentation. From 175c04734172123ec1a6902b13890814941f947b Mon Sep 17 00:00:00 2001 From: norulak <30843945+norulak@users.noreply.github.com> Date: Mon, 6 May 2024 18:58:21 +0200 Subject: [PATCH 6/6] Update rest-api.md --- Publisher/en/restv2/rest-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Publisher/en/restv2/rest-api.md b/Publisher/en/restv2/rest-api.md index 506e82693..1c7db3f1e 100644 --- a/Publisher/en/restv2/rest-api.md +++ b/Publisher/en/restv2/rest-api.md @@ -12,8 +12,8 @@ contains an overview of all API calls. * [External OAuth2 links](./rest-oauth) * [Paging](./rest-paging) -We are currently on version 2 of the REST API. [This article](./rest-introduction#REST-version) -explains the new version (and how to switch) in full detail. Not ready to switch? +This documentation is about version 2 of the REST API. [This article](./rest-introduction#REST-version) +explains this version (and how to switch) in full detail. Not ready to switch? You can find the documentation for version 1 [here](../restv1/rest-api.md). ## Method types