Google Groups Home
Help | Sign in
Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec .html
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  24 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Dan Peterson  
View profile
 More options May 9, 9:33 pm
From: "Dan Peterson" <dpeter...@google.com>
Date: Fri, 9 May 2008 18:33:21 -0700
Local: Fri, May 9 2008 9:33 pm
Subject: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

As per below, please use this thread to discuss potential improvements to
the OpenSocial API RESTful spec (v0.8):
http://opensocial-and-gadgets-spec.googlegroups.com/web/3-OpenSocial_...

Regards,
-Dan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Brown  
View profile
 More options May 10, 6:07 am
From: "Kevin Brown" <e...@google.com>
Date: Sat, 10 May 2008 03:07:52 -0700
Local: Sat, May 10 2008 6:07 am
Subject: Re: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

Might I propose that all opensocial-related specifications use this format?
Even though there are some known issues with implementing the RESTful spec,
there is very little ambiguity here and it's very easy to reference
subsections of it. Right now, the gadget spec is wildly different (although
slightly closer in format), and the primary opensocial spec is a different
type of document altogether.

I consider myself pretty familiar with all aspects of the spec, but when I
read it today I can't help but be confused, as my comments on the other
threads indicated. The format used by the RESTful spec is a perfect example
of how to do this right.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Glazer  
View profile
 More options May 10, 2:27 pm
From: "David Glazer" <dgla...@google.com>
Date: Sat, 10 May 2008 11:27:41 -0700
Local: Sat, May 10 2008 2:27 pm
Subject: Re: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

One general observation (that applies to all of Kevin's suggestions on all
the threads) -- there are two sorts of comments being made here:- ways we
could tighten up all the spec documents, regardless of any content changes
from 0.7 to 0.8
- ways we could better improve the substance and/or wording of the 0.8
changes

I think both are good sets of feedback; it might help the conversation to
clearly highlight which are which.  Personally, I consider the second set to
be the most urgent to agree on, since that's more blocking to people
(shindig, containers) who already have 0.7 implementations and want to
upgrade them.  But in the long run, the first set will end up being more
important, since there will be many more new eyes than old over time.

  - dG


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Brown  
View profile
 More options May 13, 5:29 pm
From: "Kevin Brown" <e...@google.com>
Date: Tue, 13 May 2008 14:29:16 -0700
Local: Tues, May 13 2008 5:29 pm
Subject: Re: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

Could we replace the links to the RFC documents with the canonical IETF
versions? Linking to versions on the OAuth site doesn't seem to make a lot
of sense.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Walker  
View profile
 More options May 14, 4:55 am
From: "Paul Walker" <pwal...@myspace.com>
Date: Wed, 14 May 2008 01:55:29 -0700
Local: Wed, May 14 2008 4:55 am
Subject: RE: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

2.2 Person

q

A Person contains a scoial network oriented data about a single person.

/q

How about:  A Person represents a user of the social network.

q

- The field names are the same as in the JS doc, but lowercased.

/q

Does this mean keeping the underscores?  Are we not using camel casing
in order to be consistent w/ common practices of XML and JSON (including
OpenSearch)?  Perhaps we should actually enumerate the fields in the doc
with their exact spelling capitalization?

~Paul

From: opensocial-and-gadgets-spec@googlegroups.com
[mailto:opensocial-and-gadgets-spec@googlegroups.com] On Behalf Of David
Glazer
Sent: Saturday, May 10, 2008 11:28 AM
To: opensocial-and-gadgets-spec@googlegroups.com
Subject: Re: Detailed feedback thread:
3-OpenSocial_0_8_REST_API_Spec.html

One general observation (that applies to all of Kevin's suggestions on
all the threads) -- there are two sorts of comments being made here:

- ways we could tighten up all the spec documents, regardless of any
content changes from 0.7 to 0.8

- ways we could better improve the substance and/or wording of the 0.8
changes

I think both are good sets of feedback; it might help the conversation
to clearly highlight which are which.  Personally, I consider the second
set to be the most urgent to agree on, since that's more blocking to
people (shindig, containers) who already have 0.7 implementations and
want to upgrade them.  But in the long run, the first set will end up
being more important, since there will be many more new eyes than old
over time.

  - dG

