[
https://jira.duraspace.org/browse/DS-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20695#action_20695
]
Bojan Suzic commented on DS-926:
--------------------------------
Just additional comment, the endings like .xml/.json are not necessary if
request header contains type, like Accept: application/xml.
> REST-API The .xml or .json options cause the URl to be messy if an object is
> specified
> --------------------------------------------------------------------------------------
>
> Key: DS-926
> URL: https://jira.duraspace.org/browse/DS-926
> Project: DSpace
> Issue Type: Bug
> Components: REST API (experimental)
> Reporter: Robin Taylor
>
> The request for all items is formed...
> http://localhost:8080/rest/items.xml
> but the rest for item with id 58 is...
> http://localhost:8080/rest/items/58.xml
> That's a bit ugly. Could/should the requests be formed as
> http://localhost:8080/rest/items/58?format=xml ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel