To manage uploads a Media Root is added to a Workspace. Multiple Media Roots are supported but uploads will default to the first Media Root found.
alinea.workspace('Main workspace', {
media: alinea.media()
// ...
})
Media Roots should be defined within a Workspace.