Documents
Set the readable-name rule
Changed onoff derives nothing and clears stored names, default tidies each filename, lua runs your script (reads record.filename, calls record:set('display_name', value)). Takes effect for new documents; apply it to existing ones with the backfill. Requires the documents:write scope. The key's person must be an Admin of the workspace (the workspace permission), as in the web app.
patch/v1/documents/display-name-rule
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
object required
mode, 'off' | 'default' | 'lua' required
script, string
Response
OK
object required
Changes
- info
endpoint added
- info