My KalturaCE API V3 Access

2 replies [Last post]
Joined: 11/05/2009
Points: 249

I have a feeling this question is dumb but I have to ask anyway:

I've installed Kaltura CE on my server and everything is working fine. My API test console in KMC works great.

I tried to write a few PHP test scripts to interface with the API on my server using both POST and GET, but I can't figure out what URL to use.

This is what I was going with:

http://www.mydomain.com/kalturaCE/kaltura/api_v3/?service={servicename}&action={actionname}

This doesn't seem to work...am I using the wrong URL here?

Thanks for your help!

Randall

Joined: 01/05/2009
Points: 1697

Well, the only thing that might be wrong with your url is the addition of the /kaltura/ at the beginning.
Urls should look like this:
http://{domain}/api_v3/?service={service_name}&action={action_name}?
And then to describe the parameters and values, you should follow this:
&object_name:property=value
for example:
http://www.kaltura.com /api_v3/?service=media&action=addfromuploadedfile?mediaEntry:adminTags=mytag ...

Joined: 11/05/2009
Points: 249

Thanks Kalturian that was it and you're the man. Don't ask me why I was putting in that extra path...just a lapse of common sense I guess.