Fetch a report
GET
/ask/report/{id}
const url = 'https://api.getchord.xyz/v1/ask/report/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 https://api.getchord.xyz/v1/ask/report/exampleThe note as HTML, or Markdown with a .md suffix. Public by unguessable id, seven days.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
Report id, optionally with .md.
Responses
Section titled “ Responses ”text/html or text/markdown.
string
string
Nothing at this identity (NOT_FOUND, UNKNOWN_TOKEN, NO_ROUTE).
Media typeapplication/json
Every non-2xx body.
object
error
required
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
string
message
For humans.
string
statusCode
HTTP status, when included.
integer
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}