⚠️ This documentation is not complete and will change. Documentation and API References are actively being updated.
curl --request GET \
--url https://api.propops.app/api/admin/orphaned-files \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Operation completed successfully",
"data": [
{
"path": "<string>",
"size": 123,
"modified_at": "2023-11-07T05:31:56Z"
}
],
"total_size": 123,
"total_count": 123
}Scans upload directories for files not referenced in the database. Required permission: api.admin.orphaned_files.manage
curl --request GET \
--url https://api.propops.app/api/admin/orphaned-files \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Operation completed successfully",
"data": [
{
"path": "<string>",
"size": 123,
"modified_at": "2023-11-07T05:31:56Z"
}
],
"total_size": 123,
"total_count": 123
}All API requests must include a valid Bearer token in the Authorization header.
Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.
Example:
Authorization: Bearer a1b2c3d4e5f6...scan