[ 
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12521#comment-12521
 ] 

Ivo Ladage - van Doorn commented on AMDATUOPENSOCIAL-198:
---------------------------------------------------------

More refactoring is needed:

- Add 'name' property to dashboard
- Do not return gadgets in dashboards for GET /rest/dashboards
- All links should be inside a <links> tag
- Links to the current representation should have rel 'self' instead of 
'alternate'
- Gadget links are incorrect; one '/dashboard' to many
- Add dashboard links
- Remove JSON alternative links for subresources in case the main resource is 
retrieved as XML, same for XML
- Remove underscores and upper cases in property names (ie still userPrefs in 
gadgets)
- Do not use abbreviations like spec and prefs, use full names
- Remove value from gadget/spec/userprefs/userpref, remove all but name and 
value from gadget/userprefs/userpref
- rename state/window to state/windowstate
- rename state/index to state/positionindex
- change mimetype of POST /rest/dashboards and /rest/dashboards/{dbid}/gadgets 
to form encoded
- Add DELETE for /rest/dashboards/{dbid} and 
/rest/dashboards/{dbid}/gadgets/{gid}
                
> Improve Dashboard REST API
> --------------------------
>
>                 Key: AMDATUOPENSOCIAL-198
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-198
>             Project: Amdatu OpenSocial
>          Issue Type: Improvement
>          Components: Dashboard
>    Affects Versions: 0.2.0
>            Reporter: Ivo Ladage - van Doorn
>            Assignee: Ivo Ladage - van Doorn
>             Fix For: 0.2.1
>
>
> - Add resource links in returned dashboard and gadgets
> - Rename widgets to gadgets
> - Refactor widget bean properties
> - Complete REST API (add PUT for userpreferences, POST to create new 
> dashboard, GET for all dashboards, GET for single gadget)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to