Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API: No longer state that all versions are the current versions #381

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Publisher/en/restv2/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Publisher/en/restv2/rest-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Publisher/en/restv3/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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.

Expand Down
4 changes: 2 additions & 2 deletions Publisher/en/restv3/rest-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:

Expand Down