info: name: Create Rating type: http seq: 1 http: method: POST url: '{{base_url}}/api/media-items/{{media_item_id}}/rating' auth: inherit body: type: json data: |- { "rating": 8 } 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 Rating `POST /api/media-items/:id/rating` — auth: jwt. Canonical reference: docs/developer/api/ratings/create_rating.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