Skip to content

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…

Notifications You must be signed in to change notification settings

BrunoNZ/dspace-rest-requests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

==========================================================================
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

About

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…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.0%
  • HTML 26.0%