humhub / rest

HumHub Rest API Module
24 stars 24 forks source link

Unable to pull a username and ID list #82

Closed BaconTriple closed 2 years ago

BaconTriple commented 2 years ago

For whatever reason the database isn't query-able but I need to be able to present a list of usernames and ID's on my webpage.

I have used DBVisualizer but the data just doesn't seem to be there, where are the usernames and id's because they aren't within tables>user. There are two columns in there called 'username' and 'id' but theres no data.

I've tried using the RestAPI module but I cannot display it's contents within a webpage without:

  1. Getting a ton of junk I don't care about, I just need the ID and Username.
  2. Getting an invalid token error - this token works when using reqbin for testing.

Can someone please tell me if this is a bug or what I need to do to achieve this.

BaconTriple commented 2 years ago

No longer necessary as I found a way around it