Andrea Bollini
d58e1e6042
Merge pull request #371 from kstamatis/dspace-rest-fixes
...
[DS-1743] REST API misses to expose some attributes of communities and collections
2013-12-04 11:47:18 -08:00
Mark H. Wood
b509b0a05f
[maven-release-plugin] prepare for next development iteration
2013-12-03 12:47:33 -05:00
Mark H. Wood
1bf3ead92e
[maven-release-plugin] prepare release dspace-4.0-rc2
2013-12-03 12:47:30 -05:00
Mark H. Wood
4a9fe6f8a4
[maven-release-plugin] prepare for next development iteration
2013-11-01 14:58:34 -04:00
Mark H. Wood
4745985383
[maven-release-plugin] prepare release dspace-4.0-rc1
2013-11-01 14:58:17 -04:00
kstamatis
9a626efd9c
rest: add logo in the expand list for collection + set licence when in expand list
2013-10-31 22:38:30 +02:00
kstamatis
613d99a32f
remove collection provenance exposure from REST response
2013-10-31 19:29:39 +02:00
kstamatis
4664dd0062
delete unnecessary comments
2013-10-31 19:25:17 +02:00
Tim Donohue
89f7798450
Normalize incorrect line endings in two files
2013-10-31 14:32:27 +00:00
Kostas Stamatis
851c6ed3dd
fix new line at the end problem
2013-10-30 14:16:30 +02:00
Kostas Stamatis
a9b307bdc6
add collection metadata (provenance, copyright, short description) in the collection response
2013-10-29 15:51:53 +02:00
Kostas Stamatis
11bb440fea
add short description in the community response
2013-10-29 13:17:55 +02:00
Anja Le Blanc
f5027c3bcb
Added usage events for collections view and communities view
2013-10-28 15:29:30 +00:00
Anja Le Blanc
4d46c3a505
corrected 'items' and 'parentCommunityList' in return.
2013-10-28 14:08:09 +00:00
Anja Le Blanc
a591a52081
added licence header
2013-10-23 14:44:17 +01:00
Anja Le Blanc
6d8417c9af
Added statistics recording to API
...
(required changes in DSpace API!)
Also some changes to make REST API work better with XML output.
Added Checksum and sequenceId to Bitstream.
2013-10-23 14:17:01 +01:00
Peter Dietz
5cbe8f16b0
Don't expand collections.all list
2013-10-21 18:12:27 -04:00
Peter Dietz
96809b7770
Fix collections.all paging bug
2013-10-21 18:11:56 -04:00
Peter Dietz
4f684e25ad
Make context's static, and autoCommit for remainders
2013-10-21 18:09:41 -04:00
Peter Dietz
fee4188716
Only fetch the bitstream bundle for an Item, (coll, comm logo's exempt)
...
Otherwise, I was getting NPE
2013-10-19 22:30:59 -04:00
Peter Dietz
994935082e
Add auth-check to look-up by Handle
2013-10-18 17:07:33 -04:00
Peter Dietz
8900a83f39
Add expands for Bitstream, to get to its parentDSO
...
Note: ParentDSO is either Item or Comm/Coll as logo
2013-10-18 16:53:37 -04:00
Peter Dietz
8c0511e05c
Item metadata is array of MetadataEntry, not wrapped in a metadata wrapper.
2013-10-18 13:07:16 -04:00
Peter Dietz
645e491c81
Clean up Collection, Community, Item regarding getting to parent and expand
2013-10-18 13:05:55 -04:00
Peter Dietz
98ee886687
Add REST support for limit / offset to page through comm.collections and collection.items, and item list
2013-10-18 13:04:51 -04:00
Peter Dietz
987e835e5e
Each of these "READ" endpoints should "autocommit", which prevents transaction abort issues (atleast with postgres).
...
If you got an error, (i.e. negative limit is bad), then PG will barf always.
current transaction is aborted, commands ignored until end of transaction block
2013-10-18 12:50:34 -04:00
Peter Dietz
87c427b903
Clean up README
2013-10-14 12:05:55 -04:00
Peter Dietz
3337434c85
Bitstream extends DSpaceObject. Also adding the mimeType to response
2013-10-07 23:23:35 -04:00
Peter Dietz
153c4cbdda
Remove un-needed license file from dspace-rest path
2013-10-07 23:23:04 -04:00
Peter Dietz
33d7153f62
For handle lookup, return a (comm, coll, item, ...) instead of plain DSO
...
Also takes ?expand param too
2013-10-07 22:31:39 -04:00
Peter Dietz
a399cae31d
Minor tweak to DSO to fix it to serialize to xml
2013-10-07 22:13:40 -04:00
Peter Dietz
6881e88fc5
Bump Jersey version from 1.8 to 1.17.1
2013-10-07 22:11:01 -04:00
Peter Dietz
2e678c11f1
Add DSpace license to code header
2013-10-07 21:50:46 -04:00
Peter Dietz
1b1f423011
Changed DSO ID to lowercase id, so we don't get duplicate id and ID when serialized
2013-10-07 20:55:39 -04:00
Peter Dietz
23e6ed2e8b
Add some markdown to the REST readme
2013-10-07 17:32:22 -04:00
Peter Dietz
3759f31014
Update README with endpoint information
2013-10-07 17:19:37 -04:00
Peter Dietz
d5e77e9f01
Cursory attempt at looking up object by its handle.
...
/rest/handle/1811/12345 returns a "DSpaceObject" with basic attributes,
client needs to follow the "link" to the real object...
2013-10-07 15:57:59 -04:00
Peter Dietz
45f58129a5
REST index "/" links out to some sample endpoints
2013-10-07 15:37:24 -04:00
Peter Dietz
cb4268bb45
Create a base DSO class that others extend, to DRY up some code...
2013-10-07 15:36:57 -04:00
Peter Dietz
0822c85863
Restricting sensitive metadata from view, i.e. provenance.
2013-10-06 15:01:02 -04:00
Peter Dietz
905ae72c87
Do authorization checks for collections, items, and bitstreams
2013-10-06 14:30:28 -04:00
Peter Dietz
d241f26341
Authorization checks for Community, only show comms this user can see
2013-10-06 12:20:23 -04:00
Peter Dietz
a5a7efe9a4
Item exposes its bitstreams
2013-10-04 08:08:00 -04:00
Peter Dietz
f58073ded7
Items have Bitstreams
2013-10-02 17:53:42 -04:00
Peter Dietz
08b99f62c4
Add a "link" element so that client, can follow to resource endpoint.
...
Still needs to include the contextPath i.e. /rest/
2013-10-02 15:50:37 -04:00
Peter Dietz
ca9b24805a
Collection presents its list of Items
2013-10-02 11:05:44 -04:00
Peter Dietz
d49342e2fa
Add metadata keys to org.dspace.content.Community, and use those instead of strings
2013-09-29 11:41:54 -04:00
Peter Dietz
4cb6d2e02b
Fix adding subComms, subColls to a Community. Add ?expand=all
2013-09-29 11:41:12 -04:00
Peter Dietz
ad6e12894c
Adding "Lite" versions, i.e. LiteCollection, LiteCommmunity, for easy nest
2013-09-29 11:39:14 -04:00
Peter Dietz
fa2765f540
Getting /community and /community/:id to output json/xml
2013-09-27 12:20:55 -04:00