@gricey432 opened this Issue on November 30th 2017 Contributor

Using the API


Should return the latest visit details for all sites on the server, instead I get

result: "error",
message: "An unexpected website was found in the request: website id was set to '0' ."
@gricey432 commented on November 30th 2017 Contributor

Additionally if I use idSite=1,2,3 I only get the data for idSite=1. I have a feeling this issue is only on the Live endpoint though, not sure..

@tassoman commented on December 1st 2017 Contributor

I bet idSite must be a single integer. You're asking the getLastVisitsDetails method in the Live plugin. If you want all sites results, you must query Multisite plugin.

There's an example on demo site

@gricey432 commented on December 5th 2017 Contributor

So this is expected behaviour?

The Standard API parameters section of the docs says all and 1,4,5,6 are valid values, and the Live! section doesn't mention otherwise.

@Findus23 commented on June 27th 2018 Member

@gricey432 Did you test this in the latest version?

I think #12854 should have solved this issue.

@gricey432 commented on June 27th 2018 Contributor

Just tested and this appears to be fixed!

Resolved in #12854

This Issue was closed on June 27th 2018
Powered by GitHub Issue Mirror