モバイルウェブサービスを有効にする

提供:MoodleDocs
移動先:案内検索


作成中です - Mitsuhiro Yoshida (トーク)

Moodleには、モバイルアプリケーションのために設計された内蔵ウェブサービスが実装されています。公式のdev:Moodle Mobileを動作させる必要があります。あなたがユーザに公式アプリを使用させたい場合、またはサードパーティのアプリが明確に必要とする場合のみ、ウェブサービスを有効にしてください。

モバイルウェブサービスを有効にする

まず、サイト管理者はモバイルウェブサービスを有効にする必要があります:

  • 「設定 > サイト管理 > プラグイン > ウェブサービス > モバイル」において、
  • 「モバイルウェブサービスを有効にする」をチェックして、
  • 「保存」ボタンをクリックしてください。

完了です! 他の作業は必要ありません。

The rest of this document explains the "behind the scenes".

サービスを有効にした場合、何が起きるのか

Enabling the mobile web services will automatically:

  • enable the web services system (Settings > Site administration > Advanced features)
  • enable the built-in external service called 'Mobile web services' - you should see this new mobile service listed as enabled
  • enable the xml-rpc protocol (for backward compatibility with unmaintained My Moodle app)
  • enable the rest protocol
  • allow the 'webservice/xmlrpc:use' capability for authenticated user role
  • allow the 'webservice/rest:use' capability for authenticated user role

モバイルウェブサービスを無効にする

When you uncheck 'Enable mobile web services', it will automatically:

  • disable the external service called 'Mobile web services'.
  • if 'Mobile web services' was the only external service enabled:
    • disable the web services system
    • disable the xml-rpc protocol
    • disable the rest protocol
    • remove the 'webservice/xmlrpc:use' capability for authenticated user role
    • remove the 'webservice/rest:use' capability for authenticated user role

関連情報