sources

Create Source

Create a new source. 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

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
  • 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

Request body

namestring nullable
descriptionstring nullable
publicboolean

Example request

{
  "name": "Wikipedia Article",
  "source_data": {
    "source_type": "WEBSITE",
    "url": "https://en.wikipedia.org/wiki/Example"
  }
}

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.