Logical meaning of mediaEntry in upload API

Hello Kaltura expert,

I am reading tutorials here, I think we need a session to talk to server and need a file which we are going to upload. Wondering what is the logical meaning of mediaEntry here in upload operation (it seems redundant, given we have session and file to upload) and what it is used for?


thanks in advance,

Hello Lin,

In order to upload a file, you indeed need to create an entry.
You might find this example easier to understand:

Thanks Jess for the details, how upload physical file is bound to mediaEntry in your sample? Thanks.

BTW, I mean which line/lines combine them?