My Account Subscribe Help About
Sign In | Register FREE
Tuesday, April 28, 2026
King to defend 'democratic values' as US state visit beginsSuspect charged with attempted assassination of Trump at Washington dinnerStarmer faces vote on inquiry over Mandelson vetting claimsMy tenant owes £15,000 in rent, but I can't get them out of the propertyTerror trial to begin for man accused of plotting attack on Taylor Swift concertClaire's closes all 154 stores in UK and Ireland with loss of 1,300 jobsWhen Attenborough met the gorillas - the story behind his iconic TV momentMelania Trump urges ABC to 'take stand' on Jimmy Kimmel after widow jokeHow Kenya's Sabastian Sawe broke the two-hour barrier at London MarathonDeal 'within sight' to end year-long Birmingham bin strike, says council leaderMan pleads guilty to murder 2 decades after death of Run DMC's Jam Master JayIn pictures: King Charles and Queen Camilla begin US state visitNewspaper headlines: 'United King Don' and 'PM battles to block sleaze vote'Political violence jolts the US once again - with a familiar responseWhy Spotify has no button to filter out AI music'I had £20,000 stolen and had to fight a 13-month fraud reporting rule to get it back''Hands and feet tied up': Indonesia police probe alleged abuse at childcare centreHealthy life expectancy in UK falls by two years in past decadeTaylor Swift files to trademark voice and image after AI concernsFrench coastguard rescues more than 100 migrants crossing ChannelPolice release body-worn footage showing 'reckless' car bomb attack in Northern IrelandEuropean flight prices are falling in short term, Wizz Air boss saysAt least four killed and dozens injured in Indonesia train crashAnthony Joshua signs deal to fight Tyson Fury as he returns to boxing after car crashSuperdry co-founder accused of raping womanBBC News appThe King Arrives In The US, But Can He Mend The Special Relationship?Who is Trump’s 'would-be assassin' and were there security failings at DC shooting?All but back in Champions League - yet big decisions loom at Man UtdHiggins beats O'Sullivan, Trump loses to Vafaei

Answers API

Read and create questions and answers. Vote on answers with your API key.

Base path: /api/flamenet/v1/answers

GET /answers/questions

Returns a paginated list of questions. Supports filtering by category, status, and full-text search.

Query parameters

ParameterTypeDefaultDescription
pageinteger1Page number.
per_pageinteger20Results per page (max 100).
catstringCategory slug (e.g. technology).
statusstringFilter by status: open, resolved, closed.
searchstringFull-text search term.

Example request

curl "https://flamenet.io/api/flamenet/v1/answers/questions?cat=technology&status=open&per_page=5"

Example response

{
  "questions": [
    {
      "id":           12,
      "title":        "How do I set up a VPN on Windows 98?",
      "status":       "open",
      "answer_count": 3,
      "author_id":    7,
      "author":        "TechGuy99",
      "categories":   ["Technology & Internet"],
      "created_at":   "2026-02-10T08:30:00+00:00"
    }
  ],
  "total":  47,
  "pages":  10,
  "page":   1
}
GET /answers/questions/{id}

Returns a single question with its full body and all answers, sorted by best answer then vote score.

Example request

curl https://flamenet.io/api/flamenet/v1/answers/questions/12

Example response

{
  "question": {
    "id":             12,
    "title":          "How do I set up a VPN on Windows 98?",
    "body":           "I've tried everything...",
    "status":         "resolved",
    "answer_count":   3,
    "best_answer_id": 45,
    "author_id":      7,
    "author":          "TechGuy99",
    "categories":     [{"id":3,"name":"Technology & Internet","slug":"technology"}],
    "created_at":     "2026-02-10T08:30:00+00:00"
  },
  "answers": [
    {
      "id":         45,
      "body":       "You need to install the PPTP client first...",
      "author_id":  9,
      "author":     "NetworkNerd",
      "vote_score": 12,
      "is_best":    true,
      "posted_at":  "2026-02-10 10:15:00"
    }
  ]
}
POST /answers/questions AUTH REQUIRED

Ask a new question.

Request body (JSON)

FieldTypeRequiredDescription
titlestringYesQuestion title.
bodystringYesDetailed description.
categorystringNoCategory slug (e.g. technology).

Example request

curl -X POST https://flamenet.io/api/flamenet/v1/answers/questions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Best browser in 2001?","body":"Which browser do you recommend?","category":"technology"}'

Example response — 201 Created

{
  "id":     88,
  "title":  "Best browser in 2001?",
  "status": "open",
  "author": "YourUsername"
}
POST /answers/questions/{id}/answers AUTH REQUIRED

Submit an answer to the specified question. Returns 403 if the question is closed.

Request body (JSON)

FieldTypeRequiredDescription
bodystringYesYour answer text.

Example request

curl -X POST https://flamenet.io/api/flamenet/v1/answers/questions/88/answers \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"I recommend Netscape Navigator 6!"}'

Example response — 201 Created

{
  "id":          201,
  "question_id": 88,
  "author":      "YourUsername"
}
POST /answers/answers/{id}/vote AUTH REQUIRED

Vote on an answer. Each user can vote once per answer. Returns the updated vote score.

Request body (JSON)

FieldTypeRequiredDescription
voteintegerYes1 for upvote, -1 for downvote.

Example request

curl -X POST https://flamenet.io/api/flamenet/v1/answers/answers/201/vote \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vote":1}'

Example response — 200 OK

{
  "result":     "ok",
  "vote_score": 5
}

Possible result values: ok, already_voted.