site yet to be completed

التحويلات

GET https://anon.cat/api/transfers/
curl --request GET \
--url 'https://anon.cat/api/transfers/' \
--header 'Authorization: Bearer {api_key}' \
المعلمات تفاصيل وصف
page اختياري عدد صحيح رقم الصفحة التي تريد النتائج منها. الافتراضي هو 1.
results_per_page اختياري عدد صحيح كم عدد النتائج التي تريدها لكل صفحة. القيم المسموح بها هي: 10 , 25 , 50 , 100 , 250 , 500 , 1000. الافتراضي هو 25.
{ "data": [ { "id": 1, "user_id": 1, "project_id": 0, "uploader_id": "f528764d624db129b32c21fbca0cb8d6", "pixels_ids": [], "files_ids": [ 1,2,3 ], "name": "Example", "description": "Example", "type": "link", "email_to": null, "url": "example", "settings": { "password": null, "file_encryption_is_enabled": false, "file_preview_is_enabled": true, "is_removed_branding": false, "custom_css": "tester", "custom_js": "" }, "notifications": { "download": [] }, "total_files": 1, "total_size": 999999, "pageviews": 1, "downloads": 1, "downloads_limit": 0, "expiration_datetime": null, "last_datetime": null, "datetime": "2025-05-19 07:37:09" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://anon.cat/api/transfers?&page=1", "last": "https://anon.cat/api/transfers?&page=1", "next": null, "prev": null, "self": "https://anon.cat/api/transfers?&page=1" } }
GET https://anon.cat/api/transfers/{transfer_id}
curl --request GET \
--url 'https://anon.cat/api/transfers/{transfer_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "user_id": 1, "project_id": 0, "uploader_id": "f528764d624db129b32c21fbca0cb8d6", "pixels_ids": [], "files_ids": [ 1,2,3 ], "name": "Example", "description": "Example", "type": "link", "email_to": null, "url": "example", "settings": { "password": null, "file_encryption_is_enabled": false, "file_preview_is_enabled": true, "is_removed_branding": false, "custom_css": "tester", "custom_js": "" }, "notifications": { "download": [] }, "total_files": 1, "total_size": 999999, "pageviews": 1, "downloads": 1, "downloads_limit": 0, "expiration_datetime": null, "last_datetime": null, "datetime": "2025-05-19 07:37:09" } }
POST https://anon.cat/transfer/create_api
المعلمات تفاصيل وصف
uploaded_files مطلوب مصفوفة عدد صحيح مجموعة تحتوي على معرفات UUID لجميع الملفات المرفوعة ليتم إرفاقها في هذا النقل.
type اختياري سلسلة القيم المسموح بها: link , email
email_to اختياري سلسلة متاح عندما: type = email
name اختياري سلسلة -
description اختياري سلسلة -
url اختياري سلسلة -
domain_id اختياري عدد صحيح -
project_id اختياري عدد صحيح -
pixels_ids اختياري مصفوفة عدد صحيح -
download_notification_handlers_ids اختياري مصفوفة عدد صحيح -
expiration_datetime اختياري سلسلة Y-m-d H:i:s
downloads_limit اختياري عدد صحيح -
password اختياري سلسلة -
file_encryption_is_enabled اختياري منطقي -
file_preview_is_enabled اختياري منطقي -
is_removed_branding اختياري منطقي -
custom_css اختياري سلسلة -
custom_js اختياري سلسلة -
curl --request POST \
--url 'https://anon.cat/transfer/create_api' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'uploaded_files[]=de09be56-639f-4213-863b-5ea1aa065970' \
--form 'name=Example name' \
--form 'description=Example description' \
{ "data": { "id": 1, "download_url": "https://anon.cat/transfer-redirect/1", "view_url": "https://anon.cat/transfer/1", } }
POST https://anon.cat/api/transfers/{transfer_id}
المعلمات تفاصيل وصف
name اختياري سلسلة -
description اختياري سلسلة -
url اختياري سلسلة -
domain_id اختياري عدد صحيح -
project_id اختياري عدد صحيح -
pixels_ids اختياري مصفوفة عدد صحيح -
download_notification_handlers_ids اختياري مصفوفة عدد صحيح -
expiration_datetime اختياري سلسلة Y-m-d H:i:s
downloads_limit اختياري عدد صحيح -
file_preview_is_enabled اختياري منطقي -
is_removed_branding اختياري منطقي -
custom_css اختياري سلسلة -
custom_js اختياري سلسلة -
curl --request POST \
--url 'https://anon.cat/api/transfers/{transfer_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=transfer.com' \
{ "data": { "id": 1 } }
DELETE https://anon.cat/api/transfers/{transfer_id}
curl --request DELETE \
--url 'https://anon.cat/api/transfers/{transfer_id}' \
--header 'Authorization: Bearer {api_key}' \