Skip To Content

Lifecycle Information (Service)

Description

A service's lifecycleinfos resource returns the date and time information (in Unix epoch format) for when a service was created or updated.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access a service's lifecycleinfos resource:

https://machine.domain.com/webadaptor/admin/services/Maps/SeattleMap.MapServer/lifecycleinfos?f=pjson

JSON Response example


{
  "lifecycleinfos": [
    {
      "user": "0123456789ABCDEF::portaladmin",
      "timestamp": 1681810861337,
      "type": "created"
    },
    {
      "user": "0123456789ABCDEF::portaladmin",
      "timestamp": 1681810865978,
      "type": "edited"
    },
    {
      "user": "",
      "timestamp": 1681820011156,
      "type": "stopped"
    },
    {
      "user": "",
      "timestamp": 1681820011572,
      "type": "started"
    }
  ],
  "lastmodified": 1681820011572
}