Add Favorite Project to Favorite Projects of a User
Request
POST <REST API URL>/users/{user id}/favoriteprojects?fields=string
Parameter | Description |
---|---|
fields | Optional query parameter. Specifies a subset of the fields to be returned. Use Fields Syntax to define subset. |
Request Body
project
{ "id": string, "aliasIds": [string, ...], "aliases": [alias, ...], "key": string, "name": string, "archived": boolean, "description": string, "creationTime": calendar, "iconUrl": string, "resources": [resource, ...], "projectRoles": [projectRole, ...], "transitiveProjectRoles": [projectRole, ...], "myFavorite": boolean }
Response
Response body
project
{ "id": string, "aliasIds": [string, ...], "aliases": [alias, ...], "key": string, "name": string, "archived": boolean, "description": string, "creationTime": calendar, "iconUrl": string, "resources": [resource, ...], "projectRoles": [projectRole, ...], "transitiveProjectRoles": [projectRole, ...], "myFavorite": boolean }
Last modified: 19 July 2017