REST Newbie needs help on getTree and logout
mah
Registered Users Posts: 2 Beginner grinner
Just got my API key and trying things out manually posting URLs with Firefox. Can't get Heavy to work with getTree and (of all things) can't logout. Must be missing something simple. Any help much appreciated
-- Michael
(Edited) session is:
-- Michael
(Edited) session is:
https://api.smugmug.com/hack/rest/?method=smugmug.login.withPassword&EmailAddress=...smugmug_login_id...&Password=...password...&Version=1.1.1&APIKey=...key... <rsp stat="ok"> <method>smugmug.login.withPassword</method> <SessionID>...sessionid...</SessionID> <UserID>...userid...</UserID> <PasswordHash>...hash...</PasswordHash> </rsp> https://api.SmugMug.com/hack/rest/beta.mg?method=smugmug.users.getTree&SessionID=...sessionid...&Heavy=1 <rsp stat="ok"> <method>smugmug.users.getTree</method> <Categories> <Category id="0"> <Title>Other</Title> </Category> ...all standard & custom categories, but no album structs... </Categories> </rsp> https://api.SmugMug.com/hack/rest/beta.mg?method=smugmug.users.getTree&SessionID=...sessionid...&Heavy=true <rsp stat="ok"> <method>smugmug.users.getTree</method> <Categories> <Category id="0"> <Title>Other</Title> </Category> ...all standard & custom categories, but no album structs... </Categories> </rsp> https://api.SmugMug.com/hack/rest/?method=smugmug.logout&SessionID=...sessionid... <rsp stat="fail"> <err code="3" msg="invalid session"/> </rsp>
0
Comments
Just got my API key and trying things out manually posting URLs with Firefox. Can't get Heavy to work with getTree and (of all things) can't logout. Must be missing something simple. Any help much appreciated
-- Michael
(Edited) session is:
Portfolio • Workshops • Facebook • Twitter