İçeriğe geç

/v1/attachments

POST
/v1/attachments
curl --request POST \
--url https://api.ornek.com/v1/attachments \
--header 'Content-Type: multipart/form-data' \
--form file=@file
Media typemultipart/form-data
object
file
string format: binary

Created

object
data
One of:
object
id
required
/^-?(?:0|[1-9]\d*)$/
objectKey
required
string
originalFileName
required
string
contentType
required
string
fileSize
required
/^-?(?:0|[1-9]\d*)$/
createdAt
required
string format: date-time
success
boolean
error
One of:
object
status
/^-?(?:0|[1-9]\d*)$/
code
string
nullable
details
message
string