跳转到主要内容
POST
/
v1
/
answers
Antwort erstellen
curl --request POST \
  --url https://api.olostep.com/v1/answers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "task": "<string>",
  "json_format": {}
}
'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "metadata": {},
  "task": "<string>",
  "result": {
    "json_content": "<string>",
    "json_hosted_url": "<string>"
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
task
string
必填

Die auszuführende Aufgabe.

json_format
object

Das gewünschte Ausgabe-JSON-Objekt mit leeren Werten als Schema oder einfach die Daten, die Sie als String wünschen, beschreiben.

响应

Erfolgreiche Antwort mit der Antwort.

id
string
object
string
created
integer
metadata
object
task
string
result
object