On Sat, May 10, 2008 at 3:07 AM, Kevin Brown <e...@google.com> wrote:

Might I propose that all opensocial-related specifications use this
format? Even though there are some known issues with implementing the
RESTful spec, there is very little ambiguity here and it's very easy to
reference subsections of it. Right now, the gadget spec is wildly
different (although slightly closer in format), and the primary
opensocial spec is a different type of document altogether.

I consider myself pretty familiar with all aspects of the spec, but when
I read it today I can't help but be confused, as my comments on the
other threads indicated. The format used by the RESTful spec is a
perfect example of how to do this right.

On Fri, May 9, 2008 at 6:33 PM, Dan Peterson <dpeter...@google.com>
wrote:

As per below, please use this thread to discuss potential improvements
to the OpenSocial API RESTful spec (v0.8):
http://opensocial-and-gadgets-spec.googlegroups.com/web/3-OpenSocial_0_8
_REST_API_Spec.html

Regards,
-Dan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Walker  
View profile
 More options May 14, 4:59 am
From: "Paul Walker" <pwal...@myspace.com>
Date: Wed, 14 May 2008 01:59:05 -0700
Local: Wed, May 14 2008 4:59 am
Subject: RE: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

2.4 Activity

What about enforcing template ids as URIs?  

~Paul


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Walker  
View profile
 More options May 14, 4:57 am
From: "Paul Walker" <pwal...@myspace.com>
Date: Wed, 14 May 2008 01:57:37 -0700
Local: Wed, May 14 2008 4:57 am
Subject: RE: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

More 2.2...

q

atom:entry/atom:id aliases the "id" field.  In the Atom format, it is
translated into the required URI data type by prepending "urn:guid:" to
the OpenSocial ID string.

/q

That's not the only way to translate the id field into a valid URI.  The
text reads as if OS Providers must use urn:guid.  Is that the case?  

q

atom:entry/atom:published aliases the JSON field indicating creation
time (POSTED_TIME for Activity).

/q

The example atom instance does not contain this atom field.  Perhaps the
text could be a little more clear on what atom fields are
required/optional?

The example instance mixes two default namespaces.  Shouldn't one of
them include a prefix?

<entry xmlns="http://www.w3.org/2005/Atom"

                xmlns:os="http://ns.opensocial.org/2008/opensocial">

  <content type="application/xml">

    <os:person >

      <os:name>

        <os:unstructured>Jane Doe</os:unstructured>

      </os:name>

      <os:gender key="FEMALE">??</os:gender>

    </os:person>

  </content>

  <title/>

  <updated>2003-12-13T18:30:02Z</updated>

  <author/>

  <id>urn:guid:example.org:34KJDCSKJN2HHF0DW20394</id>

</entry>

Applies to activity instance in 2.4 as well...

q

The atom:summary element is the appropriate place to put a text or HTML
representation of the structured data present in the content element

/q

Perhaps some text on how the type attribute would be used for this?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Walker  
View profile
 More options May 14, 4:58 am
From: "Paul Walker" <pwal...@myspace.com>
Date: Wed, 14 May 2008 01:58:07 -0700
Local: Wed, May 14 2008 4:58 am
Subject: RE: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

2.3 Group

What is the purpose of the link field in the examples?  Is this the
actual REST API URI for this resource?  

q

Groups only appear within Group Collections and are used to retrieve a
list of available groups for a given person.

/q

Will we not make a resource available to retrieve a single group which
would return the collection of person entries?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Brown  
View profile
 More options May 14, 5:25 am
From: "Kevin Brown" <e...@google.com>
Date: Wed, 14 May 2008 02:25:03 -0700
Local: Wed, May 14 2008 5:25 am
Subject: Re: Detailed feedback thread: 3-OpenSocial_0_8_REST_API_Spec.html

Common conventions for most XML and JSON is to use camel casing. It's not
clear to me why the lower casing is necessary at all. Why not simply use the
same field names as the JS?