{"swagger":"2.0","info":{"version":"v0","title":"HacknPlan API Beta","description":"Public API for the HacknPlan service."},"host":"api.hacknplan.com","schemes":["https"],"paths":{"/v0/projects/{projectId}/boards/{boardId}":{"get":{"tags":["Boards"],"summary":"Gets a board.","operationId":"Board_GetBoard","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project the board belongs to.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"path","description":"The unique identifier of the board.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A board object.","schema":{"$ref":"#/definitions/board"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Boards"],"summary":"[ADMIN] Updates the board.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null. Use this method to remove values from board fields.","operationId":"Board_UpdateBoard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"path","description":"The unique identifier of the board.","required":true,"type":"integer","format":"int32"},{"name":"updateBoardValues","in":"body","description":"The board update values object.","required":true,"schema":{"$ref":"#/definitions/updateBoardValues"}}],"responses":{"200":{"description":"The updated board object.","schema":{"$ref":"#/definitions/board"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Boards"],"summary":"[ADMIN] Deletes the board.","operationId":"Board_DeleteBoard","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"path","description":"The unique identifier of the board.","required":true,"type":"integer","format":"int32"},{"name":"removeWorkItems","in":"query","description":"True to delete the contained work items, false to move them to the backlog. Defaults to false.","required":false,"type":"boolean"}],"responses":{"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"patch":{"tags":["Boards"],"summary":"[ADMIN] Updates the board partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Board_PatchBoard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"path","description":"The unique identifier of the board.","required":true,"type":"integer","format":"int32"},{"name":"patchBoardValues","in":"body","description":"The board patch values object.","required":true,"schema":{"$ref":"#/definitions/patchBoardValues"}}],"responses":{"200":{"description":"The updated board object.","schema":{"$ref":"#/definitions/board"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/boards":{"get":{"tags":["Boards"],"summary":"Gets the list of boards in the project.","operationId":"Board_GetBoards","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"includeClosed","in":"query","description":"True to include the closed boards in the result. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"A list of board objects.","schema":{"type":"array","items":{"$ref":"#/definitions/board"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Boards"],"summary":"[ADMIN] Creates a new board.","operationId":"Board_CreateBoard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createBoardValues","in":"body","description":"The board creation values object.","required":true,"schema":{"$ref":"#/definitions/createBoardValues"}}],"responses":{"201":{"description":"A newly created board object.","schema":{"$ref":"#/definitions/board"}},"400":{"description":"Invalid values object."},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/boards/{boardId}/closure":{"post":{"tags":["Boards"],"summary":"[ADMIN] Closes the board.","operationId":"Board_CloseBoard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"path","description":"The unique identifier of the board.","required":true,"type":"integer","format":"int32"},{"name":"closeBoardValues","in":"body","description":"The board closing values object.","required":true,"schema":{"$ref":"#/definitions/closeBoardValues"}}],"responses":{"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The board is already closed."}}},"delete":{"tags":["Boards"],"summary":"[ADMIN] Reonpens the board.","operationId":"Board_ReopenBoard","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"path","description":"The unique identifier of the board.","required":true,"type":"integer","format":"int32"}],"responses":{"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Resource not found."},"409":{"description":"The board is already open."}}}},"/v0/projects/{projectId}/boards/default":{"post":{"tags":["Boards"],"summary":"[ADMIN] Sets the default board for the project.","operationId":"Board_SetDefaultBoard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"body","description":"The unique identifier of the board.","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The board is closed."}}},"delete":{"tags":["Boards"],"summary":"[ADMIN] Clears the default board of the project.","operationId":"Board_ClearDefaultBoard","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/boards/{boardId}/metrics":{"get":{"tags":["Boards"],"summary":"Gets the board metrics.","operationId":"Board_GetBoardMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"path","description":"The unique identifier of the board.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"query","description":"The unique identifier of the user.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A board metrics object.","schema":{"$ref":"#/definitions/metrics"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelements":{"get":{"tags":["Design Elements"],"summary":"Gets the game design model.","operationId":"GameDesignModel_GetGameDesignModel","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of design element objects.","schema":{"type":"array","items":{"$ref":"#/definitions/designElement"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Design Elements"],"summary":"Creates a new design element.","operationId":"GameDesignModel_CreateGameDesignElement","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"createDesignElementValues","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/createDesignElementValues"}}],"responses":{"201":{"description":"The new game design element object.","schema":{"$ref":"#/definitions/designElement"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelements/{designElementId}/metrics":{"get":{"tags":["Design Elements"],"summary":"Gets the metrics for the game design element.","operationId":"GameDesignModel_GetGameDesignModelMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"includeChildren","in":"query","description":"True if the result should sum up the metrics of the hierarchy of children elements. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"The game design model metrics object.","schema":{"$ref":"#/definitions/metrics"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelements/{designElementId}":{"get":{"tags":["Design Elements"],"summary":"Gets a design element.","operationId":"GameDesignModel_GetGameDesignElement","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"includeChildren","in":"query","description":"True to include the whole hierarchy of child elements in the result.","required":false,"type":"boolean"}],"responses":{"200":{"description":"The game design element object.","schema":{"$ref":"#/definitions/designElement"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Design Elements"],"summary":"Updates the design element.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"GameDesignModel_UpdateGameDesignElement","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"updateDesignElementValues","in":"body","description":"The design element update values object.","required":true,"schema":{"$ref":"#/definitions/updateDesignElementValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Design Elements"],"summary":"Deletes the design element.","operationId":"GameDesignModel_DeleteGameDesignElement","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"deleteDesignElementValues","in":"body","description":"The design element deletion values object.","required":true,"schema":{"$ref":"#/definitions/deleteDesignElementValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"patch":{"tags":["Design Elements"],"summary":"Updates the design element partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"GameDesignModel_PatchGameDesignElement","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"patchDesignElementValues","in":"body","description":"The design element patch values object.","required":true,"schema":{"$ref":"#/definitions/patchDesignElementValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelements/{designElementId}/attachments":{"get":{"tags":["Design Elements / Attachments"],"summary":"Gets a list of design element attachments with pagination.","operationId":"GameDesignModel_GetDesignElementAttachments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"The number of items skipped from the results. Defaults to 0. Min value 0.","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","description":"The max number of items included in the results, after the offset. Defaults to 20. Min value 1. Max value 100.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A paged list of design element attachment objects.","schema":{"$ref":"#/definitions/pagedResult<designElementAttachment>"}},"400":{"description":"Invalid offset and limit values."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Design Elements / Attachments"],"summary":"Creates a design element attachment from MIME multipart content.","description":"This endpoint requires the Content-type header set to multipart/form-data.","operationId":"GameDesignModel_CreateDesignElementAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"}],"responses":{"201":{"description":"A new design element attachment object.","schema":{"$ref":"#/definitions/designElementAttachment"}},"400":{"description":"File size limit exceeded."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"Account storage limit exceeded."},"415":{"description":"The content is not MIME multipart content."}}}},"/v0/projects/{projectId}/designelements/{designElementId}/attachments/{attachmentId}":{"get":{"tags":["Design Elements / Attachments"],"summary":"Gets a design element attachment.","operationId":"GameDesignModel_GetDesignElementAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"attachmentId","in":"path","description":"The unique identifier of the attachment","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A design element object.","schema":{"$ref":"#/definitions/designElementAttachment"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Design Elements / Attachments"],"summary":"Deletes a design element attachment.","operationId":"GameDesignModel_DeleteDesignElementAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"attachmentId","in":"path","description":"The unique identifier of the attachment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelements/{designElementId}/comments":{"get":{"tags":["Design Elements / Comments"],"summary":"Gets a list of design element comments with pagination.","operationId":"GameDesignModel_GetDesignElementComments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"The number of items skipped from the results. Defaults to 0. Min value 0.","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","description":"The max number of items included in the results, after the offset. Defaults to 20. Min value 1. Max value 100.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A paged list of design element comment objects.","schema":{"$ref":"#/definitions/pagedResult<designElementComment>"}},"400":{"description":"Invalid offset or limit parameters."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Design Elements / Comments"],"summary":"Creates a new comment in the design element.","operationId":"GameDesignModel_CreateDesignElementComment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"text","in":"body","description":"The text content of the comment. Max 5000 chars.","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"A new design element comment object.","schema":{"$ref":"#/definitions/designElementComment"}},"400":{"description":"Invalid comment text."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelements/{designElementId}/comments/{commentId}":{"put":{"tags":["Design Elements / Comments"],"summary":"Updates the design element comment.","description":"Only the author of the comment can update it.","operationId":"GameDesignModel_UpdateDesignElementComment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"commentId","in":"path","description":"The unique identifier of the comment.","required":true,"type":"integer","format":"int32"},{"name":"text","in":"body","description":"The text content of the comment. Max 5000 chars.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid comment text."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelement/{designElementId}/comments/{commentId}":{"delete":{"tags":["Design Elements / Comments"],"summary":"Deletes the design element comment.","description":"Only the author of the comment and admins can delete it.","operationId":"GameDesignModel_DeleteDesignElementComment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementId","in":"path","description":"The unique identifier of the design element.","required":true,"type":"integer","format":"int32"},{"name":"commentId","in":"path","description":"The unique identifier of the comment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/milestones/{milestoneId}":{"get":{"tags":["Milestones"],"summary":"Gets a milestone.","operationId":"Milestone_GetMilestone","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"milestoneId","in":"path","description":"The unique identifier of the milestone.","required":true,"type":"integer","format":"int32"},{"name":"includeBoards","in":"query","description":"True to return the list of boards in the milestones. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"A milestone object.","schema":{"$ref":"#/definitions/milestone"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Milestones"],"summary":"[ADMIN] Updates the milestone.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null. Use this method to remove values from milestone fields.","operationId":"Milestone_UpdateMilestone","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project the milestone belongs to.","required":true,"type":"integer","format":"int32"},{"name":"milestoneId","in":"path","description":"The unique identifier of the milestione within the project.","required":true,"type":"integer","format":"int32"},{"name":"updateMilestoneValues","in":"body","description":"The milestone update values object.","required":true,"schema":{"$ref":"#/definitions/updateMilestoneValues"}}],"responses":{"200":{"description":"The updated milestone object.","schema":{"type":"array","items":{"$ref":"#/definitions/milestone"}}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Milestones"],"summary":"[ADMIN] Deletes the milestone.","operationId":"Milestone_DeleteMilestone","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"milestoneId","in":"path","description":"The unique identifier of the milestone.","required":true,"type":"integer","format":"int32"},{"name":"deleteBoards","in":"query","description":"True to delete all the boards in the milestone, false to keep them without milestone assigned. Defaults to false.","required":false,"type":"boolean"},{"name":"deleteWorkItems","in":"query","description":"True to delete the work items in boards, if 'deleteBoards' is true. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Resource not found."}}},"patch":{"tags":["Milestones"],"summary":"[ADMIN] Updates the milestone partially.","description":"Only fields included in the values object will be updated, the rest will remain untouched.","operationId":"Milestone_PatchMilestone","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"milestoneId","in":"path","description":"The unique identifier of the milestone.","required":true,"type":"integer","format":"int32"},{"name":"patchMilestoneValues","in":"body","description":"The milestone patch values object.","required":true,"schema":{"$ref":"#/definitions/patchMilestoneValues"}}],"responses":{"200":{"description":"The updated milestone object.","schema":{"type":"array","items":{"$ref":"#/definitions/milestone"}}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/milestones":{"get":{"tags":["Milestones"],"summary":"Gets a list of the milestones in the project.","operationId":"Milestone_GetMilestones","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"includeBoards","in":"query","description":"True to include the boards in the milestone. Defaults to false.","required":false,"type":"boolean"},{"name":"includeClosed","in":"query","description":"True to include the closed boards in the result. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"A list of milestone objects.","schema":{"type":"array","items":{"$ref":"#/definitions/milestone"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Milestones"],"summary":"[ADMIN] Creates a new milestone.","operationId":"Milestone_CreateMilestone","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createMilestoneValues","in":"body","description":"The milestone creation values object.","required":true,"schema":{"$ref":"#/definitions/createMilestoneValues"}}],"responses":{"201":{"description":"A newly created milestone object.","schema":{"$ref":"#/definitions/milestone"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/milestones/{milestoneId}/closure":{"post":{"tags":["Milestones"],"summary":"[ADMIN] Closes the milestone.","operationId":"Milestone_CloseMilestone","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"milestoneId","in":"path","description":"The unique identifier of the milestone.","required":true,"type":"integer","format":"int32"},{"name":"closeMilestoneValues","in":"body","description":"The milestone closing value object.","required":true,"schema":{"$ref":"#/definitions/closeMilestoneValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Milestones"],"summary":"[ADMIN] Reopens the milestone.","operationId":"Milestone_ReopenMilestone","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"milestoneId","in":"path","description":"The unique identifier of the milestone.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Resource not found."}}}},"/v0/projects/{projectId}/milestones/{milestoneId}/metrics":{"get":{"tags":["Milestones"],"summary":"Gets the milestone metrics.","operationId":"Milestone_GetMilestoneMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"milestoneId","in":"path","description":"The unique identifier of the milestone.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"query","description":"The unique identifier of the user.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A milestone metrics object.","schema":{"$ref":"#/definitions/metrics"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}":{"get":{"tags":["Projects"],"summary":"Gets a project.","operationId":"Project_GetProject","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A project object.","schema":{"$ref":"#/definitions/project"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Projects"],"summary":"[ADMIN] Updates the project.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Project_UpdateProject","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectValues","in":"body","description":"An object with the values to update.","required":true,"schema":{"$ref":"#/definitions/updateProjectValues"}}],"responses":{"200":{"description":"The updated project object.","schema":{"$ref":"#/definitions/project"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects"],"summary":"[OWNER] Deletes a project.","operationId":"Project_DeleteProject","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Project not found."}}},"patch":{"tags":["Projects"],"summary":"[ADMIN] Updates the project partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Project_PatchProject","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"patchProjectValues","in":"body","description":"An object with the values to update.","required":true,"schema":{"$ref":"#/definitions/patchProjectValues"}}],"responses":{"200":{"description":"The updated project object.","schema":{"$ref":"#/definitions/project"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects":{"get":{"tags":["Projects"],"summary":"Get all the projects the authenticated user is member of.","operationId":"Project_GetProjects","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"A list of project objects.","schema":{"type":"array","items":{"$ref":"#/definitions/project"}}},"401":{"description":"Unauthorized"}}},"post":{"tags":["Projects"],"summary":"Creates a new project.","operationId":"Project_CreateProject","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"createProjectValues","in":"body","description":"An object with the values for the new project.","required":true,"schema":{"$ref":"#/definitions/createProjectValues"}}],"responses":{"201":{"description":"A newly created project object.","schema":{"$ref":"#/definitions/project"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}}}},"/v0/projects/{projectId}/owner":{"put":{"tags":["Projects"],"summary":"[OWNER] Transfer the ownership of the project to another user.","operationId":"Project_TransferProjectOwnership","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"ownerUserId","in":"body","description":"The unique identifier of the user who will be the new owner of the project.","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The ownership of projects in a Studio workspace can't be transferred."}}}},"/v0/projects/{projectId}/closure":{"post":{"tags":["Projects"],"summary":"[ADMIN] Closes the project.","operationId":"Project_CloseProject","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The project is already closed."}}},"delete":{"tags":["Projects"],"summary":"[ADMIN] Reopens the project.","operationId":"Project_ReopenProject","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The project is already open."}}}},"/v0/projects/{projectId}/metrics":{"get":{"tags":["Projects"],"summary":"Gets the project metrics.","operationId":"Project_GetProjectMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A project metrics object.","schema":{"$ref":"#/definitions/metrics"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/categories":{"get":{"tags":["Projects / Categories"],"summary":"Gets a list of the categories in the project.","description":"The categories the authenticated user don't have read access to won't be included in the results.","operationId":"Project_GetProjectCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of project category objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectCategory"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Projects / Categories"],"summary":"[ADMIN] Creates a category.","operationId":"Project_CreateProjectCategory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createProjectCategoryValues","in":"body","description":"The project category creation values object.","required":true,"schema":{"$ref":"#/definitions/createProjectCategoryValues"}}],"responses":{"201":{"description":"A new project category object.","schema":{"$ref":"#/definitions/projectCategory"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/categories/{categoryId}":{"get":{"tags":["Projects / Categories"],"summary":"Gets a category.","operationId":"Project_GetProjectCategory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"categoryId","in":"path","description":"The unique identifier of the category.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A project category object.","schema":{"$ref":"#/definitions/projectCategory"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Projects / Categories"],"summary":"[ADMIN] Updates the category.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Project_UpdateProjectCategory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"categoryId","in":"path","description":"The unique identifier of the category.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectCategoryValues","in":"body","description":"The project category update values object.","required":true,"schema":{"$ref":"#/definitions/updateProjectCategoryValues"}}],"responses":{"200":{"description":"The updated category object.","schema":{"$ref":"#/definitions/projectCategory"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects / Categories"],"summary":"[ADMIN] Deletes the category.","description":"Only categories with no tasks assigned can be deleted.","operationId":"Project_DeleteProjectCategory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"categoryId","in":"path","description":"The unique identifier of the category.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"400":{"description":"You can't delete the last category."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"There are tasks assigned to the category, reassing the tasks before deleting it."}}},"patch":{"tags":["Projects / Categories"],"summary":"[ADMIN] Updates the category partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Project_PatchProjectCategory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"categoryId","in":"path","description":"The unique identifier of the category.","required":true,"type":"integer","format":"int32"},{"name":"patchProjectCategoryValues","in":"body","description":"The project category patch values object.","required":true,"schema":{"$ref":"#/definitions/patchProjectCategoryValues"}}],"responses":{"200":{"description":"The updated category object.","schema":{"$ref":"#/definitions/projectCategory"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/designelementtypes/{designElementTypeId}":{"get":{"tags":["Projects / Design Element Types"],"summary":"Gets a design element type.","operationId":"Project_GetProjectDesignElementType","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementTypeId","in":"path","description":"The unique identifier of the design element type.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A desing element type object.","schema":{"$ref":"#/definitions/projectDesignElementType"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Projects / Design Element Types"],"summary":"[ADMIN] Updates a design element type.","operationId":"Project_UpdateProjectDesignElementType","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementTypeId","in":"path","description":"The unique identifier of the design element type.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectDesignElementTypeValues","in":"body","description":"The design element type update values object.","required":true,"schema":{"$ref":"#/definitions/updateProjectDesignElementTypeValues"}}],"responses":{"200":{"description":"The updated design element type.","schema":{"$ref":"#/definitions/projectDesignElementType"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects / Design Element Types"],"summary":"[ADMIN] Deletes a design element type.","operationId":"Project_DeleteProjectDesignElementType","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"designElementTypeId","in":"path","description":"The unique identifier of the design element type.","required":true,"type":"integer","format":"int32"},{"name":"targetDesignElementTypeId","in":"body","description":"The unique identifier of the design element type the elements assigned to the deleted one will be reassigned to. If not defined, they will be reassigned to the first of the list.","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"description":"OK"},"400":{"description":"The target design element type id does not exist."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The design element type is the last one and can't be deleted."}}}},"/v0/projects/{projectId}/designelementtypes":{"get":{"tags":["Projects / Design Element Types"],"summary":"Gets the list of design element types of the project.","operationId":"Project_GetProjectDesignElementTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of desing element type objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectDesignElementType"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Projects / Design Element Types"],"summary":"[ADMIN] Creates a design element type.","operationId":"Project_CreateProjectModelNodeType","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createProjectDesignElementTypeValues","in":"body","description":"The design element type creation object.","required":true,"schema":{"$ref":"#/definitions/createProjectDesignElementTypeValues"}}],"responses":{"201":{"description":"A newly created design element type.","schema":{"$ref":"#/definitions/projectDesignElementType"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/events":{"get":{"tags":["Projects / Events"],"summary":"Gets a list of project events.","operationId":"Project_GetProjectEvents","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"from","in":"query","description":"The minimum date of the events.","required":true,"type":"string","format":"date-time"},{"name":"to","in":"query","description":"The maximum date of the events.","required":true,"type":"string","format":"date-time"}],"responses":{"200":{"description":"A list of project event objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectEvent"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/files":{"get":{"tags":["Projects / Files"],"summary":"[ADMIN] Gets all the files in the project.","operationId":"Project_GetProjectFiles","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"The number of items to skip from the result, for pagination. Defaults to 0. Min value 0.","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","description":"The max number of items to return, for pagination. Defaults to 20. Min value 1. Max value 100.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of project file objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectFile"}}},"400":{"description":"Invalid offset or limit parameters."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/files/{fileId}":{"delete":{"tags":["Projects / Files"],"summary":"[ADMIN] Remove a file from the project.","operationId":"Project_DeleteProjectFile","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"fileId","in":"path","description":"The unique identifier of the file.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/storage":{"get":{"tags":["Projects / Files"],"summary":"Gets storage information about the project.","operationId":"Project_GetProjectStorageData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A project storage data object.","schema":{"$ref":"#/definitions/projectStorageData"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/importancelevels/{importanceLevelId}":{"get":{"tags":["Projects / Importance Levels"],"summary":"Gets an importance level.","operationId":"Project_GetProjectImportanceLevel","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"importanceLevelId","in":"path","description":"The unique identifier of the importance level.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"An importance level object.","schema":{"$ref":"#/definitions/projectImportanceLevel"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Projects / Importance Levels"],"summary":"[ADMIN] Updates the importance level.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Project_UpdateProjectImportanceLevel","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"importanceLevelId","in":"path","description":"The unique identifier of the importance level.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectImportanceLevelValues","in":"body","description":"The importance level update values object.","required":true,"schema":{"$ref":"#/definitions/updateProjectImportanceLevelValues"}}],"responses":{"200":{"description":"The updated importance level.","schema":{"$ref":"#/definitions/projectImportanceLevel"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects / Importance Levels"],"summary":"[ADMIN] Deletes the importance level.","operationId":"Project_DeleteImportanceLevel","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"importanceLevelId","in":"path","description":"The unique identifier of the importance level.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The default importance level can't be deleted."}}},"patch":{"tags":["Projects / Importance Levels"],"summary":"[ADMIN] Updates the importance level partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Project_PatchProjectImportanceLevel","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"importanceLevelId","in":"path","description":"The unique identifier of the importance level.","required":true,"type":"integer","format":"int32"},{"name":"patchProjectImportanceLevelValues","in":"body","description":"The importance level patch values object.","required":true,"schema":{"$ref":"#/definitions/patchProjectImportanceLevelValues"}}],"responses":{"200":{"description":"The updated importance level.","schema":{"$ref":"#/definitions/projectImportanceLevel"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/importancelevels":{"get":{"tags":["Projects / Importance Levels"],"summary":"Gets a list of the importance levels of the project.","operationId":"Project_GetProjectImportanceLevels","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of project importance level objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectImportanceLevel"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Projects / Importance Levels"],"summary":"[ADMIN] Creates an importance level.","operationId":"Project_CreateProjectImportanceLevel","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createProjectImportanceLevelValues","in":"body","description":"The project importance level creation values object.","required":true,"schema":{"$ref":"#/definitions/createProjectImportanceLevelValues"}}],"responses":{"201":{"description":"A new project importance level object.","schema":{"$ref":"#/definitions/projectImportanceLevel"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/roles/{roleId}":{"get":{"tags":["Projects / Roles"],"summary":"Gets a project role.","operationId":"Project_GetProjectRole","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"roleId","in":"path","description":"The unique identifier of the role.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A role object.","schema":{"$ref":"#/definitions/projectRole"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Projects / Roles"],"summary":"[ADMIN] Updates the project role.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Project_UpdateProjectRole","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"roleId","in":"path","description":"The unique identifier of the role.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectRoleValues","in":"body","description":"The project role update values object.","required":true,"schema":{"$ref":"#/definitions/updateProjectRoleValues"}}],"responses":{"200":{"description":"The updated role.","schema":{"$ref":"#/definitions/ProjectRole_Internal"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects / Roles"],"summary":"[ADMIN] Deletes the project role.","operationId":"Project_DeleteProjectRole","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"roleId","in":"path","description":"The unique identifier of the role.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"patch":{"tags":["Projects / Roles"],"summary":"[ADMIN] Updates the project role partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Project_PatchProjectRole","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"roleId","in":"path","description":"The unique identifier of the role.","required":true,"type":"integer","format":"int32"},{"name":"patchProjectRoleValues","in":"body","description":"The project role patch values object.","required":true,"schema":{"$ref":"#/definitions/patchProjectRoleValues"}}],"responses":{"200":{"description":"The updated role.","schema":{"$ref":"#/definitions/ProjectRole_Internal"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/roles":{"get":{"tags":["Projects / Roles"],"summary":"Gets a list of the roles in the project.","operationId":"Project_GetProjectRoles","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of role objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectRole"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Projects / Roles"],"summary":"[ADMIN] Creates a project role.","operationId":"Project_CreateProjectRole","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique id of the project.","required":true,"type":"integer","format":"int32"},{"name":"createProjectRoleValues","in":"body","description":"The project role creation values object.","required":true,"schema":{"$ref":"#/definitions/createProjectRoleValues"}}],"responses":{"201":{"description":"A new role object.","schema":{"$ref":"#/definitions/projectRole"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/stages/{stageId}":{"get":{"tags":["Projects / Stages"],"summary":"Gets a project stage.","operationId":"Project_GetProjectStage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"stageId","in":"path","description":"The unique identifier of the stage.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A stage object.","schema":{"$ref":"#/definitions/projectStage"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Projects / Stages"],"summary":"[ADMIN] Updates a project stage.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Project_UpdateProjectStage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the object.","required":true,"type":"integer","format":"int32"},{"name":"stageId","in":"path","description":"The unique identifier of the stage.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectStageValues","in":"body","description":"The project stage update values object.","required":true,"schema":{"$ref":"#/definitions/updateProjectStageValues"}}],"responses":{"200":{"description":"The updated stage.","schema":{"$ref":"#/definitions/ProjectStage_Internal"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects / Stages"],"summary":"[ADMIN] Deletes a project stage.","operationId":"Project_DeleteProjectStage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"stageId","in":"path","description":"The unique identifier of the stage.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"patch":{"tags":["Projects / Stages"],"summary":"[ADMIN] Updates a project stage partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Project_PatchProjectStage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the object.","required":true,"type":"integer","format":"int32"},{"name":"stageId","in":"path","description":"The unique identifier of the stage.","required":true,"type":"integer","format":"int32"},{"name":"patchProjectStageValues","in":"body","description":"The project stage patch values object.","required":true,"schema":{"$ref":"#/definitions/patchProjectStageValues"}}],"responses":{"200":{"description":"The updated stage.","schema":{"$ref":"#/definitions/projectStage"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/stages":{"get":{"tags":["Projects / Stages"],"summary":"Gets a list of the stages in the project.","operationId":"Project_GetProjectStages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of stage objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectStage"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Projects / Stages"],"summary":"[ADMIN] Creates a project stage.","operationId":"Project_CreateProjectStage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createProjectStageValues","in":"body","description":"The project stage creation values object.","required":true,"schema":{"$ref":"#/definitions/createProjectStageValues"}}],"responses":{"201":{"description":"A new stage object.","schema":{"$ref":"#/definitions/projectStage"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/tags":{"get":{"tags":["Projects / Tags"],"summary":"Gets a list of the project tags.","operationId":"Project_GetProjectTags","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of project tag objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectTag"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Projects / Tags"],"summary":"Creates a project tag.","operationId":"Project_CreateProjectTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createProjectTagValues","in":"body","description":"The project tag creation values object.","required":true,"schema":{"$ref":"#/definitions/createProjectTagValues"}}],"responses":{"201":{"description":"A new project tag object.","schema":{"$ref":"#/definitions/projectTag"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/tags/{tagId}":{"put":{"tags":["Projects / Tags"],"summary":"Updates the tag.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Project_UpdateProjectTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"tagId","in":"path","description":"The unique identifier of the tag.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectTagValues","in":"body","description":"The project tag update values object.","required":true,"schema":{"$ref":"#/definitions/updateProjectTagValues"}}],"responses":{"200":{"description":"The updated tag.","schema":{"$ref":"#/definitions/projectTag"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects / Tags"],"summary":"[ADMIN] Deletes the tag.","operationId":"Project_DeleteProjectTag","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"tagId","in":"path","description":"The unique identifier of the tag.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Project or tag not found."}}},"patch":{"tags":["Projects / Tags"],"summary":"Updates the tag partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Project_PatchProjectTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"tagId","in":"path","description":"The unique identifier of the tag.","required":true,"type":"integer","format":"int32"},{"name":"patchProjectTagValues","in":"body","description":"The project tag patch values object.","required":true,"schema":{"$ref":"#/definitions/patchProjectTagValues"}}],"responses":{"200":{"description":"The updated tag.","schema":{"$ref":"#/definitions/projectTag"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/users":{"get":{"tags":["Projects / Users"],"summary":"Gets the list of users of the project.","operationId":"Project_GetProjectUsers","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"includeInactive","in":"query","description":"True to include inactive users, those who were part of the project in the past but were pushed out. Defaults to false.","required":false,"type":"boolean"},{"name":"includeGuests","in":"query","description":"True to include guest users. Defaults to true.","required":false,"type":"boolean"}],"responses":{"200":{"description":"A list of project user objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectUser"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Projects / Users"],"summary":"[ADMIN] Adds a new user to the project.","operationId":"Project_AddProjectUser","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createProjectUserValues","in":"body","description":"The values object.","required":true,"schema":{"$ref":"#/definitions/createProjectUserValues"}}],"responses":{"200":{"description":"An invitation email has been sent."},"201":{"description":"A new project user object.","schema":{"$ref":"#/definitions/projectUser"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The user is a member of the project already, or the workspace doesn't have free seats (Studio)."}}}},"/v0/projects/{projectId}/teams":{"post":{"tags":["Projects / Users"],"summary":"[ADMIN] Adds a team to the project.","operationId":"Project_AddWorkspaceTeamToProject","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"teamId","in":"body","description":"The unique identifier of the team within the workspace the project belongs to.","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"201":{"description":"A list of new project user objects.","schema":{"type":"array","items":{"$ref":"#/definitions/projectUser"}}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Project or team not found."}}}},"/v0/projects/{projectId}/users/{userId}":{"get":{"tags":["Projects / Users"],"summary":"Gets a project user.","operationId":"Project_GetProjectUser","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"path","description":"The unique identifier of the user.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"The project user object.","schema":{"$ref":"#/definitions/projectUser"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Projects / Users"],"summary":"[ADMIN] Updates the project user.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Project_UpdateProjectUser","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"path","description":"The unique identifier of the user.","required":true,"type":"integer","format":"int32"},{"name":"updateProjectUserValues","in":"body","description":"The values object.","required":true,"schema":{"$ref":"#/definitions/updateProjectUserValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Projects / Users"],"summary":"[ADMIN/SELF] Removes a user from the project.","description":"The information of the removed users are not erased from the project, they are kept as inactive for historical reasons.","operationId":"Project_RemoveProjectUser","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"path","description":"The unique identifier of the user.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"patch":{"tags":["Projects / Users"],"summary":"[ADMIN] Updates the project user partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Project_PatchProjectUser","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"path","description":"The unique identifier of the user.","required":true,"type":"integer","format":"int32"},{"name":"patchProjectUserValues","in":"body","description":"The values object.","required":true,"schema":{"$ref":"#/definitions/patchProjectUserValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/users/me":{"get":{"tags":["Users"],"summary":"Returns the information of the authenticated user","operationId":"User_GetAuthenticatedUser","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"A existing user object","schema":{"$ref":"#/definitions/user"}},"401":{"description":"Unauthorized"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/webhooks/{webhookId}":{"get":{"tags":["Webhook"],"summary":"[ADMIN] Gets a webhook by its id.","operationId":"Webhook_GetWebhook","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"webhookId","in":"path","description":"The unique identifier of the webhook.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A webhook object.","schema":{"$ref":"#/definitions/webhook"}},"403":{"description":"The authorized user does not have permission to execute the action."},"404":{"description":"Webhook not found."}}},"put":{"tags":["Webhook"],"summary":"[ADMIN] Updates a webhook.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"Webhook_UpdateWebhook","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"webhookId","in":"path","description":"The unique identifier of the webhook.","required":true,"type":"integer","format":"int32"},{"name":"updateWebhookValues","in":"body","description":"The webhook update values object.","required":true,"schema":{"$ref":"#/definitions/updateWebhookValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"403":{"description":"The authorized user does not have permission to execute the action."},"404":{"description":"Webhook not found."}}},"delete":{"tags":["Webhook"],"summary":"[ADMIN] Deletes a webhook.","operationId":"Webhook_DeleteWebhook","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"webhookId","in":"path","description":"The unique identifier of the webhook.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"403":{"description":"The authorized user does not have permission to execute the action."},"404":{"description":"Webhook not found."}}},"patch":{"tags":["Webhook"],"summary":"[ADMIN] Updates a webhook partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"Webhook_PatchWebhook","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"webhookId","in":"path","description":"The unique identifier of the webhook.","required":true,"type":"integer","format":"int32"},{"name":"patchWebhookValues","in":"body","description":"The webhook patch values object.","required":true,"schema":{"$ref":"#/definitions/patchWebhookValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"403":{"description":"The authorized user does not have permission to execute the action."},"404":{"description":"Webhook not found."}}}},"/v0/projects/{projectId}/webhooks":{"get":{"tags":["Webhook"],"summary":"[ADMIN] Gets the list of webhooks in a project.","operationId":"Webhook_GetWebhooks","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of webhook objects.","schema":{"type":"array","items":{"$ref":"#/definitions/webhook"}}},"403":{"description":"The authorized user does not have permission to execute the action."},"404":{"description":"Project not found."}}},"post":{"tags":["Webhook"],"summary":"[ADMIN] Creates a webhook.","operationId":"Webhook_CreateWebhook","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createWebhookValues","in":"body","description":"The webhook creation values object.","required":true,"schema":{"$ref":"#/definitions/createWebhookValues"}}],"responses":{"201":{"description":"A new webhook object.","schema":{"$ref":"#/definitions/webhook"}},"400":{"description":"Invalid values object."},"403":{"description":"The authorized user does not have permission to execute the action."},"404":{"description":"Project not found."}}}},"/v0/webhookevents":{"get":{"tags":["Webhook"],"summary":"Gets the list of webhook events.","operationId":"Webhook_GetWebhookEvents","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"A list of webhook events.","schema":{"type":"array","items":{"type":"string"}}}}}},"/v0/projects/{projectId}/workitems/{workItemId}":{"get":{"tags":["Work Items"],"summary":"Gets a work item.","operationId":"WorkItem_GetWorkItem","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A work item object.","schema":{"$ref":"#/definitions/workItem"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Work Items"],"summary":"Updates the work item.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"WorkItem_UpdateWorkItem","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"updateWorkItemValues","in":"body","description":"The work item update values object.","required":true,"schema":{"$ref":"#/definitions/updateWorkItemValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items"],"summary":"Clones an existing work item.","operationId":"WorkItem_CloneWorkItem","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Work Items"],"summary":"Deletes a work item.","operationId":"WorkItem_DeleteWorkItem","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"patch":{"tags":["Work Items"],"summary":"Updates the work item partially","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"WorkItem_PatchWorkItem","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"patchWorkItemValues","in":"body","description":"The work item patch values object.","required":true,"schema":{"$ref":"#/definitions/patchWorkItemValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems":{"get":{"tags":["Work Items"],"summary":"Gets a list of work items based on a search criteria.","operationId":"WorkItem_GetWorkItems","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"boardId","in":"query","description":"The unique identifier of the board (0 for the backlog).","required":false,"type":"integer","format":"int32"},{"name":"milestoneId","in":"query","description":"The unique identifier of the milestone.","required":false,"type":"integer","format":"int32"},{"name":"categoryId","in":"query","description":"The unique identifier of the category.","required":false,"type":"integer","format":"int32"},{"name":"userId","in":"query","description":"The unique identifier of the assigned user.","required":false,"type":"integer","format":"int32"},{"name":"designElementId","in":"query","description":"The unique identifier of the design element (0 for items without desing element).","required":false,"type":"integer","format":"int32"},{"name":"stageId","in":"query","description":"The unique identifier of the stage.","required":false,"type":"integer","format":"int32"},{"name":"importanceLevelId","in":"query","description":"The unique identifier of the importance level.","required":false,"type":"integer","format":"int32"},{"name":"parentStoryId","in":"query","description":"The unique identifier of the parent story of the task (0 for items that don't belong to a user story).","required":false,"type":"integer","format":"int32"},{"name":"searchTerms","in":"query","description":"A string that will be used to filter the results by searching the terms in the title and description fields.","required":false,"type":"string"},{"name":"offset","in":"query","description":"The number of items skipped from the results. Defaults to 0. Min value 0.","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","description":"The max number of items included in the results, after the offset. Defaults to 20. Min value 1. Max value 100.","required":false,"type":"integer","format":"int32"},{"name":"sortField","in":"query","description":"The field used to sort the results. Possible values:\r\n            - \"id\" (default)\r\n            - \"name\"\r\n            - \"duedate\"\r\n            - \"updatedate\"\r\n            - \"closingdate\"\r\n            - \"board\"\r\n            - \"designelement\"\r\n            - \"stage\"\r\n            - \"category\"\r\n            - \"importancelevel\"","required":false,"type":"string"},{"name":"sortMode","in":"query","description":"The mode used to sort the results. Possible values:\r\n            - \"asc\" (default)\r\n            - \"desc\"","required":false,"type":"string"}],"responses":{"200":{"description":"A paged list of work item objects.","schema":{"$ref":"#/definitions/pagedResult<workItem>"}},"400":{"description":"Invalid offset and limit values."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items"],"summary":"Creates a new work item.","operationId":"WorkItem_CreateWorkItem","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"createWorkItemValues","in":"body","description":"The work item creation values object.","required":true,"schema":{"$ref":"#/definitions/createWorkItemValues"}}],"responses":{"200":{"description":"A new work item object.","schema":{"$ref":"#/definitions/workItem"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/attachments":{"get":{"tags":["Work Items / Attachments"],"summary":"Gets the list of attachments of the work item.","operationId":"WorkItem_GetWorkItemAttachments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"The number of items skipped from the results. Defaults to 0. Min value 0.","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","description":"The max number of items included in the results, after the offset. Defaults to 20. Min value 1. Max value 100.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of work item attachment objects.","schema":{"$ref":"#/definitions/pagedResult<workItemAttachment>"}},"400":{"description":"Invalid offset and limit values."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items / Attachments"],"summary":"Creates a new work item attachment from MIME multipart content.","operationId":"WorkItem_CreateWorkItemAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"201":{"description":"A new work item attachment object.","schema":{"$ref":"#/definitions/workItemAttachment"}},"400":{"description":"File size limit exceeded."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"Account storage limit exceeded."},"415":{"description":"The content is not MIME multipart content."}}}},"/v0/projects/{projectId}/workitems/{workItemId}/attachments/{attachmentId}":{"get":{"tags":["Work Items / Attachments"],"summary":"Gets a work item attachment.","operationId":"WorkItem_GetWorkItemAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"attachmentId","in":"path","description":"The unique identifier of the attachment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A work item attachment object.","schema":{"$ref":"#/definitions/workItemAttachment"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Work Items / Attachments"],"summary":"Sets / unsets a work item attachment as the card picture.","operationId":"WorkItem_SetWorkItemAttachmentAsCardPicture","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"attachmentId","in":"path","description":"The unique identifier of the attachment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Work Items / Attachments"],"summary":"Deletes a work item attachment.","operationId":"WorkItem_DeleteWorkItemAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"attachmentId","in":"path","description":"The unique identifier of the attachment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/comments":{"get":{"tags":["Work Items / Comments"],"summary":"Gets a paged list of comments from a work item.","operationId":"WorkItem_GetWorkItemComments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"The number of items skipped from the results. Defaults to 0. Min value 0.","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","description":"The max number of items included in the results, after the offset. Defaults to 20. Min value 1. Max value 100.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A paged list of work item comment objects.","schema":{"$ref":"#/definitions/pagedResult<workItemComment>"}},"400":{"description":"Invalid offset and limit values."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items / Comments"],"summary":"Creates a new comment for the work item.","operationId":"WorkItem_CreateWorkItemComment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"text","in":"body","description":"The text of the message. Max 5000 chars.","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"A new work item comment object.","schema":{"$ref":"#/definitions/workItemComment"}},"400":{"description":"Invalid comment text."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/comments/{commentId}":{"get":{"tags":["Work Items / Comments"],"summary":"Gets a work item comment.","operationId":"WorkItem_GetWorkItemComment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"commentId","in":"path","description":"The unique identifier of the comment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A work item comment object.","schema":{"$ref":"#/definitions/workItemComment"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Work Items / Comments"],"summary":"Updates a work item comment.","description":"Only the author of the comment can update it.","operationId":"WorkItem_UpdateWorkItemComment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"commentId","in":"path","description":"The unique identifier of the comment.","required":true,"type":"integer","format":"int32"},{"name":"text","in":"body","description":"The text of the comment. Max 5000 chars.","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"A new work item comment object.","schema":{"$ref":"#/definitions/workItemComment"}},"400":{"description":"Invalid comment text."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Work Items / Comments"],"summary":"Deletes a work item comment.","description":"Only the author of the comment and admins can delete it.","operationId":"WorkItem_DeleteWorkItemComment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"commentId","in":"path","description":"The unique identifier of the comment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/dependencies":{"get":{"tags":["Work Items / Dependencies"],"summary":"Gets the list of dependencies of the work items.","operationId":"WorkItem_GetWorkItemDependencies","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of work item dependency objects.","schema":{"type":"array","items":{"$ref":"#/definitions/workItemDependency"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items / Dependencies"],"summary":"Creates a new dependency for the work item.","operationId":"WorkItem_CreateWorkItemDependency","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"dependencyId","in":"body","description":"The unique identifier of the dependency (work item).","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"201":{"description":"Created"},"400":{"description":"Invalid dependency."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/dependencies/{dependencyId}":{"get":{"tags":["Work Items / Dependencies"],"summary":"Gets a work item dependency.","operationId":"WorkItem_GetWorkItemDependency","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"dependencyId","in":"path","description":"The unique identifier of the dependency (work item).","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A work item dependency object.","schema":{"$ref":"#/definitions/workItemDependency"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Work Items / Dependencies"],"summary":"Removes a work item dependency.","operationId":"WorkItem_DeleteWorkItemDependency","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"dependencyId","in":"path","description":"The unique identifier of the dependency (work item).","required":true,"type":"integer","format":"int32"}],"responses":{"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/subtasks":{"get":{"tags":["Work Items / Subtasks"],"summary":"Gets the list of subtasks of the work item.","operationId":"WorkItem_GetWorkItemSubTasks","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of work item subtask objects.","schema":{"type":"array","items":{"$ref":"#/definitions/workItemSubTask"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items / Subtasks"],"summary":"Creates a new work item subtask.","operationId":"WorkItem_CreateWorkItemSubTask","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"title","in":"body","description":"The title of the subtask.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of work item subtask objects.","schema":{"type":"array","items":{"$ref":"#/definitions/workItemSubTask"}}},"400":{"description":"Invalid subtask title."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/subtasks/{subTaskId}":{"get":{"tags":["Work Items / Subtasks"],"summary":"Gets a work item subtask.","operationId":"WorkItem_GetWorkItemSubTask","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"subTaskId","in":"path","description":"The unique identifier of the subtask.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A work item comment object.","schema":{"$ref":"#/definitions/workItemComment"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Work Items / Subtasks"],"summary":"Updates a work item subtask.","description":"All the fields will be replaced, and optional values not set in the values object will be set to null.","operationId":"WorkItem_UpdateWorkItemSubTask","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"subTaskId","in":"path","description":"The unique identifier of the subtask.","required":true,"type":"integer","format":"int32"},{"name":"updateWorkItemSubTaskValues","in":"body","description":"The work item subtask update values object.","required":true,"schema":{"$ref":"#/definitions/updateWorkItemSubTaskValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid subtask title."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Work Items / Subtasks"],"summary":"Deletes a work item.","operationId":"WorkItem_DeleteWorkItemSubTask","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"subTaskId","in":"path","description":"The unique identifier of the subtask.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"patch":{"tags":["Work Items / Subtasks"],"summary":"Updates a work item subtask partially.","description":"Only fields included in the value object will be updated, the rest will remain untouched.","operationId":"WorkItem_PatchWorkItemSubTask","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"subTaskId","in":"path","description":"The unique identifier of the subtask.","required":true,"type":"integer","format":"int32"},{"name":"patchWorkItemSubTaskValues","in":"body","description":"The work item subtask update values object.","required":true,"schema":{"$ref":"#/definitions/patchWorkItemSubTaskValues"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid subtask title."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/tags":{"get":{"tags":["Work Items / Tags"],"summary":"Gets the list of tags of the work item.","operationId":"WorkItem_GetWorkItemTags","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of tag objects.","schema":{"type":"array","items":{"$ref":"#/definitions/ProjectTag_Internal"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items / Tags"],"summary":"Assigns a project tag to a work item.","operationId":"WorkItem_CreateWorkItemTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"tagId","in":"body","description":"The unique identifier of the tag.","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The tag is already assigned to the work item."}}}},"/v0/projects/{projectId}/workitems/{workItemId}/tags/{tagId}":{"delete":{"tags":["Work Items / Tags"],"summary":"Removes a tag from a work item.","operationId":"WorkItem_DeleteWorkItemTag","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of a work item.","required":true,"type":"integer","format":"int32"},{"name":"tagId","in":"path","description":"The unique identifier of the tag.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/users":{"post":{"tags":["Work Items / Users"],"summary":"Assigns a user to a work item","operationId":"WorkItem_CreateWorkItemUser","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"body","description":"The unique identifier of the user.","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"},"409":{"description":"The user is inactive"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/users/{userId}":{"delete":{"tags":["Work Items / Users"],"summary":"Unassigns a user from a work item.","operationId":"WorkItem_DeleteWorkItemUser","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"path","description":"The unique identifier of the user.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/worklogs":{"get":{"tags":["Work Items / Work Logs"],"summary":"Gets the list of logs of the work item.","operationId":"WorkItem_GetTaskWorkLogs","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of work log objects.","schema":{"type":"array","items":{"$ref":"#/definitions/workLog"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"post":{"tags":["Work Items / Work Logs"],"summary":"Creates a new work log.","operationId":"WorkItem_CreateWorkItemWorkLog","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"createWorkLogValues","in":"body","description":"The work log creation values object.","required":true,"schema":{"$ref":"#/definitions/createWorkLogValues"}}],"responses":{"201":{"description":"A new work log object.","schema":{"$ref":"#/definitions/workLog"}},"400":{"description":"Invalid values object."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/projects/{projectId}/workitems/{workItemId}/worklogs/{workLogId}":{"get":{"tags":["Work Items / Work Logs"],"summary":"Gets a worklog by its id.","operationId":"WorkItem_GetTaskWorkLog","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"workLogId","in":"path","description":"The unique identifier of the work log.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A work log object.","schema":{"$ref":"#/definitions/workLog"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"put":{"tags":["Work Items / Work Logs"],"summary":"Updates a work log.","operationId":"WorkItem_UpdateTaskWorkLog","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"workLogId","in":"path","description":"The unique identifier of the work log.","required":true,"type":"integer","format":"int32"},{"name":"value","in":"body","description":"The value of the work log.","required":true,"schema":{"format":"float","type":"number"}}],"responses":{"201":{"description":"A new work log object.","schema":{"$ref":"#/definitions/workLog"}},"400":{"description":"Invalid log value."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}},"delete":{"tags":["Work Items / Work Logs"],"summary":"Deletes the work log.","operationId":"WorkItem_DeleteWorkItemWorkLog","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"projectId","in":"path","description":"The unique identifier of the project.","required":true,"type":"integer","format":"int32"},{"name":"workItemId","in":"path","description":"The unique identifier of the work item.","required":true,"type":"integer","format":"int32"},{"name":"workLogId","in":"path","description":"The unique identifier of the work log.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/workspaces":{"get":{"tags":["Workspaces"],"summary":"Gets the list of workspaces the user belongs to.","operationId":"Workspace_GetWorkspaces","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"includeProjects","in":"query","description":"True to include the list of workspace projects in the result. Defaults to false.","required":false,"type":"boolean"},{"name":"onlyAdmin","in":"query","description":"True to only return workspaces the user is admin of. Defaults to false.","required":false,"type":"boolean"},{"name":"onlyOwner","in":"query","description":"True to only return the workspace the user owns, if any. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"A list of workspace objects.","schema":{"type":"array","items":{"$ref":"#/definitions/workspace"}}},"401":{"description":"Unauthorized"}}}},"/v0/workspaces/{workspaceId}":{"get":{"tags":["Workspaces"],"summary":"Gets a workspace object.","operationId":"Workspace_GetWorkspace","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workspaceId","in":"path","description":"The unique id of the workspace.","required":true,"type":"integer","format":"int32"},{"name":"includeProjects","in":"query","description":"True if the workspace should include a list of the contained projects. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"A workspace object.","schema":{"$ref":"#/definitions/workspace"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/workspaces/{workspaceId}/teams":{"get":{"tags":["Workspaces / Teams"],"summary":"Gets a list of the teams in the workspace.","operationId":"Workspace_GetWorkspaceTeams","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workspaceId","in":"path","description":"The unique identifier of the workspace.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A list of workspace team objects.","schema":{"type":"array","items":{"$ref":"#/definitions/workspaceTeam"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/workspaces/{workspaceId}/teams/{teamId}":{"get":{"tags":["Workspaces / Teams"],"summary":"Get a workspace team by id.","operationId":"Workspace_GetWorkspaceTeam","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workspaceId","in":"path","description":"The unique identifier of the workspace.","required":true,"type":"integer","format":"int32"},{"name":"teamId","in":"path","description":"The unique identifier of the team within the workspace.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A workspace team object.","schema":{"$ref":"#/definitions/workspaceTeam"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/workspaces/{workspaceId}/users":{"get":{"tags":["Workspaces / Users"],"summary":"Gets a list of the users of the workspace.","operationId":"Workspace_GetWorkspaceUsers","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workspaceId","in":"path","description":"The unique identifier of the workspace.","required":true,"type":"integer","format":"int32"},{"name":"includeInactive","in":"query","description":"True to include the users that were part of the workspace but are currently inactive. Defaults to false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"A list of workspace user objects.","schema":{"type":"array","items":{"$ref":"#/definitions/workspaceUser"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}},"/v0/workspaces/{workspaceId}/users/{userId}":{"get":{"tags":["Workspaces / Users"],"summary":"Gets a workspace user.","operationId":"Workspace_GetWorkspaceUser","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workspaceId","in":"path","description":"The unique identifier of the workspace.","required":true,"type":"integer","format":"int32"},{"name":"userId","in":"path","description":"The unique identifier of the user.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"A workspace user object.","schema":{"$ref":"#/definitions/workspaceUser"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"NotFound"}}}}},"definitions":{"board":{"title":"board","required":["projectId","boardId","name","creationDate"],"type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"boardId":{"format":"int32","type":"integer"},"milestoneId":{"format":"int32","type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"closingDate":{"format":"date-time","type":"string"},"creationDate":{"format":"date-time","type":"string"},"creator":{"$ref":"#/definitions/user"},"isDefault":{"type":"boolean"}}},"user":{"title":"user","required":["id","username","email","name","creationDate"],"type":"object","properties":{"id":{"format":"int32","type":"integer"},"username":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"creationDate":{"format":"date-time","type":"string"}}},"updateBoardValues":{"title":"updateBoardValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"milestoneId":{"format":"int32","type":"integer"}}},"patchBoardValues":{"title":"patchBoardValues","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"milestoneId":{"format":"int32","type":"integer"}}},"createBoardValues":{"title":"createBoardValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"milestoneId":{"format":"int32","type":"integer"}}},"closeBoardValues":{"title":"closeBoardValues","required":["closeTasks"],"type":"object","properties":{"closeTasks":{"type":"boolean"},"tasksTargetBoardId":{"format":"int32","type":"integer"}}},"metrics":{"title":"metrics","type":"object","properties":{"categories":{"type":"array","items":{"$ref":"#/definitions/categoryMetrics"}},"totalWorkItems":{"format":"int32","type":"integer"},"totalWorkItemsVariation":{"format":"int32","type":"integer"},"openWorkItems":{"format":"int32","type":"integer"},"closedWorkItems":{"format":"int32","type":"integer"},"estimatedCost":{"format":"float","type":"number"},"estimatedCostVariation":{"format":"float","type":"number"},"loggedCost":{"format":"float","type":"number"},"remainingCost":{"format":"float","type":"number"}}},"categoryMetrics":{"title":"categoryMetrics","type":"object","properties":{"category":{"$ref":"#/definitions/projectCategory"},"totalWorkItems":{"format":"int32","type":"integer"},"totalWorkItemsVariation":{"format":"int32","type":"integer"},"openWorkItems":{"format":"int32","type":"integer"},"closedWorkItems":{"format":"int32","type":"integer"},"estimatedCost":{"format":"float","type":"number"},"estimatedCostVariation":{"format":"float","type":"number"},"loggedCost":{"format":"float","type":"number"},"remainingCost":{"format":"float","type":"number"}}},"projectCategory":{"title":"projectCategory","required":["projectId","categoryId","name","creationDate"],"type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"categoryId":{"format":"int32","type":"integer"},"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"creationDate":{"format":"date-time","type":"string"}}},"designElement":{"title":"designElement","type":"object","properties":{"index":{"format":"int32","type":"integer"},"projectId":{"format":"int32","type":"integer"},"designElementId":{"format":"int32","type":"integer"},"type":{"$ref":"#/definitions/projectDesignElementType"},"name":{"type":"string"},"prefix":{"type":"string"},"parent":{"$ref":"#/definitions/designElement"},"children":{"type":"array","items":{"$ref":"#/definitions/designElement"}},"totalWorkItemCount":{"format":"int32","type":"integer"},"closedWorkItemCount":{"format":"int32","type":"integer"},"description":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"creationDate":{"format":"date-time","type":"string"},"updateDate":{"format":"date-time","type":"string"},"user":{"$ref":"#/definitions/projectUser"}}},"projectDesignElementType":{"title":"projectDesignElementType","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"designElementTypeId":{"format":"int32","type":"integer"},"name":{"type":"string"},"creationDate":{"format":"date-time","type":"string"}}},"projectUser":{"title":"projectUser","required":["projectId","user","isAdmin","isGuest","isActive","creationDate","permissions"],"type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"user":{"$ref":"#/definitions/user"},"isAdmin":{"type":"boolean"},"isGuest":{"type":"boolean"},"isActive":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"},"permissions":{"$ref":"#/definitions/projectUserPermissions"},"role":{"$ref":"#/definitions/projectRole"}}},"projectUserPermissions":{"title":"projectUserPermissions","required":["categoryPermissions","gameDesignModelPermissions"],"type":"object","properties":{"categoryPermissions":{"type":"array","items":{"$ref":"#/definitions/projectUserCategoryPermissions"}},"gameDesignModelPermissions":{"$ref":"#/definitions/projectUserFeaturePermissions"}}},"projectRole":{"title":"projectRole","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"roleId":{"format":"int32","type":"integer"},"name":{"type":"string"},"isAdmin":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"},"permissions":{"$ref":"#/definitions/projectUserPermissions"}}},"projectUserCategoryPermissions":{"title":"projectUserCategoryPermissions","required":["categoryId","canRead","canWrite","canUpdate"],"type":"object","properties":{"categoryId":{"format":"int32","type":"integer"},"canRead":{"type":"boolean"},"canWrite":{"type":"boolean"},"canUpdate":{"type":"boolean"}}},"projectUserFeaturePermissions":{"title":"projectUserFeaturePermissions","required":["id","name","canRead","canWrite"],"type":"object","properties":{"id":{"format":"int32","type":"integer"},"name":{"type":"string"},"canRead":{"type":"boolean"},"canWrite":{"type":"boolean"}}},"createDesignElementValues":{"title":"createDesignElementValues","required":["designElementTypeId","name"],"type":"object","properties":{"index":{"format":"int32","type":"integer"},"designElementTypeId":{"format":"int32","type":"integer"},"name":{"type":"string"},"parentId":{"format":"int32","type":"integer"},"description":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"}}},"updateDesignElementValues":{"title":"updateDesignElementValues","required":["designElementTypeId","name"],"type":"object","properties":{"index":{"format":"int32","type":"integer"},"designElementTypeId":{"format":"int32","type":"integer"},"name":{"type":"string"},"parentId":{"format":"int32","type":"integer"},"description":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"}}},"patchDesignElementValues":{"title":"patchDesignElementValues","type":"object","properties":{"index":{"format":"int32","type":"integer"},"designElementTypeId":{"format":"int32","type":"integer"},"name":{"type":"string"},"parentId":{"format":"int32","type":"integer"},"description":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"}}},"deleteDesignElementValues":{"title":"deleteDesignElementValues","type":"object","properties":{"deleteWorkItems":{"type":"boolean"}}},"designElementAttachment":{"title":"designElementAttachment","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"designElementId":{"format":"int32","type":"integer"},"attachmentId":{"format":"int32","type":"integer"},"file":{"$ref":"#/definitions/projectFile"},"user":{"$ref":"#/definitions/user"},"creationDate":{"format":"date-time","type":"string"}}},"projectFile":{"title":"projectFile","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"fileId":{"format":"int32","type":"integer"},"name":{"type":"string"},"thumbName":{"type":"string"},"url":{"type":"string"},"thumbUrl":{"type":"string"},"size":{"format":"int32","type":"integer"},"isImage":{"type":"boolean"},"user":{"$ref":"#/definitions/user"},"creationDate":{"format":"date-time","type":"string"}}},"pagedResult<designElementAttachment>":{"title":"pagedResult<designElementAttachment>","type":"object","properties":{"totalCount":{"format":"int32","type":"integer"},"offset":{"format":"int32","type":"integer"},"limit":{"format":"int32","type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/designElementAttachment"}}}},"pagedResult<designElementComment>":{"title":"pagedResult<designElementComment>","type":"object","properties":{"totalCount":{"format":"int32","type":"integer"},"offset":{"format":"int32","type":"integer"},"limit":{"format":"int32","type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/designElementComment"}}}},"designElementComment":{"title":"designElementComment","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"designElementId":{"format":"int32","type":"integer"},"commentId":{"format":"int32","type":"integer"},"text":{"type":"string"},"user":{"$ref":"#/definitions/user"},"creationDate":{"format":"date-time","type":"string"},"updateDate":{"format":"date-time","type":"string"}}},"milestone":{"title":"milestone","required":["projectId","milestoneId","name","creator","creationDate"],"type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"milestoneId":{"format":"int32","type":"integer"},"name":{"type":"string"},"generalInfo":{"type":"string"},"creator":{"$ref":"#/definitions/user"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"closingDate":{"format":"date-time","type":"string"},"creationDate":{"format":"date-time","type":"string"},"boards":{"type":"array","items":{"$ref":"#/definitions/board"}}}},"updateMilestoneValues":{"title":"updateMilestoneValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"generalInfo":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"}}},"patchMilestoneValues":{"title":"patchMilestoneValues","type":"object","properties":{"name":{"type":"string"},"generalInfo":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"}}},"createMilestoneValues":{"title":"createMilestoneValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"generalInfo":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"}}},"closeMilestoneValues":{"title":"closeMilestoneValues","required":["closeBoards"],"type":"object","properties":{"closeBoards":{"type":"boolean"},"boardsTargetMilestoneId":{"format":"int32","type":"integer"},"closeTasks":{"type":"boolean"},"tasksTargetBoardId":{"format":"int32","type":"integer"}}},"project":{"title":"project","required":["id","workspaceId","name","creationDate","owner","costMetric","isDemo","moduleConfig"],"type":"object","properties":{"id":{"format":"int32","type":"integer"},"workspaceId":{"format":"int32","type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"closingDate":{"format":"date-time","type":"string"},"creationDate":{"format":"date-time","type":"string"},"owner":{"$ref":"#/definitions/user"},"costMetric":{"type":"string"},"isDemo":{"type":"boolean"},"hoursPerDay":{"format":"float","type":"number"},"moduleConfig":{"$ref":"#/definitions/projectModuleConfig"},"defaultBoardId":{"format":"int32","type":"integer"}}},"projectModuleConfig":{"title":"projectModuleConfig","required":["workItems","workItemCategories","workItemDates","workItemCosts","workItemSubTasks","workItemDependencies","workItemAttachments","workItemComments","workItemTags","gameDesignModel","gameDesignModelTypes","gameDesignModelDates","gameDesignModelAttachments","gameDesignModelComments","calendar","burndownChart","ganttChart","metrics","activity","notifications","forceWorkItemDesignElement","forceWorkItemBoard","forceWorkItemEstimatedCost","forceWorkItemDueDate","forceWorkItemDescription","forceWorkItemUser","forceWorkItemTag"],"type":"object","properties":{"workItems":{"type":"boolean"},"workItemCategories":{"type":"boolean"},"workItemDates":{"type":"boolean"},"workItemCosts":{"type":"boolean"},"workItemSubTasks":{"type":"boolean"},"workItemDependencies":{"type":"boolean"},"workItemAttachments":{"type":"boolean"},"workItemComments":{"type":"boolean"},"workItemTags":{"type":"boolean"},"gameDesignModel":{"type":"boolean"},"gameDesignModelTypes":{"type":"boolean"},"gameDesignModelDates":{"type":"boolean"},"gameDesignModelAttachments":{"type":"boolean"},"gameDesignModelComments":{"type":"boolean"},"calendar":{"type":"boolean"},"burndownChart":{"type":"boolean"},"ganttChart":{"type":"boolean"},"metrics":{"type":"boolean"},"activity":{"type":"boolean"},"notifications":{"type":"boolean"},"forceWorkItemDesignElement":{"type":"boolean"},"forceWorkItemBoard":{"type":"boolean"},"forceWorkItemEstimatedCost":{"type":"boolean"},"forceWorkItemDueDate":{"type":"boolean"},"forceWorkItemDescription":{"type":"boolean"},"forceWorkItemUser":{"type":"boolean"},"forceWorkItemTag":{"type":"boolean"}}},"updateProjectValues":{"title":"updateProjectValues","required":["name","costMetric","hoursPerDay"],"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"costMetric":{"type":"string"},"hoursPerDay":{"format":"float","type":"number"},"preserveProportion":{"type":"boolean"}}},"patchProjectValues":{"title":"patchProjectValues","type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"costMetric":{"type":"string"},"hoursPerDay":{"format":"float","type":"number"},"preserveProportion":{"type":"boolean"}}},"createProjectValues":{"title":"createProjectValues","required":["name","costMetric"],"type":"object","properties":{"workspaceId":{"format":"int32","type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"generalInfo":{"type":"string"},"costMetric":{"type":"string"},"hoursPerDay":{"format":"float","type":"number"},"template":{"$ref":"#/definitions/projectTemplateOptions"},"moduleConfig":{"$ref":"#/definitions/projectModuleConfig"}}},"projectTemplateOptions":{"title":"projectTemplateOptions","required":["templateProjectId","copyUsers","copyGameDesignModel","copyBoards","copyWorkItems"],"type":"object","properties":{"templateProjectId":{"format":"int32","type":"integer"},"copyUsers":{"type":"boolean"},"copyGameDesignModel":{"type":"boolean"},"copyBoards":{"type":"boolean"},"copyWorkItems":{"type":"boolean"}}},"createProjectCategoryValues":{"title":"createProjectCategoryValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"}}},"updateProjectCategoryValues":{"title":"updateProjectCategoryValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"}}},"patchProjectCategoryValues":{"title":"patchProjectCategoryValues","type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"}}},"updateProjectDesignElementTypeValues":{"title":"updateProjectDesignElementTypeValues","required":["name"],"type":"object","properties":{"name":{"type":"string"}}},"createProjectDesignElementTypeValues":{"title":"createProjectDesignElementTypeValues","required":["name"],"type":"object","properties":{"name":{"type":"string"}}},"projectEvent":{"title":"projectEvent","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"name":{"type":"string"},"url":{"type":"string"},"category":{"$ref":"#/definitions/projectCategory"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"isAllDayEvent":{"type":"boolean"}}},"projectStorageData":{"title":"projectStorageData","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"totalSpace":{"format":"int64","type":"integer"},"totalUsedSpace":{"format":"int64","type":"integer"},"projectUsedSpace":{"format":"int64","type":"integer"},"fileLimit":{"format":"int32","type":"integer"}}},"projectImportanceLevel":{"title":"projectImportanceLevel","required":["creationDate"],"type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"importanceLevelId":{"format":"int32","type":"integer"},"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"isDefault":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"}}},"updateProjectImportanceLevelValues":{"title":"updateProjectImportanceLevelValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"isDefault":{"type":"boolean"}}},"patchProjectImportanceLevelValues":{"title":"patchProjectImportanceLevelValues","type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"isDefault":{"type":"boolean"}}},"createProjectImportanceLevelValues":{"title":"createProjectImportanceLevelValues","required":["name"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"isDefault":{"type":"boolean"}}},"updateProjectRoleValues":{"title":"updateProjectRoleValues","required":["name","isAdmin","permissions"],"type":"object","properties":{"name":{"type":"string"},"isAdmin":{"type":"boolean"},"permissions":{"$ref":"#/definitions/setProjectUserPermissionsValues"}}},"setProjectUserPermissionsValues":{"title":"setProjectUserPermissionsValues","type":"object","properties":{"categoryPermissions":{"type":"array","items":{"$ref":"#/definitions/setProjectUserCategoryPermissionsValues"}},"gameDesignModelPermissions":{"$ref":"#/definitions/setProjectUserFeaturePermissionsValues"},"featurePermissions":{"type":"array","items":{"$ref":"#/definitions/setProjectUserFeaturePermissionsValues"}}}},"setProjectUserCategoryPermissionsValues":{"title":"setProjectUserCategoryPermissionsValues","required":["categoryId","canRead","canWrite","canUpdate"],"type":"object","properties":{"categoryId":{"format":"int32","type":"integer"},"canRead":{"type":"boolean"},"canWrite":{"type":"boolean"},"canUpdate":{"type":"boolean"}}},"setProjectUserFeaturePermissionsValues":{"title":"setProjectUserFeaturePermissionsValues","required":["id","name","canRead","canWrite"],"type":"object","properties":{"id":{"format":"int32","type":"integer"},"name":{"type":"string"},"canRead":{"type":"boolean"},"canWrite":{"type":"boolean"}}},"ProjectRole_Internal":{"title":"projectR","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"roleId":{"format":"int32","type":"integer"},"name":{"type":"string"},"isAdmin":{"type":"boolean"},"displayOrder":{"format":"int32","type":"integer"},"creationDate":{"format":"date-time","type":"string"},"categoryAccess":{"type":"array","items":{"$ref":"#/definitions/ProjectUserCategoryAccess_Internal"}},"designAccess":{"$ref":"#/definitions/ProjectUserFeatureAccess_Internal"},"featureAccess":{"type":"array","items":{"$ref":"#/definitions/ProjectUserFeatureAccess_Internal"}}}},"ProjectUserCategoryAccess_Internal":{"title":"projectUserCategoryAcc","required":["categoryId","canRead","canWrite","canUpdate"],"type":"object","properties":{"categoryId":{"format":"int32","type":"integer"},"categoryName":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"canRead":{"type":"boolean"},"canWrite":{"type":"boolean"},"canUpdate":{"type":"boolean"}}},"ProjectUserFeatureAccess_Internal":{"title":"projectUserFeatureAcc","required":["id","name","canRead","canWrite"],"type":"object","properties":{"id":{"format":"int32","type":"integer"},"name":{"type":"string"},"canRead":{"type":"boolean"},"canWrite":{"type":"boolean"}}},"patchProjectRoleValues":{"title":"patchProjectRoleValues","type":"object","properties":{"name":{"type":"string"},"isAdmin":{"type":"boolean"},"permissions":{"$ref":"#/definitions/setProjectUserPermissionsValues"}}},"createProjectRoleValues":{"title":"createProjectRoleValues","required":["name","isAdmin"],"type":"object","properties":{"name":{"type":"string"},"isAdmin":{"type":"boolean"},"permissions":{"$ref":"#/definitions/setProjectUserPermissionsValues"}}},"projectStage":{"title":"projectStage","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"stageId":{"format":"int32","type":"integer"},"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"status":{"type":"string"},"isUnblocker":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"}}},"updateProjectStageValues":{"title":"updateProjectStageValues","required":["name","status","isUnblocker"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"status":{"type":"string"},"isUnblocker":{"type":"boolean"}}},"ProjectStage_Internal":{"title":"projectSt","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"stageId":{"format":"int32","type":"integer"},"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"status":{"format":"int32","enum":[1,2,3],"type":"integer"},"isUnblocker":{"type":"boolean"},"displayOrder":{"format":"int32","type":"integer"},"creationDate":{"format":"date-time","type":"string"}}},"patchProjectStageValues":{"title":"patchProjectStageValues","type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"status":{"type":"string"},"isUnblocker":{"type":"boolean"}}},"createProjectStageValues":{"title":"createProjectStageValues","required":["name","status","isUnblocker"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"status":{"type":"string"},"isUnblocker":{"type":"boolean"}}},"projectTag":{"title":"projectTag","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"tagId":{"format":"int32","type":"integer"},"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"displayIconOnly":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"}}},"createProjectTagValues":{"title":"createProjectTagValues","required":["name","displayIconOnly"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"displayIconOnly":{"type":"boolean"}}},"updateProjectTagValues":{"title":"updateProjectTagValues","required":["name","displayIconOnly"],"type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"displayIconOnly":{"type":"boolean"}}},"patchProjectTagValues":{"title":"patchProjectTagValues","type":"object","properties":{"name":{"type":"string"},"icon":{"type":"string"},"color":{"type":"string"},"displayIconOnly":{"type":"boolean"}}},"createProjectUserValues":{"title":"createProjectUserValues","required":["email","isAdmin","isGuest"],"type":"object","properties":{"email":{"type":"string"},"isAdmin":{"type":"boolean"},"isGuest":{"type":"boolean"},"permissions":{"$ref":"#/definitions/setProjectUserPermissionsValues"},"roleId":{"format":"int32","type":"integer"}}},"updateProjectUserValues":{"title":"updateProjectUserValues","required":["isAdmin","isGuest","permissions"],"type":"object","properties":{"isAdmin":{"type":"boolean"},"isGuest":{"type":"boolean"},"permissions":{"$ref":"#/definitions/setProjectUserPermissionsValues"},"roleId":{"format":"int32","type":"integer"}}},"patchProjectUserValues":{"title":"patchProjectUserValues","type":"object","properties":{"isAdmin":{"type":"boolean"},"isGuest":{"type":"boolean"},"permissions":{"$ref":"#/definitions/setProjectUserPermissionsValues"},"roleId":{"format":"int32","type":"integer"}}},"webhook":{"title":"webhook","required":["projectId","webhookId","url","events","isEnabled","creator","creationDate"],"type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"webhookId":{"format":"int32","type":"integer"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"isEnabled":{"type":"boolean"},"headers":{"type":"array","items":{"type":"string"}},"creator":{"$ref":"#/definitions/projectUser"},"creationDate":{"format":"date-time","type":"string"}}},"updateWebhookValues":{"title":"updateWebhookValues","required":["url","events"],"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"headers":{"type":"array","items":{"type":"string"}}}},"patchWebhookValues":{"title":"patchWebhookValues","type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"headers":{"type":"array","items":{"type":"string"}}}},"createWebhookValues":{"title":"createWebhookValues","required":["url","events"],"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"headers":{"type":"array","items":{"type":"string"}}}},"workItem":{"title":"workItem","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"workItemId":{"format":"int32","type":"integer"},"parentStoryId":{"format":"int32","type":"integer"},"isStory":{"type":"boolean"},"title":{"type":"string"},"description":{"type":"string"},"category":{"$ref":"#/definitions/projectCategory"},"stage":{"$ref":"#/definitions/projectStage"},"estimatedCost":{"format":"float","type":"number"},"loggedCost":{"format":"float","type":"number"},"storyTasksEstimatedCost":{"format":"float","type":"number"},"storyTasksLoggedCost":{"format":"float","type":"number"},"boardIndex":{"format":"int32","type":"integer"},"designElementIndex":{"format":"int32","type":"integer"},"designElement":{"$ref":"#/definitions/designElement"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"updateDate":{"format":"date-time","type":"string"},"closingDate":{"format":"date-time","type":"string"},"creationDate":{"format":"date-time","type":"string"},"user":{"$ref":"#/definitions/user"},"board":{"$ref":"#/definitions/board"},"assignedUsers":{"type":"array","items":{"$ref":"#/definitions/projectUser"}},"tags":{"type":"array","items":{"$ref":"#/definitions/projectTag"}},"importanceLevel":{"$ref":"#/definitions/projectImportanceLevel"},"picture":{"$ref":"#/definitions/workItemAttachment"},"hasDependencies":{"type":"boolean"},"isBlocked":{"type":"boolean"}}},"workItemAttachment":{"title":"workItemAttachment","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"workItemId":{"format":"int32","type":"integer"},"attachmentId":{"format":"int32","type":"integer"},"file":{"$ref":"#/definitions/projectFile"},"user":{"$ref":"#/definitions/user"},"isCardPicture":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"}}},"updateWorkItemValues":{"title":"updateWorkItemValues","required":["title","isStory","estimatedCost","importanceLevelId"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"parentId":{"format":"int32","type":"integer"},"isStory":{"type":"boolean"},"categoryId":{"format":"int32","type":"integer"},"estimatedCost":{"format":"float","type":"number"},"importanceLevelId":{"format":"int32","type":"integer"},"boardId":{"format":"int32","type":"integer"},"designElementId":{"format":"int32","type":"integer"},"stageId":{"format":"int32","type":"integer"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"boardIndex":{"format":"int32","type":"integer"},"designElementIndex":{"format":"int32","type":"integer"}}},"patchWorkItemValues":{"title":"patchWorkItemValues","type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"parentId":{"format":"int32","type":"integer"},"isStory":{"type":"boolean"},"categoryId":{"format":"int32","type":"integer"},"estimatedCost":{"format":"float","type":"number"},"importanceLevelId":{"format":"int32","type":"integer"},"boardId":{"format":"int32","type":"integer"},"designElementId":{"format":"int32","type":"integer"},"stageId":{"format":"int32","type":"integer"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"boardIndex":{"format":"int32","type":"integer"},"designElementIndex":{"format":"int32","type":"integer"}}},"pagedResult<workItem>":{"title":"pagedResult<workItem>","type":"object","properties":{"totalCount":{"format":"int32","type":"integer"},"offset":{"format":"int32","type":"integer"},"limit":{"format":"int32","type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/workItem"}}}},"createWorkItemValues":{"title":"createWorkItemValues","required":["title","isStory","estimatedCost","importanceLevelId"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"parentId":{"format":"int32","type":"integer"},"isStory":{"type":"boolean"},"categoryId":{"format":"int32","type":"integer"},"estimatedCost":{"format":"float","type":"number"},"importanceLevelId":{"format":"int32","type":"integer"},"boardId":{"format":"int32","type":"integer"},"designElementId":{"format":"int32","type":"integer"},"startDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"assignedUserIds":{"type":"array","items":{"format":"int32","type":"integer"}},"tagIds":{"type":"array","items":{"format":"int32","type":"integer"}},"subTasks":{"type":"array","items":{"type":"string"}},"dependencyIds":{"type":"array","items":{"format":"int32","type":"integer"}}}},"pagedResult<workItemAttachment>":{"title":"pagedResult<workItemAttachment>","type":"object","properties":{"totalCount":{"format":"int32","type":"integer"},"offset":{"format":"int32","type":"integer"},"limit":{"format":"int32","type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/workItemAttachment"}}}},"pagedResult<workItemComment>":{"title":"pagedResult<workItemComment>","type":"object","properties":{"totalCount":{"format":"int32","type":"integer"},"offset":{"format":"int32","type":"integer"},"limit":{"format":"int32","type":"integer"},"items":{"type":"array","items":{"$ref":"#/definitions/workItemComment"}}}},"workItemComment":{"title":"workItemComment","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"workItemId":{"format":"int32","type":"integer"},"commentId":{"format":"int32","type":"integer"},"text":{"type":"string"},"user":{"$ref":"#/definitions/user"},"workLog":{"$ref":"#/definitions/workLog"},"creationDate":{"format":"date-time","type":"string"},"updateDate":{"format":"date-time","type":"string"}}},"workLog":{"title":"workLog","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"workItemId":{"format":"int32","type":"integer"},"workLogId":{"format":"int32","type":"integer"},"user":{"$ref":"#/definitions/user"},"value":{"format":"float","type":"number"},"comment":{"type":"string"},"creationDate":{"format":"date-time","type":"string"}}},"workItemDependency":{"title":"workItemDependency","type":"object","properties":{"workItem":{"$ref":"#/definitions/workItem"},"isResolved":{"type":"boolean"}}},"workItemSubTask":{"title":"workItemSubTask","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"workItemId":{"format":"int32","type":"integer"},"subTaskId":{"format":"int32","type":"integer"},"title":{"type":"string"},"isCompleted":{"type":"boolean"},"index":{"format":"int32","type":"integer"},"creationDate":{"format":"date-time","type":"string"}}},"updateWorkItemSubTaskValues":{"title":"updateWorkItemSubTaskValues","required":["title","isCompleted","index"],"type":"object","properties":{"title":{"type":"string"},"isCompleted":{"type":"boolean"},"index":{"format":"int32","type":"integer"}}},"patchWorkItemSubTaskValues":{"title":"patchWorkItemSubTaskValues","type":"object","properties":{"title":{"type":"string"},"isCompleted":{"type":"boolean"},"index":{"format":"int32","type":"integer"}}},"ProjectTag_Internal":{"title":"project","type":"object","properties":{"projectId":{"format":"int32","type":"integer"},"tagId":{"format":"int32","type":"integer"},"displayOrder":{"format":"int32","type":"integer"},"name":{"type":"string"},"groupName":{"type":"string"},"color":{"type":"string"},"icon":{"type":"string"},"displayIconOnly":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"}}},"createWorkLogValues":{"title":"createWorkLogValues","type":"object","properties":{"value":{"format":"float","type":"number"},"comment":{"type":"string"}}},"workspace":{"title":"workspace","required":["id","name","owner","totalSeats","usedSeats","creationDate"],"type":"object","properties":{"id":{"format":"int32","type":"integer"},"name":{"type":"string"},"owner":{"$ref":"#/definitions/user"},"generalInfo":{"type":"string"},"totalSeats":{"format":"int32","type":"integer"},"usedSeats":{"format":"int32","type":"integer"},"creationDate":{"format":"date-time","type":"string"},"projects":{"type":"array","items":{"$ref":"#/definitions/project"}}}},"workspaceTeam":{"title":"workspaceTeam","type":"object","properties":{"workspaceId":{"format":"int32","type":"integer"},"teamId":{"format":"int32","type":"integer"},"name":{"type":"string"},"users":{"type":"array","items":{"$ref":"#/definitions/workspaceUser"}},"creator":{"$ref":"#/definitions/workspaceUser"},"creationDate":{"format":"date-time","type":"string"}}},"workspaceUser":{"title":"workspaceUser","type":"object","properties":{"workspaceId":{"format":"int32","type":"integer"},"user":{"$ref":"#/definitions/user"},"teamId":{"format":"int32","type":"integer"},"isAdmin":{"type":"boolean"},"isGuest":{"type":"boolean"},"isActive":{"type":"boolean"},"creationDate":{"format":"date-time","type":"string"}}}}}