sources

Create Source Upload

Create a new source from a uploaded file, the source_data must be of type : DocumentUploadData. Supportet formates are currently: ["hwp", "pdf", "docx", "pptx", "jpg", "png", "jpeg", "csv", "epub", "md", "mbox", "eml", "html", "json", "txt"]. A Source is allways associated with an insight and can not be created without an insight. Accepts Insight ID (ins_) and SourceCreate Schema as input.

post/insight/{insight_id}/source/upload

Request

  • Base URL: https://api.overfit.de (the document declares no server; this is the origin it was published from)
  • URL: https://api.overfit.de/insight/{insight_id}/source/upload
  • Auth: one of:
    • OpenID Connect (https://auth.okns.de/realms/overfit-products/.well-known/openid-configuration)
    • API key in header X-API-Key

Path parameters

insight_idstring required

Response

Successful Response

idstring required
namestring nullable
descriptionstring nullable
insight_idstring required
time_createdstring date-time required
source_type'WEBSITE' | 'REMOTE_DOCUMENT' | 'SEARCH' | 'DOCUMENT_UPLOAD' required
publicboolean
keywordsstring nullable
pathstring required
lengthinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.