Naar hoofdinhoud gaan
POST
/
v1
/
files
/
{file_id}
/
complete
Voltooi Bestand Upload
curl --request POST \
  --url https://api.olostep.com/v1/files/{file_id}/complete \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "filename": "<string>",
  "bytes": 123,
  "purpose": "<string>",
  "status": "<string>"
}

Autorisaties

Authorization
string
header
vereist

Bearer authenticatie header in de vorm Bearer , waar jouw auth token is.

Padparameters

file_id
string
vereist

Unieke identificatie voor het bestand om te voltooien.

Respons

Bestand upload succesvol voltooid.

id
string

Bestand ID

object
string

Het soort object. "file" voor deze endpoint.

created
integer

Gemaakt epoch-tijdstempel

filename
string

De bestandsnaam van het geüploade bestand

bytes
integer

Bestandsgrootte in bytes

purpose
string

Het doel van het bestand

status
string

Bestandsstatus. Zal 'completed' zijn na succesvolle voltooiing.