Create a new project
POST /projects
POST
/projects
Create a new project (student role required)
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-User-Role
required
string
Student role required for this endpoint
Request Body required
Section titled “Request Body required ”object
project_name
required
Name of the project
string
project_desc
required
Detailed description of the project
string
company_id
required
ID of the company associated with the project
integer
project_status
required
Current status of the project
string
project_url
URL to project repository or documentation
string format: uri
start_date
required
Project start date
string format: date
end_date
required
Project end date
string format: date
Responses
Section titled “ Responses ”Project created successfully
object
success
boolean
data
Created resource data
message
Optional success message
string
Bad request - invalid input
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Unauthorized - authentication required
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Conflict - resource already exists
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Internal server error
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string