Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

invalid response from API UsersManager.getSitesAccessFromUser #923

Closed
mattab opened this Issue · 4 comments

3 participants

Matthieu Aubry pebosi Anthon Pang
Matthieu Aubry
Owner

http://piwik.org/demo/index.php?module=API&method=UsersManager.getSitesAccessFromUser&userLogin=julien&format=xml

<?xml version="1.0" encoding="utf-8" ?>
<result>
    <row>
        <1>view</1>
        <3>view</3>
    </row>
</result>

pebosi

hm, how should it look like?

regards

Anthon Pang
Collaborator

I'm guessing this would be ok?

<?xml version="1.0" encoding="utf-8" ?>
<result>
    <row>
        <site>1</site>
        <access>view</access>
    </row>
    <row>
        <site>3</site>
        <access>view</access>
    </row>
</result>
Matthieu Aubry
Owner

Looks good to me

Anthon Pang
Collaborator

In [1477], fixes #923 - invalid XML response from UsersManager.getSitesAccessFromUser

Matthieu Aubry mattab added this to the Piwik 0.4.4 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.