First time here? Check out the FAQ!
3

What features should be in the API of a Q&A forum?
 

Hello, could you share some ideas - what are the most valuable features in that you'd like to see in the API for a Q&A forum?

Thanks!

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, asked 14 years ago

Comments

see more comments

4 Answers

6

For a read only API the Yahoo! Answers API

probably is a good start:

  • questionSearch
  • getByCategory (getByTag in askbot)
  • getQuestion
  • getByUser

A read/write API could encourage a android or iPhone app developer to write a mobile client on top of that. Sth. like

  1. questionSearch (to check if it was already asked),
  2. authenticate,
  3. postQuestion,
  4. getQuestion (for the answers) and
  5. vote/rate/choose best answer

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jens's avatar
106
jens
answered 14 years ago
link

Comments

Hey, thanks. This is a really good pointer.
Evgeny's avatar Evgeny (14 years ago)

What is the status of API support for askbot ?

kirantpatil's avatar kirantpatil (12 years ago)
see more comments
2

Different Users, communities have different API requirements, in the way they want to expose their resources. So there can never be a 'one fit all' solution from askbot side. Also an askbot site that runs askbot will have lots of Rich Data overtime, which can be monetized by exposing a solid RESTful API. And only the Askbot site owners will best know - what to and what NOT to expose, to other developers and partners.

So in my view, the API for Askbot, should be very loosely coupled, like a managed API server. It is good, if the design pattern encourages such things. If you think as a network engineer, a managed API also serves as a load balancer to a larger extent, intelligently cache same requests (doing things like memcached for API requests). This will not slow down and affect the Site APP server anytime.

We need all such good design patterns for the API and this is a huge topic to debate. We might also need things like Webhooks.

Please see all the managed API companies - APIgee, emergentone.com and Heroku's managed api's to setup an externally managed API. They do API management for any DB. In short - they give and manage an API server for your APP. So its super easy to expose, control (authorize, manage resource access control) and also scale your API server on more requests. Do check in detail the services they all offer, you will appreciate my points of view.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
pajju's avatar
565
pajju
answered 12 years ago, updated 12 years ago
link

Comments

see more comments
1

I would like to see something to fetch the n most recently-updated questions.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
todofixthis's avatar
1.3k
todofixthis
answered 12 years ago
link

Comments

Me too.Just to be able to embed X-number of forum posts automatically in main website or blog.

finid's avatar finid (12 years ago)

It's available in the repository version and the hosted sites. Log in under one of admin user accounts and click "widgets" link.

Evgeny's avatar Evgeny (12 years ago)

@Evgeny, where's the hosted site and admin account?

finid's avatar finid (12 years ago)
see more comments
0

the status of API support for askbot is getUsers and getQuestions.But I want questionSearch and getUserInbox from the api.@Evgeny Does any api can meet my needs?or How can I develop from my webcode?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Andy's avatar
120
Andy
answered 8 years ago, updated 8 years ago
link

Comments

see more comments