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?

http://knowledge.kaltura.com/faq/create-new-kaltura-entry-and-upload-video-file-using-kaltura-api

thanks in advance,
Lin

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?

regards,
Lin