Hanzo AI
OpenapiProjects

Replace star

Bookmarks a project for the person calling, and answers whether it is starred afterwards.

PUT /v1/projects/{slug}/star

Addresshttps://api.hanzo.ai/v1/projects/{slug}/star
MethodPUT
Operationput_projects_by_slug_star
AuthAuthorization: Bearer $HANZO_API_KEY

Bookmarks a project for the person calling, and answers whether it is starred afterwards.

The star is YOURS: it is keyed by you as well as by the project, so two people see two answers for the same one and starring it says nothing about anybody else's list. Starring a project you have already starred leaves it starred.

Request

1 field.

FieldInTypeRequiredDescription
slugpathstringyesSlug is the project to act on, from the path.

Response

StatusBodyMeaning
200projectsStarok

200 body — 1 field.

FieldInTypeAlwaysDescription
starredbodybooleanStarred is whether THIS caller has starred the project after the toggle — their own bookmark, not a property the project carries, so two people see two answers…

Failure carries the platform error shape — see Errors.

Examples

hanzo projects star replace <slug>

Projects API · All Hanzo APIs · Interactive reference

How is this guide?

On this page