You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "David Primmer (JIRA)" <ji...@apache.org> on 2008/05/06 03:09:56 UTC

[jira] Commented: (SHINDIG-233) Default format for RESTful API should be json-c.

    [ https://issues.apache.org/jira/browse/SHINDIG-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594431#action_12594431 ] 

David Primmer commented on SHINDIG-233:
---------------------------------------

I'm in support of this change, as it follows the spec. However, see my recent comment on what the spec says about "json" versus "json-c" question here: http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/ed71e411040958b4

In addition to switching to the default, what it's called should be resolved in the spec soon.


> Default format for RESTful API should be json-c. 
> -------------------------------------------------
>
>                 Key: SHINDIG-233
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-233
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Vasu Nori
>         Attachments: patch_addformat_n_paramsbug
>
>
> The current implementation of RESTful API is returning Atom/XML no matter what the "format" specifier is. 
> Two issues:
> 1. Accept format specifier in query string with acceptable values being "atom", "json-c"
> 2. If the format specifier is missing, default to "json-c"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.