Merge branch 'v1.2' of git.daplie.com:Daplie/walnut_launchpad into jon/upload-directives
This commit is contained in:
commit
efa628b099
|
@ -140,6 +140,21 @@ OAUTH3._pkgs['www@daplie.com'] = {
|
|||
return result;
|
||||
});
|
||||
}
|
||||
, contentRange: function (opts) {
|
||||
var providerUri = opts.audience;
|
||||
var session = opts.session;
|
||||
|
||||
return OAUTH3.request({
|
||||
method: 'GET'
|
||||
, url: OAUTH3.url.normalize(providerUri)
|
||||
+ '/api/www@daplie.com/acl/fs/' + opts.hostname
|
||||
+ '?' + OAUTH3.utils.query.stringify({ tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/, path: opts.path
|
||||
, offset: opts.offset, length: opts.length, json: true })
|
||||
, session: session
|
||||
}).then(function (result) {
|
||||
return result;
|
||||
});
|
||||
}
|
||||
, remove: function (opts) {
|
||||
var providerUri = opts.audience;
|
||||
var session = opts.session;
|
||||
|
|
Loading…
Reference in New Issue