Employees
Get projects which employee is assigned to
Changed onReturns a list of projects that the employee is assigned to.
get/employees/{employeeId}/projects
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
employeeIdinteger required
Response
Successful operation
Example response
{
"employee": {
"id": 91720,
"name": "John Doe",
"position": "Software Developer",
"department": "Marketing",
"imgURL": "https://placekitten.com/200/200"
},
"projects": [
{
"employeeURL": "https://placekitten.com/200/200",
"projectStatus": "ACTIVE",
"engagementLevel": "FULL_TIME"
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the required property
//to the response with the status
- info
- breaking
the response's body type changed from
arraytoobjectfor status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking