curl --request POST \
--url http://localhost/api/v1/documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"name": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"meta": {},
"source_uri": "<string>",
"source_date": "2023-12-25",
"source_name": "<string>",
"source_title": "<string>",
"text": "<string>"
}'
"<any>"
curl --request POST \
--url http://localhost/api/v1/documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"name": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"meta": {},
"source_uri": "<string>",
"source_date": "2023-12-25",
"source_name": "<string>",
"source_title": "<string>",
"text": "<string>"
}'
"<any>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type any
.