project
v1
POST /api/v1/project/projects/{id}/search_similar_text_units/
Changed onRequest
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
A unique integer value identifying this project.
Request body
Example request
{
"use_tfidf": false,
"location_start": 5,
"distance_type": "cosine",
"item_id": 6,
"similarity_threshold": 0,
"location_end": 5,
"unit_type": "sentence",
"document_id": 1,
"run_name": "run_name",
"create_reverse_relations": true,
"delete": true
}Response
Example response
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}Changes
- breaking
removed the enum value
wminkowskiof the request property(media type: application/json) - breaking
removed the enum value
wminkowskiof the request property(media type: application/x-www-form-urlencoded) - breaking
removed the enum value
wminkowskiof the request property(media type: multipart/form-data) - info
added the new
kulczynski1enum value to the request property(media type: application/json) - info
added the new
kulczynski1enum value to the request property(media type: application/x-www-form-urlencoded) - info
added the new
kulczynski1enum value to the request property(media type: multipart/form-data)
- breaking
- info
endpoint added
- info