MCPcopy
hub / github.com/scality/cloudserver / objectRestoreRequest

Function objectRestoreRequest

tests/unit/api/objectRestore.js:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 '</RestoreRequest>';
53
54const objectRestoreRequest = requestXml => ({
55 bucketName,
56 objectKey: objectName,
57 headers: { host: `${bucketName}.s3.amazonaws.com` },
58 post: requestXml,
59 });
60
61describe('restoreObject API', () => {
62 before(cleanup);

Callers 1

objectRestore.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected