========================================================================== VERB ACTION ------------------------------------> Request Descriptor File ========================================================================== POST /login ------------------------------------> ./login.sh [JSON Only] POST /logout -----------------------------------> ./logout.sh POST /communities -----------------------------> POST_new-communities.sh POST /communities/{communityId}/collections ---> POST_new-collections.sh POST /communities/{communityId}/communities ---> POST_new-subcommunities.sh PUT /communities/{communityId} ---------------> PUT_edit-communities.sh POST /collections/{collectionId}/items ------- > POST_new-items.sh POST /collections/find-collection PUT /collections/{collectionId} --------------> PUT_edit-collections.sh POST /items/find-by-metadata-field POST /items/{item id}/bitstreams --------------> UPLOAD_new-bitstreams.sh POST /items/{item id}/metadata ----------------> POST_add-items-metadata.sh [JSON Only] PUT /items/{item id}/metadata ----------------> PUT_edit-items-metadata.sh [JSON Only] POST /bitstreams/{bitstream id}/policy PUT /bitstreams/{bitstream id}/data ----------> UPLOAD_edit-bitstreams.sh PUT /bitstreams/{bitstream id} ---------------> PUT_edit-bitstreams.sh
DSpace-Labs/dspace-rest-requests
(OBSOLETE) Clone of: Bruno Nocera Zanette's https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-requests I was doing some tests to prepare myself to write API's documentation, and to make it easier i've wrote some short scripts that implement all POST/PUT requests. It contains a script to execute each request, and descriptor files that describes each request (Verb, Action, and the request form itself). It's not very useful but it may help people that are struggling to use REST-API until the documentation is not ready.
Shell