/checkForUpdates: Check for Updates

URL:
https://[root]/portals/[portalID]/livingatlascatalog/checkForUpdates
Methods:
GET
Required Capability:
Administrator
Version Introduced:
11.3

Example usage

The following is a sample ArcGIS Enterprise request URL used to access the the checkForUpdates resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/sharing/rest/portals/0123456789ABCDEF/livingatlascatalog/checkForUpdates?f=pjson

Description

The checkForUpdates resource returns a list of previously installed, as well as currently available for installation, ArcGIS Living Atlas content packages. For available packages, the response includes a newContentAvailable property. When true, a content update can be started immediately or scheduled for another time.

This resource also indicates if an update is already scheduled or is currently in progress. If the installInProgress property is true, the jobID for the current update can be gathered from the Living Atlas Catalog resource and used to check the current status of the installation. If the installIsScheduled property is true, this indicates that an update has been scheduled for a later time, and the response will include the scheduleInfo object that indicates when the update will package will be downloaded and installed.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  "installedPackages": [
    {
      "packageId": "504272abf2ab47798b50c428814ce3df",
      "packageName": "1709750481052.lapk",
      "sizeInBytes": 166724882,
      "timeOfExport": 1709341200000,
      "exporterVersion": "1",
      "region": "all-region",
      "itemsCount": 1861,
      "sourceGroup": "1bf88d8c1d5c4b3da791c84f8e857bde",
      "packageChecksum": "a48cf03556dc662e5b554d8e1499710ec7d10809da102cffa90390c7dc3785a5",
      "release": "2024.1",
      "created": 1709341200000,
      "accountId": "0123456789ABCDEF",
      "importDateTime": 1709341200000
    }
  ],
  "availablePackages": [
    {
      "packageId": "1897ca6b39284c4db098f439da5a92e0",
      "packageName": "1712087139105.lapk",
      "sizeInBytes": 138263224,
      "timeOfExport": 1712087270519,
      "exporterVersion": "1",
      "region": "all-region",
      "itemsCount": 1870,
      "sourceGroup": "76652cf8194d4f249660379fd7c20672",
      "packageChecksum": "f4ec541f1cc4e46d01148c8ebe2f999650765062aabc38d808e98e1527a7f75d",
      "release": "2024.2",
      "created": -1
    }
  ],
  "newContentAvailable": true,
  "installInProgress": false,
  "installScheduled": true,
  "canConnectServer": true,
  "scheduleInfo": {
    "interval": 0,
    "repeatCount": 0,
    "timesTriggered": 0,
    "startTime": 1712172786601,
    "nextFireTime": 1712172786601,
    "state": "NORMAL"
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.