Checkin/Checkout a file using Microsoft Graph Client Library - microsoft-graph-api

I want to checkout/checkin a file on my OneDrive for Business using Microsoft Graph Client Library, I see the api calls for checkin/checkout
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/driveitem_checkin
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/driveitem_checkout
But I am unable to find a way to do the same via the library.

As Michael Mainer posted in comments, the latest Microsoft Graph client libraries just support the version 1.0 of the APIs. Meanwhile the API endpoint for check in file and check out file is only available on the beta.
If we want use these APIs, we can only complete the HTTP request by ourselves.
For more detail, you can find it in the issue on the GitHub.

Related

How to add attachments to todoTasks using Microsoft Graph API v1.0

I am trying to add an attachment to a task using Graph API. Previously you can create and list attachments using Outlook Tasks enpoints in Outlook rest API and Graph API beta.
https://learn.microsoft.com/en-us/graph/api/outlooktask-post-attachments?view=graph-rest-beta&tabs=http
However these are going to be deprecated soon and I am unable to find an equivalent feature in Graph Api v1.0.
Anyone knows how to do this in Microsoft To Do API? Thanks in advance
I'm having the same queston. It looks like it is not possible yet with the current 1.0 GraphApi. There is a feature request in Microsoft's techcommunity, feel free to upvote:
https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/implement-todo-task-attachment-apis-in-microsoft-graph-api/idi-p/3061321

Can you use OneDrive Graph API to Download files in bulk?

I am a Java application developer that wants to use Microsoft Graph API to download onedrive files.
Is there a OneDrive Graph API method that can download multiple files in bulk? Or are you forced to use a file-by-file download approach?
I've googled for a while now to see if I can find some answer to this. I did find: https://onedrive.uservoice.com/forums/262982-onedrive/suggestions/9255150-multiple-file-download-onedrive-for-business
Which states that you can actually use OneDrive web UI to download files in bulk.
But does it exist for API?

JIRA - Java API or REST API

i am actually analyzing JIRA for my company regarding the functionalities and the different APIs. At the Atlassian Homepage i found two official provided APIs (JAVA API or JIRA REST API).
My further intentions are to program an interface between my stand-alone application and JIRA. The idea is for instance to control the user-management (add, delete, modify user, etc.), project-management (create project, delete, etc.) and other things from this application. Therefore i need a way to interact with JIRA.
Normally i would avoid the REST API and prefer the JAVA API, because other interfaces are even managed by the JAVA API, but i can't find any examples for connecting, adding or modifying workItems in JIRA. I have just found the java api documentation.
 https://developer.atlassian.com/jiradev/jira-apis/java-api-policy-for-jira
Would you suggest only the JAVA REST API or are there any good examples for the JAVA API?
Thanks a lot!
It really depends on what you are trying to achieve. The Java API is mostly used to build Jira plugins, while the REST API is used when you want to integrate external applications.
In your case the normal choice would be the REST API.

Microsoft graph API old and new

Is there any difference between what one can get from
https://graph.windows.net vs https://graph.microsoft.com?
It seems that there's different versions for one, .net is under version 1.6 and .com under 1.0.
They both seem to work with the v2.0 auth scopes, but do they work the same way?
Thanks to anyone that can shed some light!
Using Microsoft Graph (https://graph.microsoft.com) you can access the data that is exposed in the Azure AD graph API (https://graph.windows.net) and, in addition to that, access data from services like Outlook/Exchange, OneDrive, SharePoint, OneNote, Planner and more (for both consumer and commercial).
The recommendation is to use Microsoft Graph API. That said, there is still a small percentage of functionality that is only available in the Azure AD Graph and we are working hard to close the gap.

Is there a library or guide for publishing data via GData (Google Data Protocol)?

GData is Google's version of OData. It is what Google uses to publish a number of their data sources. With OData there are both client and server side tools, but I am only seeing client libraries for GData. Are there server libraries for GData?
More research looks like GDAta is only published by Google, and then end users can only create clients. By design it is a one way system.

Resources