Is there a way to schedule assignments to be published at a later date?
Currently we can only set DRAFT or PUBLISHED state and cannot specify the publish date when creating an assignment.
Basically this is not possible using the API which currently supports creating assignments only. In creating a coursework, you can only set the status to PUBLISHED and DRAFT (no delaying publish). You can submit, view, and vote on feature requests in their issue tracker.
Related
As a best practice, I am trying to make use of LUIS app versions when making changes to my LUIS model. This ensures that I can compare how different LUIS app versions perform, and allows me to easily roll back in case the predictions are not as expected.
I have Active Learning enabled, and want to review LUIS Endpoint Utterances. However, I notice that the LUIS Endpoint Utterances are only available in the currently active version, and not copied over to a clone of the active version.
Is it correct that reviewing Endpoint Utterances can only be done directly in the active (production) version, and not in any new (cloned) version of the app, or did I miss something? What are your best practices for reviewing endpoint utterances without having to add them directly to the production-published version?
The only workaround I found is to export all endpoint utterances of the last month via the API or via LUIS CLI (one by one for each intent..), and then manually apply these on the v2 cloned version, but I feel there should be a better way?
Seems like there must have been some hiccup or it might take some time in the back-end for the endpoint utterances to appear, since today they are displaying correctly under the new cloned version. Problem solved!
I'm trying to solve a problem of preventing double bookings using the Google Calendar Api (v3). I'm using Google resources in a GSuite environment. The bookings are made from a centralized platform on behalf of multiple users and are applied to multiple rooms (resources). The responsible application authenticates using a Service Account. The resource calendars are all configured to only accept invitations that do not conflict.
So far I found out that there are at least two ways to book a resource:
Create an event in the resource calendar
Create an event in a personal calendar en add the resource as attendee
I found out that in the first senario, events can be added to the resource calendar, even if they cause a conflict. There is no failure in the api response, the event is just added.
I tested the second scenario with my personal calendar and found out that the room needs to respond to the event invitation. Apparently that process may take several minutes before the room responds.
I'm building an api that should respond as fast as possible, but I want it to only create an event if it doesn't conflict. Of course I can use the free/busy information to reduce the chance of conclicts, but I would like to eliminate that chance entirely.
Does anyone know if Google provides functionality for this problem out of the box?
Thanks in advance.
Google does not do any validation on the api. You send what you want inserted and they insert it. Its up to you to ensure that it does not conflict with anything already there.
May i suggest that you check before you insert it and then do a double check in a few minutes to ensure there is no conflicts if there is then delete it again.
I am working on a POC to proof out the ability to get a list of all the new users who have been added to a specific Slack Channel. From my initial review of the Slack API I am not seeing anything that showcases this ability, I was curious to see if anyone had worked on something similar or could point me to resources that would be a viable solution.
I believe there is no ready-made API method available, that will give you that specific information. However, Slack is very flexible and you can use the existing building blocks to easily add additional features as needed.
E.g. To get the requested information you can develop a small Slack app that listens to the member_joined_channel and member_left_channel events to keep track of when members joined a channel.
If you need a historical record of membership in a channel, you could use the Slack API's groups.history method, page through results, and build a membership log by looking for events of type member_joined_channel and member_left_channel through time.
I am trying to create a google sync API(background API using scheduler) which basically updates my database courses with the google classroom courses.
The Google Classroom API does not seem to have a mechanism for fetching only create/update/delete courses. right now I am able to fetch all courses from google classrooms using google classrooms API but i want only created/updated/deleted courses list.
Also, can I call my API endpoint, if a course is created/updated/deleted into google classrooms course?
Upon checking the documentation, it is not yet supported. You can restrict returned courses to those in one of the specified states "only" using courseStates parameter.
Possible states a course can be in.
COURSE_STATE_UNSPECIFIED
ACTIVE
ARCHIVED
PROVISIONED
DECLINED
SUSPENDED
If the feature hasn't been requested yet, you can file a feature request on the Issue Tracker.
I got a reply on Google Issue Tracker after creating a feature request:-
Google Issue Tracker Url:
https://issuetracker.google.com/issues/74175718
Reply:
So, you're correct that we don't yet support returning the list of courses which have been updated since your last sync. I've changed this to a feature request to reflect that.
However, in case it's helpful to you, we do offer two things that might address some of your needs:
(1) Our courses.list endpoint (https://developers.google.com/classroom/reference/rest/v1/courses/list) guarantees that results are ordered by most recently created. So it should be easy to detect all the courses that have been created since the last sync by doing timestamp comparisons.
(2) If your sync job is running with the credentials of a domain administrator, you can use push notifications (https://developers.google.com/classroom/guides/push-notifications) to get updated when the rosters change for all courses in the domain (course creation will appear as a notification that the primary teacher has been added to the course, so you should be able to detect that as well).
I read an article about Microsoft Flow. I was wondering if it is possible to trigger events using this in an external website.
For instance, supposing a post is made on Yammer for some approval flow based application. If an authorized user comments saying "Approved", this must trigger an action in my external website.
Is this feasible using Flow?
You can also make your own custom connectors if your website has a RESTful API. https://learn.microsoft.com/en-us/flow/register-custom-api
There is an event for Yammer in Microsoft flow. I have something set up similar for my company and Twitter. When our company is mentioned it sends a message off to our social director.
I have several such flows for things like Yelp, Twitter, Facebook.
You need your Yammer account.
The events that you can trigger from and then include a trigger word or phrase are:
Get All messages
Get Messages in a group
Get Messages from my Following Feed
Post Message
Once you have that trigger its simple enough to look for the key word within a condition step.
Chances are good there is already a template for this in Microsoft Flow. Just look at the ones for Yelp, Facebook, etc. and modify for your needs
Just as AJAX mentioned, you can apply your own Custom Connector for a case like this. A Connector is the "plugin" used with a Flow, such as Yammer.
It's a bit late since November 28th (practically a 30-day late response here), but PowerApps allows you to create your own Custom Connector applying Microsoft's API. You'd be able to plug into your website (GET, POST, etc) directly with this when you create a trigger (the condition met true) that would launch an action. If you created your own API, Microsoft would have to validate if it's met standards pertaining to security.
By applying PowerApps, you'd be able to create your own actions and triggers. From this, you can integrate your own web based process' based on documentation that was observed: https://powerapps.microsoft.com/en-us/blog/brand-new-custom-api-experience-in-powerapps/. From here, you'd be able to customize it was needed.
JSON is required for some circumstances, however Postman would be a great IDE to consider as it also applies a pre-approved API by Micrsoft.