curl --request POST \
--url 'https://api.unify.ai/v0/project/favorites' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"id": 1,
"project": "my-project",
"icon": "star",
"position": 0
}
Creates a new favorite project for the user.
Each favorite must include a project name, icon, and position.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The name of the project to favorite
Icon identifier for the favorite project
Position of the project in the favorites list
curl --request POST \
--url 'https://api.unify.ai/v0/project/favorites' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"id": 1,
"project": "my-project",
"icon": "star",
"position": 0
}