Contrib API 2

Next.js drop-in replacement for api2.contrib.co (PHP Yii)

5 controllers110 endpoints27 Forum2 actions
Also available at /Forum/* and /Forumframework/*. Forum2 endpoints do NOT require API key authentication.
EndpointMethodAuthParamsDescription
/Forum2/CheckIfEmailExistsGETnoneemail, domainCheck if forum email is registered
/Forum2/CheckIfUsernameExistsGETnoneusername, domainCheck if forum username is taken
/Forum2/CheckAccountExistsGETnoneemail, domainCheck account and return UID if exists
/Forum2/SignUpPOSTnoneusername, email, password, domainRegister new forum member
/Forum2/LoginPOSTnoneemail, password, domainLogin and get UID
/Forum2/GetUserDetailsGETnoneuid, domainGet forum member details by UID
/Forum2/GetMemberGETnoneuid, domainGet forum member info
/Forum2/GetMemberInfoGETnonemember_idGet member info by ID
/Forum2/GetLatestMembersGETnonedomain, limit?Latest registered members
/Forum2/GetCategoriesGETnonedomain, uid?Get forum categories (user-subscribed or all)
/Forum2/GetAllTopicsGETnone-List all forum topics
/Forum2/GetTopicrowGETnoneslugGet single topic by slug
/Forum2/GetTopicsGETnonedomain, topic?, limit?Get topics or posts within a topic
/Forum2/GetDiscussionsGETnonedomain, topic_id?Get discussion topics with subtopic counts
/Forum2/SubscribeTopicsPOSTnonetopics (comma IDs), member_idSubscribe member to topics
/Forum2/GetPostsGETnonedomain, topic_id?, limit?, page?Get posts (paginated) with comment counts
/Forum2/GetPostrowGETnoneslug (id-slug-text)Get single post by ID+slug
/Forum2/PostTopicPOSTnonetitle, description, topic_id, member_id, domainCreate new forum post
/Forum2/ViewCommentsGETnonepost_idGet comments for a post
/Forum2/PostCommentPOSTnonepost_id, comment, member_idAdd comment to a post
/Forum2/VotePOSTnonepost_id, vote (up|down)Vote on a post
/Forum2/GetViewsCountGETnonepost_idIncrement and get view count
/Forum2/GetTopGETnonedomain, limit?Top posts by votes and comments
/Forum2/GetTrendingGETnonedomain, limit?Trending posts (last 7 days, by views)
/Forum2/GetRecentGETnonedomain, limit?Most recent posts
/Forum2/SearchGETnonedomain, keyword, limit?Search posts by title/description
/Forum2/TagGETnonedomain, tag, limit?Find posts by tag