Get Thesis
GET
/theses/{thesis_id}
const url = 'http://127.0.0.1:8000/theses/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8000/theses/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”thesis_id
required
Thesis Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
ThesisSnapshot
object
claims
required
Claims
Array<object>
ThesisClaimobject
claim_id
required
Claim Id
string
evidence_refs
Evidence Refs
Array<string>
falsifiers
Falsifiers
Array<string>
rationale
required
Rationale
string
statement
required
Statement
string
company
required
Company
string
thesis_id
required
Thesis Id
string
version
required
Version
integer
Examplegenerated
{ "claims": [ { "claim_id": "example", "evidence_refs": [ "example" ], "falsifiers": [ "example" ], "rationale": "example", "statement": "example" } ], "company": "example", "thesis_id": "example", "version": 1}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}