# \_setNotes

Sets the Notes for a File.

### Parameters

#### fileId

The ID of the file

#### notes

The text you wish to include in the notes of a file, can be blank.

### Example

```
FM_api('File_setNotes',[
  'fileId'=>'427152',
  'notes'=>'test note
test note line 2'
]);
```

#### On Success

```
{"ok":1}
```

#### On Failure

If the "notes" parameter is not included:

```
{"error":"missing or invalid parameter: notes"}
```

If the "fileId" parameter is not included, or does not match the ID of an existing File:

```
{"error":"file not found"}
```
