How to activate OpenAPI in MediaMosa?

26Jan2012

Dear all,

how can the OpenAPI interface in Mediamosa be activated?

So far, I defined an DNS and VHost (e.g. http://openapi.MyMediamosa.de) which points to the main installation, created a openapi.mediamosa.local subdirectory in .../sites/ and changed the settings.php accordingly.
In the MM backend, the OpenAPI module is activated, and in the global settings an open client application is defined. But, on the status page the Open Api interface remains disabled (??).

BTW: in which way is the OpenAPI interface used by other applications, e.g. the BasicLTI tool?

Cheers, Dietmar

Comments

Dietmar, Everything seems ok,

Dietmar,

Everything seems ok, except one thing:
The openapi subdirectory (under .../sites/) should be "openapi.MyMediamosa.de".

Subdirectory changed, but nothing changes

Hi Forgacs,

thanks for your fast reply.

I changed the subdirectory from "openapi.mediamosa.local" (which was the alias of the VHost) to the real DNS name, but nothing happens - OpenAPI interface status ist still disabled (even after refreshing and clearing of all caches).

What else could I try?

Dietmar

Dietmar, Please copy the real

Dietmar,

Please copy the real openapi DNS name (eg. openapi.MyMediamosa.de) to you browser. What do you see?

Does the openapi interface (under "sites" directory) have these lines?
$conf['mediamosa_app_openapi'] = TRUE;
$conf['mediamosa_installation_id'] = 'openapi';

Is your OpenAPI module enabled on your module page (http://your-mediamosa/admin/modules)?

Is the OpenAPI part filled correctly on your global settings page (http://your-mediamosa/admin/mediamosa/config/global)?

PS. Which MediaMosa version do you use?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.