WYHNUS / ExchangeBuddy

Find your exchange buddies!
5 stars 0 forks source link

Endpoint: Get all WikiSectionVersions for a WikiSectionId #130

Closed irvinlim closed 7 years ago

irvinlim commented 7 years ago

Joined with user information

WYHNUS commented 7 years ago

Implemented with end-point of format ?q=<wiki_title>&sectionIndex=<index> Will do the testing tomorrow, after which I will push the changes to master branch.

WYHNUS commented 7 years ago

Done and tested.

irvinlim commented 7 years ago

Can this be joined with the Users table, not just the UserId?

WYHNUS commented 7 years ago

Sure, will do that. :)

WYHNUS commented 7 years ago

What additional information from User table you need to have? (just take note that by joining User table and WikiSectionVersion table, query time will be longer, so it's recommended to not include them unless you need those information, like display user profile pic/name/...)

irvinlim commented 7 years ago

Yup I need the profile pic, name, id, etc. I'll be showing the user information.