Versions API
It can often be useful to determine if you are using the latest version of DataTables or its various extensions. The API presented here gives a JSON feed of the versions and their build date / time stamp so you can check if you are using the latest DataTables software, either in an automated or manual way. We use these feeds for our own build tools and the DataTables debugger.
API
This HTTP API accepts only GET
requests and does so with a single URL:
GET http[s]://api.datatables.net/versions/feed
The returned JSON object contains an object for each piece of software in the DataTables suite. These objects contain release
and nightly
properties which in turn contain version
(x.y.z) and date
properties (ISO8601). The release version is the currently tagged release, while the nightly is the latest version of the development code for that library. The nightly may be in-sync with the release version, or it might contain fixes and / or new features.
Example
Get version information:
Request
GET https://api.datatables.net/versions/feed
Response
{
"DataTables": {
"release": {
"version": "1.10.16",
"date": "2017-08-31T14:20:43+01:00"
},
"nightly": {
"version": "1.10.17-dev",
"date": "2018-03-30T13:38:54+01:00"
}
},
"AutoFill": {
"release": {
"version": "2.2.2",
"date": "2017-09-12T12:24:15+01:00"
},
"nightly": {
"version": "2.2.2",
"date": "2018-02-22T16:53:18+00:00"
}
},
"Buttons": {
"release": {
"version": "1.5.1",
"date": "2017-12-22T11:24:38+00:00"
},
"nightly": {
"version": "1.5.1",
"date": "2018-03-28T16:05:48+01:00"
}
},
...
}