info: name: Update Media Item type: http seq: 16 http: method: PUT url: "{{base_url}}/api/media-items/{{media_item_id}}" headers: - name: "" value: application/json body: type: json data: "" auth: inherit runtime: scripts: - type: tests code: |- test_update_media_item_success(status, headers, body) { if (status !== 200) { throw new Error("Expected status 200, got " + status); settings: encodeUrl: true timeout: 0 followRedirects: true maxRedirects: 5 docs: |- ## Update Media Item Updates an existing media item's metadata. **Method:** PUT **Endpoint:** /api/media-items/{id