info: name: Update Device File Alias type: http seq: 11 http: method: PUT url: '{{base_url}}/api/devices/{{device_id}}/file-aliases/{{alias_id}}' auth: inherit body: type: json data: |- { "file_name": "updated-book.epub", "file_hash": "newhash123..." } settings: encodeUrl: true timeout: 0 followRedirects: true maxRedirects: 5 runtime: scripts: - type: tests code: |- test("status is 200", function() { expect(res.status).to.eql(200); }); docs: content: |- # Update Device File Alias `PUT /api/devices/:id/file-aliases/:aliasId` — auth: jwt. Canonical reference: docs/developer/api/book-matching/update_device_file_alias.md (docs site → Developer → API). This request is GENERATED from that doc; edit the doc, then run the drift test with -update. type: text/markdown