Commit c9280d5a authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1738686: Adding generic blog/blogpost webservice"

parents 353e4105 9b135c06
......@@ -391,3 +391,5 @@ $string['membersinvalidaction'] = 'invalid action "%s" for user "%s" on group "%
$string['passwordmustbechangedviawebsite'] = 'You need to change your password. Please log in via a web browser in order to update your password.';
$string['featuredisabled'] = 'This web services feature is not enabled. Please contact your site administrator for more information.';
$string['institutionunknown'] = '- unknown -';
$string['notuserblog'] = 'The journal is not owned by "%s"';
\ No newline at end of file
......@@ -12,7 +12,7 @@
defined('INTERNAL') || die();
$config = new stdClass();
$config->version = 2017030600;
$config->release = '2.0.2';
$config->version = 2017121800;
$config->release = '2.0.3';
$config->requires_config = 0;
$config->requires_parent = 0;
This diff is collapsed.
......@@ -246,6 +246,24 @@ $functions = array(
'description' => 'Unlock view that has been used for an assessment',
'type' => 'write',
),
// === blog related functions ===
'mahara_blog_get_blogs_for_user' => array(
'classname' => 'mahara_blog_external',
'methodname' => 'get_blogs_for_user',
'classpath' => WEBSERVICE_DIRECTORY,
'description' => 'Get blogs/posts for a specific user',
'type' => 'read',
),
'mahara_blog_create_blogpost' => array(
'classname' => 'mahara_blog_external',
'methodname' => 'create_blogpost',
'classpath' => WEBSERVICE_DIRECTORY,
'description' => 'Add blogpost to specified blog for a specific user',
'type' => 'write',
),
);
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment