Open
Description
ACs:
- FAB in Spaces view
- Dialog or view to create it, with the following inputs :
- Name (required)
- Subtitle
- Quota -> the easiest way. No limit is also a value (check server) - Restrictions for space name (don't apply to subtitle):
- Space name cannot be empty
- Space name cannot exceed 255 characters
- Space name cannot contain the following characters: / \ . : ? * " > < |' - Only for users with
space admin
oradmin
roles ("Drives.Create.all")
Base request:
POST https://<server>/graph/v1.0/drives
(https://owncloud.dev/libre-graph-api/#/drives/CreateDrive)
(iOS team uses POST https://<server>/graph/v1.0/drives?template=default
, any difference?)
with body:
{
"description": "my space",
"name": "Space request",
"quota": {
"total": 1000000000
}
}
There is no information about error handling, so if any error would happen, it'd be enough showing a generic error message.
TASKS
- Research (if needed)
- Create branch feature/create_new_space
- Development tasks
- Implement whatever
- ...
- Implement unit tests (if needed)
- Code review and apply changes requested
- Design test plan
- QA
- Merge branch feature/create_new_space into master