[Snowy] Missing user-ref in response to GET /api/1.0
- From: Cornelius Hald <hald icandy de>
- To: Snowy List <snowy-list gnome org>
- Subject: [Snowy] Missing user-ref in response to GET /api/1.0
- Date: Thu, 24 Jun 2010 12:55:51 +0200
Hi,
today I thought I'll check Conboy against the latest version of Snowy.
The good thing is, authenticating via OAuth 1.0a works nicely now
(thanks Oliver). The bad thing is, that I'm having a strange problem
when calling /api/1.0.
The problem is, that the result is missing the "user-ref" node and
therefore the synchronization does not work. However using Toboy with
the same Snowy instance works.
With Tomboy the reply looks like this:
{
"oauth_access_token_url":
"http://192.168.1.74:8000/oauth/access_token/",
"api-version": "1.0",
"oauth_request_token_url":
"http://192.168.1.74:8000/oauth/request_token/",
"oauth_authorize_url":
"http://192.168.1.74:8000/oauth/authenticate/",
"user-ref": {
"href": "http://192.168.1.74:8000/conny/",
"api-ref": "http://192.168.1.74:8000/api/1.0/conny/"
}
}
With Conboy like this:
{
"oauth_access_token_url":
"http://192.168.1.74:8000/oauth/access_token/",
"api-version": "1.0",
"oauth_request_token_url":
"http://192.168.1.74:8000/oauth/request_token/",
"oauth_authorize_url":
"http://192.168.1.74:8000/oauth/authenticate/"
}
When directly accessing /api/1.0 using the web browser I get the same
result that I get with Conboy. So, does that mean I'm not correctly
authenticated? The authentication process looks good, though.
Any other ideas? I'm quite clueless at the moment, so all hints and
pointers would be very welcome.
Thanks!
Conny
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]