Add tenant to remote

This commit is contained in:
Kogulan Baskaran 2016-11-16 17:27:12 +11:00
parent 939cf5ae5c
commit 4e0d016cd4
1 changed files with 2 additions and 1 deletions

View File

@ -865,7 +865,8 @@ module.exports = function(registry) {
accessType: 'READ',
accepts: [
{arg: 'since', type: 'number', description: 'Only return changes since this checkpoint'},
{arg: 'filter', type: 'object', description: 'Only include changes that match this filter'}
{arg: 'filter', type: 'object', description: 'Only include changes that match this filter'},
{arg: 'tenant', type: 'string', description: 'Only include changes that match this tenant'},
],
returns: {arg: 'changes', type: 'array', root: true},
http: {verb: 'get', path: '/changes'}