User Tools

Site Tools


data_management:irods

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
data_management:irods [2019/10/30 09:35]
jsteinka [What belongs in an archive?]
data_management:irods [2019/11/19 08:35]
jsteinka [Publishing]
Line 375: Line 375:
  
 <code bash> <code bash>
-[user@login01 ~]$ curl https://​irods-test.zdv.uni-mainz.de/​irods-rest/​rest/​dataObject/​zdv/​home/​jsteinka/​hello_world.txt?​ticket=ACR2RKDyuZMBRmb+[user@login01 ~]$ curl https://​irods-web.zdv.uni-mainz.de/​irods-rest/​rest/​dataObject/​zdv/​home/​jsteinka/​hello_world.txt?​ticket=ACR2RKDyuZMBRmb
 </​code>​ </​code>​
 <code JavaScript>​ <code JavaScript>​
Line 407: Line 407:
  
 <code bash> <code bash>
-[user@login01 ~]$ curl https://​irods-test.zdv.uni-mainz.de/​irods-rest/​rest/​dataObject/​zdv/​home/​jsteinka/​hello_world.txt/​metadata?​ticket=ACR2RKDyuZMBRmb+[user@login01 ~]$ curl https://​irods-web.zdv.uni-mainz.de/​irods-rest/​rest/​dataObject/​zdv/​home/​jsteinka/​hello_world.txt/​metadata?​ticket=ACR2RKDyuZMBRmb
 </​code>​ </​code>​
 <code JavaScript>​ <code JavaScript>​
Line 465: Line 465:
 The file content can be viewed with ''​curl''​ or downloaded with ''​wget''​. The file content can be viewed with ''​curl''​ or downloaded with ''​wget''​.
 <code bash> <code bash>
-curl https://​irods-test-01.zdv.uni-mainz.de/​irods-rest/​rest/​fileContents/​zdv/​home/​jsteinka/​hello_world.txt?​ticket=ACR2RKDyuZMBRmb+curl https://​irods-web.zdv.uni-mainz.de/​irods-rest/​rest/​fileContents/​zdv/​home/​jsteinka/​hello_world.txt?​ticket=ACR2RKDyuZMBRmb
 </​code>​ </​code>​
  
 === Retrieve the metadata of a collection === === Retrieve the metadata of a collection ===
 <code bash> <code bash>
-curl https://​irods-test.zdv.uni-mainz.de/​irods-rest/​rest/​collection/​zdv/​home/​public/​helloCollection?​ticket=mbyAAFGm7vhUdyM+curl https://​irods-web.zdv.uni-mainz.de/​irods-rest/​rest/​collection/​zdv/​home/​public/​helloCollection?​ticket=mbyAAFGm7vhUdyM
 </​code>​ </​code>​
 <code JavaScript>​ <code JavaScript>​
Line 495: Line 495:
  
 the URL for the REST-API consists of: the URL for the REST-API consists of:
-  * Server (https://​irods-test.uni-mainz.de/​irods-rest/​rest)+  * Server (https://​irods-web.zdv.uni-mainz.de/​irods-rest/​rest)
   * what (collection|dataObject|fileContents)   * what (collection|dataObject|fileContents)
   * iRODS path   * iRODS path
data_management/irods.txt · Last modified: 2020/01/30 12:36 by jsteinka