Modify file information
POST /nd/api/file/update_file
POST body parameters
| Parameter | Type | Description |
|---|---|---|
file_id |
string |
Required file ID |
name |
string |
Optional new name |
description |
string |
Optional description |
Response
Fields listed in the source: code, success.
Calling the Endpoint
Use Authorization: Bearer <access_token>. GET parameters belong in the URL query; normal business POST requests use JSON. Check HTTP status and then the business result. Confirm array serialization and ambiguous types with the deployment instead of inventing fields.