[appUserDetails description]

Pattern: %s/api/appuserdetails/?appids=%u&cc=%s&l=%s&v=1

@param  {[type]} appid [description]
@return {[type]}       [description]
761819
function (appid) {
    return this.get('/appuserdetails', {
      // 'cc': this.options.country,
      // 'l': this.options.language,
      'v': 1,
      'appids': appid
    }).then(function (body) {
      console.log('appUserDetails - ', body)
      return Promise.resolve(body);
    });
  }
195525
public static String generateMchPayJsRequestJson(String prepay_id, String appId, String key) {
		String package_ = "prepay_id=" + prepay_id;
		Map<String, String> map = new LinkedHashMap<String, String>();
		map.put("appId", appId);
		map.put("nonceStr", UUID.randomUUID().toString().replace("-", ""));
		map.put("package", package_);
		map.put("signType", "MD5");
		map.put("timeStamp", System.currentTimeMillis() / 1000 + "");
		String paySign = SignatureUtil.generateSign(map, key);
		map.put("paySign", paySign);
		return JsonUtil.toJSONString(map);
	}
731731
public CompletableFuture<Token> findTokenByAppId(String appId) {
        requireNonNull(appId, "appId");
        return tokenRepo.fetch(INTERNAL_PROJ, Project.REPO_DOGMA, TOKEN_JSON)
                        .thenApply(tokens -> tokens.object().get(appId));
    }
1138829
function (appIdOrSlug) {
    var path;
    if (appIdOrSlug) {
      path = this.constructPath(constants.APPS, appIdOrSlug);
      return this.Core.DELETE(path);
    } else {
      return this.rejectRequest('Bad Request: An app id or slug is required.');
    }
  }
956063
function details(id) {
  return new Promise((resolve, reject) => {
    if (!id || id === '') throw new Error('id cannot be blank');

    const options = {
      method: 'GET',
      hostname: 'www.exploitalert.com',
      port: null,
      path: `/view-details.html?id=${id}`,
      headers: {},
    };

    const req = http.request(options, (res) => {
      const chunks = [];

      res.on('data', (chunk) => {
        chunks.push(chunk);
      });

      res.on('end', () => {
        const body = Buffer.concat(chunks);
        resolve(body.toString());
      });
    });
    req.on('error', reject);
    req.end();
  })
    .then((html) => {
      const $ = cheerio.load(html);
      return $('pre').text();
    })
    .catch(err => err);
}
299239
def application_detail(request, application_id, state=None, label=None):
    
    application = base.get_application(pk=application_id)
    state_machine = base.get_state_machine(application)
    return state_machine.process(request, application, state, label)
645382
public static String getAppId() {
        if (appId != null)
            return appId;
        appId = PropertyManager.getProperty(PropertyNames.MDW_APP_ID);
        if (appId == null) // try legacy property
            appId = PropertyManager.getProperty("mdw.application.name");
        if (appId == null)
            return "Unknown";
        return appId;
    }
181361
function matchDetails(m, isSearch) {
    var id, regexp, segment, type, cfg, arrayMode;
    id          = m[2] || m[3]; // IE[78] returns '' for unmatched groups instead of null
    cfg         = config.params[id];
    segment     = pattern.substring(last, m.index);
    regexp      = isSearch ? m[4] : m[4] || (m[1] == '*' ? '.*' : null);

    if (regexp) {
      type      = $$UMFP.type(regexp) || inherit($$UMFP.type("string"), { pattern: new RegExp(regexp, config.caseInsensitive ? 'i' : undefined) });
    }

    return {
      id: id, regexp: regexp, segment: segment, type: type, cfg: cfg
    };
  }
779595
public Optional<ApplicationInstance> show(long applicationId, long instanceId)
    {
        return HTTP.GET(String.format("/v2/applications/%d/instances/%d.json", applicationId, instanceId), APPLICATION_INSTANCE);
    }
