info: name: Create Device File Alias type: http seq: 3 http: method: POST url: '{{base_url}}/api/devices/{{device_id}}/file-aliases' auth: inherit body: type: json data: |- { "media_item_id": "550e8400-e29b-41d4-a716-446655440001", "file_name": "book.epub", "file_hash": "abc123..." } settings: encodeUrl: true timeout: 0 followRedirects: true maxRedirects: 5 runtime: scripts: - type: tests code: |- test("status is 201", function() { expect(res.status).to.eql(201); }); docs: content: |- # Create Device File Alias `POST /api/devices/:id/file-aliases` — auth: jwt. Canonical reference: docs/developer/api/book-matching/create_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