Benutzer-Werkzeuge

Webseiten-Werkzeuge


docuteam:bridge

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
docuteam:bridge [2019/09/13 13:30]
Jan Krause [1 - depositions API]
docuteam:bridge [2019/09/13 13:31] (aktuell)
Jan Krause [1 - depositions API]
Zeile 157: Zeile 157:
  
 | **create** ​   | HTTP POST on depositions | <​code>​curl -X POST -F "​package=@sip.zip"​ "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​package_format=DocuteamDublincore1.0"</​code> ​      | | **create** ​   | HTTP POST on depositions | <​code>​curl -X POST -F "​package=@sip.zip"​ "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​package_format=DocuteamDublincore1.0"</​code> ​      |
-|    | parameter: `package_format`,​ \\ constrain: binary data is mandatory |    |+|    | **parameter:** `package_format` ​(default: MatterhornMets), \\ **constrain:** binary data is mandatory |    |
 | **list** / **show** | **HTTP GET** on /​depositions,​\\ **parameters:​** \\ - id (optional, deposition id), \\ -status (optional), \\ -from (optional, format:​YYYY-MM-DD),​ \\ -until (optional, format:​YYYY-MM-DD),​ \\ -organization (optional) ​  | <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​id=2"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​status=submitted"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​status=submitted&​organization=customerx"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​from=2018-11-01&​until=2018-11-30"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​status=error&​from=2018-11-01"</​code>​ | | **list** / **show** | **HTTP GET** on /​depositions,​\\ **parameters:​** \\ - id (optional, deposition id), \\ -status (optional), \\ -from (optional, format:​YYYY-MM-DD),​ \\ -until (optional, format:​YYYY-MM-DD),​ \\ -organization (optional) ​  | <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​id=2"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​status=submitted"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​status=submitted&​organization=customerx"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​from=2018-11-01&​until=2018-11-30"</​code>​ <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions?​token=123456789012345&​status=error&​from=2018-11-01"</​code>​ |
 | **retrieve binary data** | **HTTP GET** on /​depositions/:​id returns SIP | <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions/​1?​token=123456789012345"​ --output sip.zip</​code>​ | | **retrieve binary data** | **HTTP GET** on /​depositions/:​id returns SIP | <​code>​curl "​https://​bridge-stage.docuteam.ch/​depositions/​1?​token=123456789012345"​ --output sip.zip</​code>​ |
docuteam/bridge.txt · Zuletzt geändert: 2019/09/13 13:31 von Jan Krause