-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
martinhecher
committed
Aug 5, 2015
1 parent
ee734bb
commit 05829dc
Showing
67 changed files
with
3,711 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
define({ "api": [ | ||
{ | ||
"type": "post", | ||
"url": "/sip", | ||
"title": "Create BagIt SIP", | ||
"version": "0.7.0", | ||
"name": "PostBagItSIP", | ||
"group": "DigitalPreservation", | ||
"permission": [ | ||
{ | ||
"name": "none" | ||
} | ||
], | ||
"description": "<p>Creates a new Submission Information Package (SIP) in the <a href=\"https://en.wikipedia.org/wiki/BagIt\">BagIt</a> format.</p> ", | ||
"parameter": { | ||
"fields": { | ||
"Parameter": [ | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "session", | ||
"description": "<p>Object containing arrays for the 'physicalAssets' and 'digitalObjects' that should go into the SIP.</p> " | ||
}, | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "output", | ||
"description": "<p>Object containing a 'type' key with the value <strong>'bag'</strong>.</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"success": { | ||
"examples": [ | ||
{ | ||
"title": "Success-Response:", | ||
"content": "HTTP/1.1 200 OK\n{\n \"url\": \"physical_asset_8a0e49ed-30da-42b5-984e-2cadd25e1cc0/bag.zip\",\n}", | ||
"type": "json" | ||
} | ||
], | ||
"fields": { | ||
"Success 200": [ | ||
{ | ||
"group": "Success 200", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "url", | ||
"description": "<p>Download URL for the BagIt SIP.</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"filename": "api/controllers/SipController.js", | ||
"groupTitle": "DigitalPreservation", | ||
"sampleRequest": [ | ||
{ | ||
"url": "http://data.duraark.eu/services/api/digitalpreservation/sip" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "post", | ||
"url": "/sip", | ||
"title": "Create Rosetta SIP", | ||
"version": "0.7.0", | ||
"name": "PostRosettaSIP", | ||
"group": "DigitalPreservation", | ||
"permission": [ | ||
{ | ||
"name": "none" | ||
} | ||
], | ||
"description": "<p>Creates a new Submission Information Package (SIP) in the <a href=\"https://developers.exlibrisgroup.com/rosetta/apis/SipWebServices\">Rosetta</a> format.</p> ", | ||
"parameter": { | ||
"fields": { | ||
"Parameter": [ | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "session", | ||
"description": "<p>Object containing arrays for the 'physicalAssets' and 'digitalObjects' that should go into the SIP.</p> " | ||
}, | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "output", | ||
"description": "<p>Object containing a 'type' key with the value <strong>'rosetta'</strong>.</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"success": { | ||
"examples": [ | ||
{ | ||
"title": "Success-Response:", | ||
"content": "HTTP/1.1 200 OK\n{\n \"sip_id\": \"33505\",\n}", | ||
"type": "json" | ||
} | ||
], | ||
"fields": { | ||
"Success 200": [ | ||
{ | ||
"group": "Success 200", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "sip_id", | ||
"description": "<p>SIP ID from the Rosetta DPS. This can be used to get the download information for the uploaded files from the SIP (see Rosetta's <a href=\"https://developers.exlibrisgroup.com/rosetta/apis/SipWebServices\">web services documentation</a> on how to do that).</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"filename": "api/controllers/SipController.js", | ||
"groupTitle": "DigitalPreservation", | ||
"sampleRequest": [ | ||
{ | ||
"url": "http://data.duraark.eu/services/api/digitalpreservation/sip" | ||
} | ||
] | ||
} | ||
] }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
[ | ||
{ | ||
"type": "post", | ||
"url": "/sip", | ||
"title": "Create BagIt SIP", | ||
"version": "0.7.0", | ||
"name": "PostBagItSIP", | ||
"group": "DigitalPreservation", | ||
"permission": [ | ||
{ | ||
"name": "none" | ||
} | ||
], | ||
"description": "<p>Creates a new Submission Information Package (SIP) in the <a href=\"https://en.wikipedia.org/wiki/BagIt\">BagIt</a> format.</p> ", | ||
"parameter": { | ||
"fields": { | ||
"Parameter": [ | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "session", | ||
"description": "<p>Object containing arrays for the 'physicalAssets' and 'digitalObjects' that should go into the SIP.</p> " | ||
}, | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "output", | ||
"description": "<p>Object containing a 'type' key with the value <strong>'bag'</strong>.</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"success": { | ||
"examples": [ | ||
{ | ||
"title": "Success-Response:", | ||
"content": "HTTP/1.1 200 OK\n{\n \"url\": \"physical_asset_8a0e49ed-30da-42b5-984e-2cadd25e1cc0/bag.zip\",\n}", | ||
"type": "json" | ||
} | ||
], | ||
"fields": { | ||
"Success 200": [ | ||
{ | ||
"group": "Success 200", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "url", | ||
"description": "<p>Download URL for the BagIt SIP.</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"filename": "api/controllers/SipController.js", | ||
"groupTitle": "DigitalPreservation", | ||
"sampleRequest": [ | ||
{ | ||
"url": "http://data.duraark.eu/services/api/digitalpreservation/sip" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "post", | ||
"url": "/sip", | ||
"title": "Create Rosetta SIP", | ||
"version": "0.7.0", | ||
"name": "PostRosettaSIP", | ||
"group": "DigitalPreservation", | ||
"permission": [ | ||
{ | ||
"name": "none" | ||
} | ||
], | ||
"description": "<p>Creates a new Submission Information Package (SIP) in the <a href=\"https://developers.exlibrisgroup.com/rosetta/apis/SipWebServices\">Rosetta</a> format.</p> ", | ||
"parameter": { | ||
"fields": { | ||
"Parameter": [ | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "session", | ||
"description": "<p>Object containing arrays for the 'physicalAssets' and 'digitalObjects' that should go into the SIP.</p> " | ||
}, | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Object</p> ", | ||
"optional": false, | ||
"field": "output", | ||
"description": "<p>Object containing a 'type' key with the value <strong>'rosetta'</strong>.</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"success": { | ||
"examples": [ | ||
{ | ||
"title": "Success-Response:", | ||
"content": "HTTP/1.1 200 OK\n{\n \"sip_id\": \"33505\",\n}", | ||
"type": "json" | ||
} | ||
], | ||
"fields": { | ||
"Success 200": [ | ||
{ | ||
"group": "Success 200", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "sip_id", | ||
"description": "<p>SIP ID from the Rosetta DPS. This can be used to get the download information for the uploaded files from the SIP (see Rosetta's <a href=\"https://developers.exlibrisgroup.com/rosetta/apis/SipWebServices\">web services documentation</a> on how to do that).</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"filename": "api/controllers/SipController.js", | ||
"groupTitle": "DigitalPreservation", | ||
"sampleRequest": [ | ||
{ | ||
"url": "http://data.duraark.eu/services/api/digitalpreservation/sip" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
define({ | ||
"name": "duraark-digitalpreservation", | ||
"version": "0.7.0", | ||
"title": "DURAARK DigitalPreservation Service", | ||
"url": "http://data.duraark.eu/services/api/digitalpreservation", | ||
"sampleUrl": "http://data.duraark.eu/services/api/digitalpreservation", | ||
"description": "Microservice providing an API for generating Submission Information Packages (SIPs) and for depositing SIPs to the Rosetta DPS.", | ||
"apidoc": "0.2.0", | ||
"generator": { | ||
"name": "apidoc", | ||
"time": "2015-08-05T17:17:20.136Z", | ||
"url": "http://apidocjs.com", | ||
"version": "0.13.1" | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "duraark-digitalpreservation", | ||
"version": "0.7.0", | ||
"title": "DURAARK DigitalPreservation Service", | ||
"url": "http://data.duraark.eu/services/api/digitalpreservation", | ||
"sampleUrl": "http://data.duraark.eu/services/api/digitalpreservation", | ||
"description": "Microservice providing an API for generating Submission Information Packages (SIPs) and for depositing SIPs to the Rosetta DPS.", | ||
"apidoc": "0.2.0", | ||
"generator": { | ||
"name": "apidoc", | ||
"time": "2015-08-05T17:17:20.136Z", | ||
"url": "http://apidocjs.com", | ||
"version": "0.13.1" | ||
} | ||
} |
Oops, something went wrong.