I still have an issue where the Swagger document for Analytics API 2.0 seems to be invalid, with a number of broken references.
The errors are visible within the Swagger UI if you go to one of the affected endpoints. Here is an example:
https://adobedocs.github.io/analytics-2.0-apis/#/calculatedmetrics/calculatedmetrics_getCalculatedMe...https://adobedocs.github.io/analytics-2.0-apis/#/calculatedmetrics/calculatedmetrics_getCalculatedMe...
For a full list, you can paste the full Swagger doc (https://adobedocs.github.io/analytics-2.0-apis/swagger.json) into the online Swagger editor (https://editor.swagger.io). This shows 7 errors total at the time of writing (see below)
For me this means I'm unable to generate a client for the 2.0 API. Maybe I'm missing something? Do most people still use 1.4?
Many thanks,
James
N.b. I had a related question which I closed by mistake: Definitions seem to be missing from API 2.0 Swagger
Errors reported by editor.swagger.io:
$refs must reference a valid location in the document
Solved! Go to Solution.
Views
Replies
Total Likes
If you are looking for the correct swagger schema please let me know, I was able to fix the issue after downloading the swagger json and reformatting.
Views
Replies
Total Likes
Can anyone advise?
It would be good to know if this isn't likely to be fixed soon - is the advice to use the 1.4 API? Or is the 2.0 API reliable enough to call if I write my own client code instead of using the Swagger definitions?
Views
Replies
Total Likes
If you are looking for the correct swagger schema please let me know, I was able to fix the issue after downloading the swagger json and reformatting.
Views
Replies
Total Likes