o365-moodle icon indicating copy to clipboard operation
o365-moodle copied to clipboard

Feature Request — Web Services API Function to Enable & Disable Teams Sync for a given set of Course

Open bbusschots-mu opened this issue 4 years ago • 2 comments

While this plugin does provide some Web Services API functions, it does not currently provide any for controlling course sync to Teams.

It would be extremely helpful to be able to programatically enable or disable sync for one or more courses via the web services API.

Based on the way other API functions work, I would suggest something along the lines of:

Name: local_o365_update_courseTeamsSync Arguments:

courses (required)

Array
(
    Object {
        [id] => int # course ID
        [sync] => boolean
    }
)

Return:

data

Array
(
    Object {
        [course] => int # course ID
        [sync] => boolean
    }
)

bbusschots-mu avatar Aug 23 '21 14:08 bbusschots-mu

@bbusschots-mu,

Hi Bart,

While I totally understand the potential value of this feature may add to your site, it may not be that useful to most sites. I can keep it in the queue of feature request, but I'm afraid this won't be processed for a long time.

With that said, are you interested in sponsoring this feature request?

Regards, Lai

weilai-irl avatar Sep 08 '21 14:09 weilai-irl

Hi @weilai-irl — for now I think the best thing to do is to keep this open so others can up-vote it if it does prove to be something more people want.

bbusschots-mu avatar Sep 13 '21 11:09 bbusschots-mu