Project Project Link
'/projects/{id}/project-links'
GET
async find(
@param.path.number('id') id: number,
@param.query.object('filter') filter?: Filter<ProjectLink>,
): Promise<ProjectLink[]>POST
async create(
@param.path.number('id') id: typeof Project.prototype.id,
@requestBody({
content: {
'application/json': {
schema: getModelSchemaRef(ProjectLink, {
title: 'NewProjectLinkInProject',
exclude: ['id'],
optional: ['projectId']
}),
},
},
}) projectLink: Omit<ProjectLink, 'id'>,
): Promise<ProjectLink>PATCH
'/projects/{id}/project-links/delete'
POST
Last updated