# ノートにスターを付ける

`POST /api/note/{noteId}/star`

URL: https://repsona.com/ja/api/post-note-noteid-star

ノートにスターを付けます。

## パラメーター

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `noteId` | path | integer | 必須 | ノートの ID |

## リクエスト

```sh
curl -X POST "https://<space>.repsona.com/api/note/{noteId}/star" \
  -H "Authorization: Bearer $REPSONA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## レスポンス

- 200: Starred state
- 401: Authentication is required
- 403: Not a project member
- 404: Note not found

## レスポンスの例

```json
{
  "isStarred": true
}
```
