/attachments
POST
/attachmentsUpload your file directly to Thinkeo using a POST Attachment request, then use the returned URL in your publication request. Specify your Content-Type header matching your file type.
Request
Query Params
filename
string
required
sha1
string | null
optional
type
optional
Any of
Allowed values:
ReferenceDocumentRagDocument
Header Params
content-type
string
required
Body Params application/octet-stream
Not configured
Request samples
Responses
OK(200)
Bad Request(400)
413(413)
415(415)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
filename
string
required
id
string <uuid>
required
sha1
array[integer] | null
optional
url
string <uri>
required
Example
{
"filename": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"sha1": [
0
],
"url": "http://example.com"
}
Last modified: 11 days ago