377619
function extractRunIdAndAppId(mqtt_channel) {
    var sp =  mqtt_channel.replace('/nutella/apps/', '').split('/');
    return {appId: sp[0], runId: sp[2]};
}
780580
private Increment incrementAppSummary(AppAggregationKey appAggKey,
      JobDetails jobDetails) {
    Increment aggIncrement = new Increment(aggConv.toBytes(appAggKey));
    aggIncrement.addColumn(Constants.INFO_FAM_BYTES,
        AggregationConstants.TOTAL_MAPS_BYTES, jobDetails.getTotalMaps());
    aggIncrement.addColumn(Constants.INFO_FAM_BYTES,
        AggregationConstants.TOTAL_REDUCES_BYTES, jobDetails.getTotalReduces());
    aggIncrement.addColumn(Constants.INFO_FAM_BYTES,
        AggregationConstants.MEGABYTEMILLIS_BYTES,
        jobDetails.getMegabyteMillis());
    aggIncrement.addColumn(Constants.INFO_FAM_BYTES,
        AggregationConstants.SLOTS_MILLIS_MAPS_BYTES,
        jobDetails.getMapSlotMillis());
    aggIncrement.addColumn(Constants.INFO_FAM_BYTES,
        AggregationConstants.SLOTS_MILLIS_REDUCES_BYTES,
        jobDetails.getReduceSlotMillis());
    aggIncrement.addColumn(Constants.INFO_FAM_BYTES,
        AggregationConstants.SLOTS_MILLIS_REDUCES_BYTES,
        jobDetails.getReduceSlotMillis());
    aggIncrement.addColumn(Constants.INFO_FAM_BYTES,
        AggregationConstants.TOTAL_JOBS_BYTES, 1L);

    byte[] numberRowsCol = Bytes.toBytes(jobDetails.getJobKey().getRunId());
    aggIncrement.addColumn(AggregationConstants.SCRATCH_FAM_BYTES,
        numberRowsCol, 1L);

    return aggIncrement;
  }
37742
public static Map<String, Object> getTableStatus(final String appid) {
		if (StringUtils.isBlank(appid)) {
			return Collections.emptyMap();
		}
		try {
			final TableDescription td = getClient().describeTable(getTableNameForAppid(appid)).getTable();
			HashMap<String, Object> dbStatus = new HashMap<>();
			dbStatus.put("id", appid);
			dbStatus.put("status", td.getTableStatus());
			dbStatus.put("created", td.getCreationDateTime().getTime());
			dbStatus.put("sizeBytes", td.getTableSizeBytes());
			dbStatus.put("itemCount", td.getItemCount());
			dbStatus.put("readCapacityUnits", td.getProvisionedThroughput().getReadCapacityUnits());
			dbStatus.put("writeCapacityUnits", td.getProvisionedThroughput().getWriteCapacityUnits());
			return dbStatus;
		} catch (Exception e) {
			logger.error(null, e);
		}
		return Collections.emptyMap();
	}
899061
private ApplicationDefinition getApplicationDefinition(Tenant tenant, String appName) {
        Iterator<DColumn> colIter =
            DBService.instance(tenant).getAllColumns(SchemaService.APPS_STORE_NAME, appName).iterator();
        if (!colIter.hasNext()) {
            return null;
        }
        return loadAppRow(tenant, getColumnMap(colIter));
    }
1000069
function getParamsDetails(spec_c) {
  var paras = getChildren(spec_c, 'para');
  var details = _.find(_.map(paras, function(para) {
    return getChild(para, 'parameterlist');
  }), function(obj) { return (obj != undefined); });
  return (details ? details.children : undefined);
}
258617
protected void appendAppId(ApplicationId appId, Message m) {
    if (appId == null) {
      return;
    }

    // check if any application-id avp is already present.
    // we could use m.getApplicationIdAvps().size() > 0 but this should spare a few cpu cycles
    for (Avp avp : m.getAvps()) {
      int code = avp.getCode();
      if (code == Avp.ACCT_APPLICATION_ID || code == Avp.AUTH_APPLICATION_ID || code == Avp.VENDOR_SPECIFIC_APPLICATION_ID) {
        return;
      }
    }

    if (appId.getVendorId() == 0) {
      if (appId.getAcctAppId() != 0) {
        m.getAvps().addAvp(Avp.ACCT_APPLICATION_ID, appId.getAcctAppId(), true, false, true);
      }
      if (appId.getAuthAppId() != 0) {
        m.getAvps().addAvp(Avp.AUTH_APPLICATION_ID, appId.getAuthAppId(), true, false, true);
      }
    }
    else {
      AvpSet avp = m.getAvps().addGroupedAvp(Avp.VENDOR_SPECIFIC_APPLICATION_ID, true, false);
      avp.addAvp(Avp.VENDOR_ID, appId.getVendorId(), true, false, true);
      if (appId.getAuthAppId() != 0) {
        avp.addAvp(Avp.AUTH_APPLICATION_ID, appId.getAuthAppId(), true, false, true);
      }
      if (appId.getAcctAppId() != 0) {
        avp.addAvp(Avp.ACCT_APPLICATION_ID, appId.getAcctAppId(), true, false, true);
      }
    }
  }
623463
@Override
    public InstanceInfo getInstanceByAppAndId(String appName, String id) {
        return this.getInstanceByAppAndId(appName, id, true);
    }
981411
function _getIdByUsername(username) {
	const url = `${API}/get-user-id`;
	const params = {
		app: 3,
		username
	};

	return http
		.GET(url, params)
		.then(data => data.user_id);
}