FullFact / health-misinfo-shared

Raphael health misinformation project, shared by Full Fact and Google
MIT License
0 stars 0 forks source link

Create UI #17

Closed scoltman closed 4 months ago

scoltman commented 4 months ago

This work depends on #11

Create a simple UI that allows users to:

UI will be based on the following api contract:

GET /transcripts
200, [{
  id: string
  title: string
  url: string
}]

POST /transcripts 
201, {
  id: string
}

GET /transcripts/<string:id>
200, {
  id: string
  title: string
  url: string
  metadata: string
  transcript: string
}

404, ""

DELETE /transcripts/<string:id>
204, ""

GET /transcripts/<string:id>/status
200, {
  status: string (done|processing|error)
}

404, ""

GET /inferred_claims/<string:id>
200, [{
  id: number
  video_id: text
  claim: text
  label: text
  model: text
  offset_ms: number
}]