lib/api/modules/devicemanifests.js
function (deviceManifestIdentifier, data) {
      var path;
      if (deviceManifestIdentifier) {
        path = this.constructPath(constants.DEVICE_MANIFESTS, deviceManifestIdentifier, constants.FEEDS);
        return this.Core.POST(path, data);
      } else {
        return this.rejectRequest('Bad Request: A device manifest identifier and a data object are required.');
      }
    }
function (deviceManifestIdentifier, data) {
      var path;
      if (deviceManifestIdentifier) {
        path = this.constructPath(constants.DEVICE_MANIFESTS, deviceManifestIdentifier, constants.FEEDS);
        return this.Core.POST(path, data);
      } else {
        return this.rejectRequest('Bad Request: A device manifest identifier and a data object are required.');
      }
    }
function ( deviceManifestIdentifier , data ) { var path ; if ( deviceManifestIdentifier ) { path = this . constructPath ( constants . DEVICE_MANIFESTS , deviceManifestIdentifier , constants . FEEDS ) ; return this . Core . POST ( path , data ) ; } else { return this . rejectRequest ( 'Bad Request: A device manifest identifier and a data object are required.' ) ; } }
Add a feed to a device manifest
@param  {String|Integer} deviceManifestIdentifier A Robin device manifest identifier
@param  {Object}         data                     A querystring object
@return {Function}                                A Promise
Add a feed to a device manifest