API for contests?
- 11 years ago
Contests are a "style" of board: "forum", "blog", "idea", "contest", "qanda", "review", etc. are all board "Conversation Styles" (we used to call this "Interaction Styles" or "Discussion Styles"). We have API calls to select messages or threads for a given board by the board's ID:
Topics in a board, sorted by most recent first: http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?leaf-id=Board.topics#Board.topics.recent
Replies in a board, sorted by most recent first: http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?leaf-id=Board.replies#Board.replies.recent
Posts (topics + replies) in a board, sorted by most recent first: http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?leaf-id=Board.posts#Board.replies.posts
"popular" is a concept that only applies to threads -- here is the call to get popular threads:
Possibly related: If you need to find the list of all "contest" boards in the community:
http://community.lithium.com/restapi/vc/boards/style/contest/nested