Skip to main content

UserFeatureApi

All URIs are relative to http://localhost

MethodHTTP requestDescription
readFeaturesGET /user_featuresList users features

readFeatures#

/*** @returns [DisplayFeature]**/async function readFeatures()

List users features

Example#

const yat = require('yatjs');const api = new yat.YatJs();
await api.login("[email protected]", "your_password");
try {  let res = await api.userFeature().readFeatures();  // res is of type [DisplayFeature]  console.log('API called successfully. Result: ', res);} catch (error) {  console.error(error);}

Parameters#

This endpoint does not have any parameters.

Return type#

[DisplayFeature]

Authorization#

JWT

HTTP request headers#

  • Content-Type: Not defined
  • Accept: /