Lightweight JS APIs needs a few tweaks to be acceptable:
1. Osapi.activities needs to incorporate the already accepted paging proposal (http://wiki.opensocial.org/index.php?title=Activity_Paging)
2. Osapi.people: Needs to incorporate anonymous user information: http://wiki.opensocial.org/index.php?title=Anonymous_Viewer
3. Callback execution is not explicit. http://wiki.opensocial.org/index.php?title=Clarify_timing_of_callback_execution_in_JS_API
4. Osapi.ui.shareApp needs to take an idspec, not a comma delimited list of userIDs. (http://wiki.opensocial.org/index.php?title=RequestShareApp_and_requestSendMessage_should_use_IdSpec)
5. Osapi.ui.messages.send() needs to handle the IdSpec issue too.
I’m concerned that the lack of an actual JS as used for the rest of the API is hurting our ability to feel comfortable voting on this. We agree on the principle, but this is an API simplification and so, the details are important.
Lightweight JS APIs needs a few tweaks to be acceptable:
1. Osapi.activities needs to incorporate the already accepted paging proposal (http://wiki.opensocial.org/index.php?title=Activity_Paging)
2. Osapi.people: Needs to incorporate anonymous user information: http://wiki.opensocial.org/index.php?title=Anonymous_Viewer
3. Callback execution is not explicit. http://wiki.opensocial.org/index.php?title=Clarify_timing_of_callback_execution_in_JS_API
4. Osapi.ui.shareApp needs to take an idspec, not a comma delimited list of userIDs. (http://wiki.opensocial.org/index.php?title=RequestShareApp_and_requestSendMessage_should_use_IdSpec)
5. Osapi.ui.messages.send() needs to handle the IdSpec issue too.
Adam—While you may disagree, you never disagreed when the topic came up in discussion. Please see http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/48dfeaa000f470c3/ for the idSpec issues. The proposal was accepted and has not seen a -1. You can go to the thread and vote a -1 per our process. If you choose to do so, it would be good of you to also follow up with a mechanism to fix things so that security is handled the same way across OpenSocial instead of allowing the current one-off situation to exist for two methods.
I look forward to your feedback.
Adam—While you may disagree, you never disagreed when the topic came up in discussion. Please see http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/48dfeaa000f470c3/ for the idSpec issues. The proposal was accepted and has not seen a -1. You can go to the thread and vote a -1 per our process. If you choose to do so, it would be good of you to also follow up with a mechanism to fix things so that security is handled the same way across OpenSocial instead of allowing the current one-off situation to exist for two methods.
I’m more interested in having security be consistent than in being an IDSpec. Whichever works best for the API.
Lightweight JS APIs needs a few tweaks to be acceptable:
1. Osapi.activities needs to incorporate the already accepted paging proposal (http://wiki.opensocial.org/index.php?title=Activity_Paging)
2. Osapi.people: Needs to incorporate anonymous user information: http://wiki.opensocial.org/index.php?title=Anonymous_Viewer
3. Callback execution is not explicit. http://wiki.opensocial.org/index.php?title=Clarify_timing_of_callback_execution_in_JS_API
4. Osapi.ui.shareApp needs to take an idspec, not a comma delimited list of userIDs. (http://wiki.opensocial.org/index.php?title=RequestShareApp_and_requestSendMessage_should_use_IdSpec)
5. Osapi.ui.messages.send() needs to handle the IdSpec issue too.
I'm concerned that the lack of an actual JS as used for the rest of the API is hurting our ability to feel comfortable voting on this. We agree on the principle, but this is an API simplification and so, the details are important.
I'd also like to see an explicit specification of the semantics of execution order within a "batch".Preference:- The results of batch execution MUST be indistinguishable from executing each element within the batch serially. Consequently, errors within the batch do not result in early termination of the batch.
I think we agree:- the old API should use IdSpec (the thread you refer to)- the new API should use userId, groupIdDo we agree on this?
yup
I think the timing requirements make it difficult to include requestXXX calls in data batches and would require some fairly complex coordination of events between XHR calls and cross-iframe rpcs. Im not sure they need to be batchable with data fetches either from a functional standpoint so Id rather just have them take standard callbacks instead.
From a nomenclature standpoint I prefer having requestCreateXXX methods live on the typed service as opposed to some osapi.ui namespace. That isosapi.activities.requestCreateosapi.messages.requestCreate
With user/group IDs, we would then use the proposal made in section 10 of messaging (http://sites.google.com/site/opensocialdraft/Home/restful-protocol-specification#TOC-Semantics)? By default, the identifier is a person unless the type specifier is present?
If so I think things are logically coherent then, so +1
I never said there was a conflict. I just want to make sure I understand what the idspec equivalent is and needed a yes|no answer to what we’d see. I don’t want a separate vote—we already said that the naming pattern was fine for messages. Let’s just roll that decision in here (as always—speak up if anyone disagrees).
Consistency on this is important to me.
I think we are at +5 here:
Chris Chabot, Lane LiaBraaten, Louis Ryan, Me, Evan Gilbert
Any detractors?