Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
YeuxVerts Belle
Catastrophic Operations The Bastion
52
|
Posted - 2017.02.19 04:47:27 -
[1] - Quote
Hi,
I've started moving away from XML and CREST to ESI, and i've taken note of the existing versioning system. I understand all of it, except how to find the warning headers when i call a legacied route. Can anyone shed some light on this? Are they HTTP headers, and if so, which ones?
I've queried https://esi.tech.ccp.is/v1/alliances/99000054/ (legacy) and https://esi.tech.ccp.is/v2/alliances/99000054/ (latest) on SoapUI, but i don't see any difference besides the renamed executor corp.
The above message presents my opinions on the topic at hand. If there is a conflict between my views and reality, consider reality to be correct until proven otherwise.
|
Blacksmoke16
Resilience.
46
|
Posted - 2017.02.19 05:14:09 -
[2] - Quote
It's an HTTP Header called warning. If it doesn't show up then that means that endpoint is still valid. You can see an example of it by calling the /legacy/ version and viewing the headers in Postman or similar app.
https://esi.tech.ccp.is/legacy/alliances/99000054/
warning GåÆ299 - This endpoint was deprecated on 2016-10-01. |
YeuxVerts Belle
Catastrophic Operations The Bastion
52
|
Posted - 2017.02.19 05:37:36 -
[3] - Quote
Blacksmoke16 wrote:warning GåÆ299 - This endpoint was deprecated on 2016-10-01. Saw it in SoapUI. Thanks.
Blacksmoke16 wrote:https://esi.tech.ccp.is/legacy/alliances/99000054/ How come i get the warning with legacy and not with v1, since v1 is legacy in this case?
The above message presents my opinions on the topic at hand. If there is a conflict between my views and reality, consider reality to be correct until proven otherwise.
|
Blacksmoke16
Resilience.
47
|
Posted - 2017.02.19 14:50:23 -
[4] - Quote
Dunno. |
Daneel Trevize
Give my 11percent back
549
|
Posted - 2017.02.19 15:05:04 -
[5] - Quote
Possibly because v1 is the latest, so there is no true legacy version, but all calls to /legacy/ are configured to spit out the warning? |
YeuxVerts Belle
Catastrophic Operations The Bastion
52
|
Posted - 2017.02.20 08:56:03 -
[6] - Quote
Daneel Trevize wrote:Possibly because v1 is the latest, so there is no true legacy version, but all calls to /legacy/ are configured to spit out the warning?
In tihs case, v1 is legacy and v2 is latest.
The above message presents my opinions on the topic at hand. If there is a conflict between my views and reality, consider reality to be correct until proven otherwise.
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |