addProject

@PostMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY", headers = [])
open fun addProject(@PathVariable(value = "id") id: String, @RequestHeader(value = "token") token: String, @ModelAttribute payload: ProjectsHelper.ProjectPayload): String

Method to add a project

Return

the result of the request as String

Parameters

id

: the identifier of the user

token

: the token of the user

payload

: payload of the request


             {
                 "logoUrl": "the logo of the project path", -> [String]
                 "name": "the project name" -> [String],
                 "projectMembers": "the identifiers of the members", -> [List of String]
             }