My Account Subscribe Help About
Sign In | Register FREE
Tuesday, April 28, 2026
King to defend 'democratic values' as US state visit beginsStarmer faces vote on inquiry over Mandelson vetting claimsSuspect charged with attempted assassination of Trump at Washington dinnerPolitical violence jolts the US once again - with a familiar responseMy tenant owes £15,000 in rent, but I can't get them out of the propertyRussian superyacht sails through Strait of Hormuz despite blockadeWhen Attenborough met the gorillas - the story behind his iconic TV momentTerror trial to begin for man accused of plotting attack on Taylor Swift concertFigures show rise in suicides after domestic abuseMan who murdered British dad in Australia declared mentally unfit for trialMan pleads guilty to murder two decades after death of Run DMC's Jam Master JayMelania Trump urges ABC to 'take stand' on Jimmy Kimmel after widow jokeIn pictures: King Charles and Queen Camilla begin US state visitNewspaper headlines: 'United King Don' and 'PM battles to block sleaze vote'Why 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'Babies among those tied up and allegedly abused in Indonesia childcare centre'My husband might give up work to care for our kids' - nursery bills in Wales highest in BritainHow Kenya's Sabastian Sawe broke the two-hour barrier at London MarathonRescuers race to free survivors trapped inside train after fatal Indonesia crashRebel Wilson says claims she bullied women on her film are 'absolute nonsense'Claire's closes all 154 stores in UK and Ireland with loss of 1,300 jobsIS claims responsibility for Nigeria attack that killed 29 peopleExecutions in North Korea ramped up significantly during pandemic - reportTaylor Swift files to trademark voice and image after AI concernsDeal 'within sight' to end year-long Birmingham bin strike, says council leaderBBC 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 Utd

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.