class WorkspacesController extends ActionController (View source)

REST service for workspaces

Properties

protected WorkspaceRepository $workspaceRepository
protected UserService $userService
protected array $viewFormatToObjectNameMap
protected array $supportedMediaTypes

A list of IANA media types which are supported by this controller

Methods

string
indexAction()

Shows a list of existing workspaces

string
showAction(Workspace $workspace)

Shows details of the given workspace

string
createAction(string $workspaceName, Workspace $baseWorkspace, string $ownerAccountIdentifier = null)

Create a workspace

void
initializeUpdateAction()

Configure property mapping for the updateAction

void
updateAction(Workspace $workspace)

Updates a workspace

Details

string indexAction()

Shows a list of existing workspaces

Return Value

string

string showAction(Workspace $workspace)

Shows details of the given workspace

Parameters

Workspace $workspace

Return Value

string

string createAction(string $workspaceName, Workspace $baseWorkspace, string $ownerAccountIdentifier = null)

Create a workspace

Parameters

string $workspaceName
Workspace $baseWorkspace
string $ownerAccountIdentifier

Return Value

string

void initializeUpdateAction()

Configure property mapping for the updateAction

Return Value

void

void updateAction(Workspace $workspace)

Updates a workspace

Parameters

Workspace $workspace

The updated workspace

Return Value

void