/
How to create a Project and Workspace
How to create a Project and Workspace
You can create a project and workspace through Quadriga's API.
Step-by-Step guide
The REST endpoint to add new projects and workspaces is provided at: http://your.quadriga.instance/rest/network
- Make a POST request the endpoint.
- The payload of your request should have the following format:
- The root element of the XML is project. That element can have an attribute id that contains a project id. This project id does not have to exist. If it doesn't exist, Quadriga will create a new project.
- project has one subelement: details.
- The details part contains information about the project and workspace to be created and about the client making the request. The following subelements can be specified:
- <user_name>: The name of the user submitting the request on client side.
- <user_id>: The username of the user submitting the request on client side. (The user does not have to have an account in Quadriga.)
- <name>: If the project doesn't exist, this element can be used to specify a project name. If a project with the provided ID already exists, then this element is ignored.
- <workspace>: Use this element to specify a workspace. Use an id attribute to specify the id of the workspace. If such a workspace doesn't exist, then Quadriga will create a new workspace. Use the content of the workspace tag to specify the name of a new workspace.
- <sender>: A designator for the client that is sending the request.
- Add a header parameter: Accept = application/xml
- Submit your request.
- If the upload is successful, an XML response is returned containing the following tags: projectId, projectName, workspaceId, and workspaceName.
, multiple selections available,
Related content
How to upload a network to Quadriga with Project and Workspace Info
How to upload a network to Quadriga with Project and Workspace Info
More like this
How to upload text to Quadriga through rest interface
How to upload text to Quadriga through rest interface
More like this
DEPRECATED: How to upload a network to Quadriga
DEPRECATED: How to upload a network to Quadriga
More like this
Setting up your Quadriga development environment (Java)
Setting up your Quadriga development environment (Java)
More like this
User Accounts
User Accounts
More like this
Getting started
Getting started
More like this