all content, endpoints, and code provided by this API are licensed under the GNU Affero General Public License v3 (AGPL-3.0).
By accessing or using this API, you agree to comply with the terms of the AGPLv3.
For more details, please read the full license at GNU AGPLv3.
Authorization: ********************
{
"paths": [
"/document.pdf",
"/folder"
],
"password": "",
"expiration": "2025-12-31T23:59:59Z"
}
curl --location --request POST '/api/share/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"paths": [
"/document.pdf",
"/folder"
],
"password": "",
"expiration": "2025-12-31T23:59:59Z"
}'
{
"code": 200,
"message": "success",
"data": {
"id": "string",
"url": "string"
}
}