Create a new project

Creates a project in elabjournal and provide labels as well as meta data to the project. The only hard requirement is that a project musthave a name, both labels and metadata are optional additions. If metadata is provided, the name field is a required paramater. Options for metadata types is either FILE or TEXT.

Example:

{
'name': 'mytestproject', 
'longname': 'mytestprojectlong',
'description': 'my test description',
'notes': 'my test notes',
'label': [
	'label1',
	'label2',
	],
'projectMeta': [
		{
		'name': 'testmeta',
		'value': 'test meta value',
		'metatype': 'TEXT',
		}
	]
}```
Body Params
string
string
string
string
label
array of strings
label
projectMeta
array of objects
projectMeta
Headers
string
Defaults to Swagger
Responses
200

The project was successfully created

400

Your querry has malformed parameters

401

You don't have permission to update metaFiles

404

While creating the project data was corrupted and could not be retrieved from the database

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here!