info: name: Create Media Item type: http seq: 1 http: method: POST url: '{{base_url}}/api/media-items' auth: inherit body: type: json jsonBody: '"library_id": "{{library_id' headers: - key: Content-Type value: application/json runtime: scripts: - type: tests code: "test_create_media_item_success(status, headers, body) {\n if (status\ \ !== 201) {\n throw new Error(\"Expected status 201, got \" + status);" docs: |- ## Create Media Item Creates a new media item in a library with full metadata. **Method:** POST **Endpoint:** /api/media-items **Authentication:** Required (Bearer token, admin only) **Prerequisites** - Library must have at least one folder configured before media items can be added - Use `POST /api/libraries/{library_id