Can old versions of DriveItems be deleted via the Graph API? - microsoft-graph-api

I'm finding that some of my Drive Items have tons of versions and I'd like to clean some of them up.
Is it possible to do this via the Graph API?

Currently the Graph API looks like it only supports list versions, get versions, get contents and restore versions for Versions of a drive item.
From: https://learn.microsoft.com/en-us/graph/api/resources/driveitemversion?view=graph-rest-1.0

It's still not officially listed in the documentation, but
DELETE /drives/{drive-id}/items/{item-id}/versions/{version-id}
Seems to work.

Related

ODATA Connected Service Advanced Settings "GenerateMultipleFiles" option is missing

The generate multiple files option is not available in the 0.13.0 Settings UI but there is an entry in the ConnectedService.json settings file.
I tried editing the settings file manually and forcing an update but it did not work.
Has this feature been deprecated or is it just broken? I also noticed the custom namespace option did not seem to work either.
This is what shows up in the online documents:
https://learn.microsoft.com/en-us/odata/connectedservice/generating-multiple-files
Another doc shows a different UI...
What my VS 2017/2019 extension shows:
The latest version seems to be version 0.13, the feature seems to be introduced in the OData Connected Service 0.9.1 Release.
The "Generate Multiple Files" option is only available when you're targeting an OData v4 service. This also applies to a few other settings as well. Confirm whether you're targeting an OData v1, v2 or v3 service, if that's the case, that would explain why you're seeing different available options. The docs should be updated to reflect this.

How to favour a specific version of a website for SEO?

I am running a website that contains documentation for an open-source project of mine. The various pages are available in different versions, which you can differ by their url schema:
/1.0/some-topic
/2.0/some-topc
/latest/some-topic
This works perfectly fine, but I'm running into problems with Google: If you search the web for some topic, you get all the different versions as results. While this is basically fine, it would make more sense to show the newest ones first. Unfortunately, older pages get ranked better than newer ones.
Is there any way I can give a hint to search engines to favour the newer versions of those pages over the older ones? Is there a clean, official way for this?

JIRA: Find issues linked to issues in other projects dynamically

Is there a way to find issues linked to issues in other projects without specifying a specific project? I need to find all issues, from all projects, linked to issues in other projects.
I know that this will find issues in other projects if I can give the issue and project:
issue in linkedIssues(XYZ-000) AND project = 'ABC'
I need a method that works dynamically so I don't have to specify issue or project. I don't want the results to return issues that only have links within their own projects.
Install the JQL Tricks plugin (it is not free, but you can use the evaluation) then try with:
issue in haslinks()
From the official documentation:
hasLinks([count],[linkType],[query])
Function To find all issues that has links and optionally for a count, link type or matching a query.
Since : v1.0 (Support for query is added in 5.3.10)
Usage/Examples:
issue in hasLinks() - Returns all the issues with atleast one link (inward or outward)

Is there Highcharts v5 reference available somewhere? [duplicate]

Does anyone know if the HighCharts 2.* API documentation is still available online anywhere since the release of HighCharts 3? I have not upgraded yet and I could really use access to the API doc for version 2.3.5. In particular, I'd like access to the exporting module documentation from HighCharts 2.3.5.
Unfortunately previous documentation are not available, but in current docs in paramters description you can notice version (right side), which is compability with this option.
Edit:
Highcharts now includes an API folder when downloading a deprecated version https://code.highcharts.com/zips/Highcharts-5.0.0.zip. But the API folder is only on version 5 and up.

Non-minified Google Analytics code

I am building a Blackberry application using Phonegap, and would like to use Google Analytics to track some usage in it. Thanks to dodgy Blackberry browsers, XHR doesn't really work. There is a replacement in Phonegap that does work fine, but I need to replace the call in the Google Analytics library with the replacement in order for it to work. That would be easy if I could find a non-minified version of that library, which seems like it would be easy, but hasn't so far. I'm probably just missing it somewhere, but is there a non-minified version of the GA Javascript code somewhere that I can use and modify?
AFAIK Google does not officially provide a non-minified version of their async code (nor do they officially offer it for download to host yourself like they did with older versions, though I suppose there's nothin' stopping you from yanking it and doing it anyways).

Resources