-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: jld3103 <[email protected]>
- Loading branch information
1 parent
c1016d8
commit 77a5560
Showing
2 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"openapi": "3.0.3", | ||
"info": { | ||
"title": "sharebymail", | ||
"version": "0.0.1", | ||
"description": "Share provider which allows you to share files by mail", | ||
"license": { | ||
"name": "agpl" | ||
} | ||
}, | ||
"components": { | ||
"securitySchemes": { | ||
"basic_auth": { | ||
"type": "http", | ||
"scheme": "basic" | ||
}, | ||
"bearer_auth": { | ||
"type": "http", | ||
"scheme": "bearer" | ||
} | ||
}, | ||
"schemas": { | ||
"Capabilities": { | ||
"type": "object", | ||
"required": [ | ||
"files_sharing" | ||
], | ||
"properties": { | ||
"files_sharing": { | ||
"type": "object", | ||
"required": [ | ||
"sharebymail" | ||
], | ||
"properties": { | ||
"sharebymail": { | ||
"type": "object", | ||
"required": [ | ||
"enabled", | ||
"send_password_by_mail", | ||
"upload_files_drop", | ||
"password", | ||
"expire_date" | ||
], | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"send_password_by_mail": { | ||
"type": "boolean" | ||
}, | ||
"upload_files_drop": { | ||
"type": "object", | ||
"required": [ | ||
"enabled" | ||
], | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"password": { | ||
"type": "object", | ||
"required": [ | ||
"enabled", | ||
"enforced" | ||
], | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"enforced": { | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"expire_date": { | ||
"type": "object", | ||
"required": [ | ||
"enabled", | ||
"enforced" | ||
], | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"enforced": { | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"paths": [], | ||
"tags": [] | ||
} |