nodebb-plugin-ns-api

Additional API methods. This plugin depends on write-api plugin.

Usage no npm install needed!

<script type="module">
  import nodebbPluginNsApi from 'https://cdn.skypack.dev/nodebb-plugin-ns-api';
</script>

README

NodeBB: API

Additional API methods. This plugin depends on write-api plugin.

Version Dependencies bitHound Score Code Climate

Usage

In order to use these extended api methods, you should have Write Api Plugin in your system: activated and configured for token use.

API

/api/v1/users/:uid

Profile full data-set about the user

Result:

{
    user data
}

/api/v1/users/:uid/groups

Provides all groups to which user belongs.

Result:

{
    user: {mini profile of the user},
    groups: [groups collection]
}