Partager via


Updates - List

Retourne les deltas entre les révisions d’éléments de travail

GET https://dev.azure.com/{organization}/{project}/_apis/wit/workItems/{id}/updates?api-version=5.0
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workItems/{id}/updates?$top={$top}&$skip={$skip}&api-version=5.0

Paramètres URI

Nom Dans Obligatoire Type Description
id
path True

integer

int32
organization
path True

string

Nom de l’organisation Azure DevOps.

project
path

string

ID de projet ou nom du projet

api-version
query True

string

Version de l’API à utiliser. Cette valeur doit être définie sur « 5.0 » pour utiliser cette version de l’API.

$skip
query

integer

int32
$top
query

integer

int32

Réponses

Nom Type Description
200 OK

WorkItemUpdate[]

opération réussie

Sécurité

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Nom Description
vso.work Accorde la possibilité de lire des éléments de travail, des requêtes, des tableaux, des chemins de zone et d’itérations et d’autres métadonnées associées au suivi des éléments de travail. Permet également d’exécuter des requêtes, de rechercher des éléments de travail et de recevoir des notifications sur les événements d’élément de travail via des hooks de service.

Exemples

List of work item updates
List of work item updates (project scoped)
Paged list of work item updates

List of work item updates

Sample Request

GET https://dev.azure.com/fabrikam/_apis/wit/workItems/{id}/updates?api-version=5.0

Sample Response

{
  "count": 13,
  "value": [
    {
      "id": 1,
      "workItemId": 1,
      "rev": 1,
      "revisedBy": {
        "displayName": "Jamal Hartnett",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "_links": {
          "avatar": {
            "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
      },
      "revisedDate": "2017-09-04T02:28:56.253Z",
      "fields": {
        "System.Id": {
          "newValue": 1
        },
        "System.AreaId": {
          "newValue": 2
        },
        "System.NodeName": {
          "newValue": "MyAgilePro1"
        },
        "System.AreaLevel1": {
          "newValue": "MyAgilePro1"
        },
        "System.Rev": {
          "newValue": 1
        },
        "System.AuthorizedDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.RevisedDate": {
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.IterationId": {
          "newValue": 3
        },
        "System.IterationLevel1": {
          "newValue": "MyAgilePro1"
        },
        "System.IterationLevel2": {
          "newValue": "Iteration 1"
        },
        "System.WorkItemType": {
          "newValue": "Bug"
        },
        "System.State": {
          "newValue": "New"
        },
        "System.Reason": {
          "newValue": "New"
        },
        "System.AssignedTo": {},
        "System.CreatedDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.CreatedBy": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.ChangedDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.ChangedBy": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.AuthorizedAs": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.PersonId": {
          "newValue": 90562141
        },
        "System.Watermark": {
          "newValue": 1
        },
        "System.IsDeleted": {
          "newValue": false
        },
        "System.TeamProject": {
          "newValue": "MyAgilePro1"
        },
        "System.AreaPath": {
          "newValue": "MyAgilePro1"
        },
        "System.IterationPath": {
          "newValue": "MyAgilePro1\\Iteration 1"
        },
        "System.Title": {
          "newValue": "Bug 1"
        },
        "Microsoft.VSTS.Common.Priority": {
          "newValue": 2
        },
        "Microsoft.VSTS.Common.Severity": {
          "newValue": "3 - Medium"
        },
        "Microsoft.VSTS.Common.ValueArea": {
          "newValue": "Business"
        },
        "Microsoft.VSTS.Common.StateChangeDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.Tags": {
          "newValue": ""
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/1"
    },
    {
      "id": 2,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:36:18.75Z",
      "fields": {
        "System.Rev": {
          "oldValue": 1,
          "newValue": 2
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:28:56.253Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "System.AssignedTo": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.Watermark": {
          "oldValue": 1,
          "newValue": 8
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/2"
    },
    {
      "id": 3,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:33:39.23Z",
      "relations": {
        "added": [
          {
            "rel": "System.LinkTypes.Hierarchy-Reverse",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/2",
            "attributes": {
              "isLocked": false
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/3"
    },
    {
      "id": 4,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:34:48.16Z",
      "relations": {
        "removed": [
          {
            "rel": "System.LinkTypes.Hierarchy-Reverse",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/2",
            "attributes": {
              "isLocked": false
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/4"
    },
    {
      "id": 5,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:35:05.287Z",
      "relations": {
        "added": [
          {
            "rel": "System.LinkTypes.Hierarchy-Reverse",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/7",
            "attributes": {
              "isLocked": false,
              "comment": "1"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/5"
    },
    {
      "id": 6,
      "workItemId": 1,
      "rev": 3,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:36:25.3Z",
      "fields": {
        "System.Rev": {
          "oldValue": 2,
          "newValue": 3
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:28:56.253Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:18.75Z",
          "newValue": "2017-09-04T02:36:25.3Z"
        },
        "System.IterationId": {
          "oldValue": 3,
          "newValue": 4
        },
        "System.IterationLevel2": {
          "oldValue": "Iteration 1",
          "newValue": "Iteration 2"
        },
        "System.State": {
          "oldValue": "New",
          "newValue": "Active"
        },
        "System.Reason": {
          "oldValue": "New",
          "newValue": "Approved"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:28:56.253Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "System.Watermark": {
          "oldValue": 8,
          "newValue": 11
        },
        "System.IterationPath": {
          "oldValue": "MyAgilePro1\\Iteration 1",
          "newValue": "MyAgilePro1\\Iteration 2"
        },
        "Microsoft.VSTS.Common.StateChangeDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "Microsoft.VSTS.Common.ActivatedDate": {
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "Microsoft.VSTS.Common.ActivatedBy": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "Microsoft.VSTS.TCM.SystemInfo": {
          "newValue": "step 2"
        },
        "Microsoft.VSTS.TCM.ReproSteps": {
          "newValue": "step 1"
        },
        "System.Tags": {
          "oldValue": "",
          "newValue": "beauty"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/6"
    },
    {
      "id": 7,
      "workItemId": 1,
      "rev": 4,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:36:41.253Z",
      "fields": {
        "System.Rev": {
          "oldValue": 3,
          "newValue": 4
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:18.75Z",
          "newValue": "2017-09-04T02:36:25.3Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:25.3Z",
          "newValue": "2017-09-04T02:36:41.253Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:18.75Z",
          "newValue": "2017-09-04T02:36:25.3Z"
        },
        "System.Watermark": {
          "oldValue": 11,
          "newValue": 12
        },
        "System.History": {
          "newValue": "yeah"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/7"
    },
    {
      "id": 8,
      "workItemId": 1,
      "rev": 5,
      "revisedBy": {
        "displayName": "Jamal Hartnett",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "_links": {
          "avatar": {
            "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
      },
      "revisedDate": "2017-09-04T02:36:46.74Z",
      "fields": {
        "System.Rev": {
          "oldValue": 4,
          "newValue": 5
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:25.3Z",
          "newValue": "2017-09-04T02:36:41.253Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:41.253Z",
          "newValue": "2017-09-04T02:36:46.74Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:25.3Z",
          "newValue": "2017-09-04T02:36:41.253Z"
        },
        "System.Watermark": {
          "oldValue": 12,
          "newValue": 13
        },
        "Microsoft.VSTS.Scheduling.StoryPoints": {
          "newValue": 3
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/8"
    },
    {
      "id": 9,
      "workItemId": 1,
      "rev": 6,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:39:29.947Z",
      "fields": {
        "System.Rev": {
          "oldValue": 5,
          "newValue": 6
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:41.253Z",
          "newValue": "2017-09-04T02:36:46.74Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:46.74Z",
          "newValue": "2017-09-04T02:39:29.947Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:41.253Z",
          "newValue": "2017-09-04T02:36:46.74Z"
        },
        "System.Watermark": {
          "oldValue": 13,
          "newValue": 14
        },
        "Microsoft.VSTS.Common.Activity": {
          "newValue": "Design"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/9"
    },
    {
      "id": 10,
      "workItemId": 1,
      "rev": 7,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:39:57.757Z",
      "fields": {
        "System.Rev": {
          "oldValue": 6,
          "newValue": 7
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:46.74Z",
          "newValue": "2017-09-04T02:39:29.947Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:39:29.947Z",
          "newValue": "2017-09-04T02:39:57.757Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:46.74Z",
          "newValue": "2017-09-04T02:39:29.947Z"
        },
        "System.Watermark": {
          "oldValue": 14,
          "newValue": 15
        }
      },
      "relations": {
        "added": [
          {
            "rel": "AttachedFile",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/attachments/d3cbc148-a333-487c-91f7-16b0a75f6407",
            "attributes": {
              "authorizedDate": "2017-09-04T02:39:29.947Z",
              "id": 573492,
              "resourceCreatedDate": "2017-09-04T02:39:27.337Z",
              "resourceModifiedDate": "2017-06-07T05:56:53.893Z",
              "revisedDate": "9999-01-01T00:00:00Z",
              "resourceSize": 13946,
              "name": "5.jpg"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/10"
    },
    {
      "id": 11,
      "workItemId": 1,
      "rev": 8,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:43:24.21Z",
      "fields": {
        "System.Rev": {
          "oldValue": 7,
          "newValue": 8
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:39:29.947Z",
          "newValue": "2017-09-04T02:39:57.757Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:39:57.757Z",
          "newValue": "2017-09-04T02:43:24.21Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:39:29.947Z",
          "newValue": "2017-09-04T02:39:57.757Z"
        },
        "System.Watermark": {
          "oldValue": 15,
          "newValue": 16
        }
      },
      "relations": {
        "added": [
          {
            "rel": "AttachedFile",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/attachments/626b9081-5be0-4d98-a2af-52111ab732f5",
            "attributes": {
              "authorizedDate": "2017-09-04T02:39:57.757Z",
              "id": 573493,
              "resourceCreatedDate": "2017-09-04T02:39:53.157Z",
              "resourceModifiedDate": "2017-07-03T09:54:08.343Z",
              "revisedDate": "9999-01-01T00:00:00Z",
              "resourceSize": 11577,
              "name": "Book1.xlsx"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/11"
    },
    {
      "id": 12,
      "workItemId": 1,
      "rev": 8,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:41:28.437Z",
      "relations": {
        "added": [
          {
            "rel": "System.LinkTypes.Related",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/10",
            "attributes": {
              "isLocked": false,
              "comment": "1"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/12"
    },
    {
      "id": 13,
      "workItemId": 1,
      "rev": 9,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "9999-01-01T00:00:00Z",
      "fields": {
        "System.Rev": {
          "oldValue": 8,
          "newValue": 9
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:39:57.757Z",
          "newValue": "2017-09-04T02:43:24.21Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:43:24.21Z",
          "newValue": "9999-01-01T00:00:00Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:39:57.757Z",
          "newValue": "2017-09-04T02:43:24.21Z"
        },
        "System.Watermark": {
          "oldValue": 16,
          "newValue": 18
        },
        "System.History": {
          "newValue": "Güvenlik\naçığı testi"
        },
        "Microsoft.VSTS.TCM.ReproSteps": {
          "oldValue": "step 1",
          "newValue": "<p>step 1</p><p>Güvenlik\naçığı testi</p>"
        },
        "System.Tags": {
          "oldValue": "beauty",
          "newValue": "beauty; Güvenlik açığı testi"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/13"
    }
  ]
}

List of work item updates (project scoped)

Sample Request

GET https://dev.azure.com/fabrikam/_apis/wit/workItems/{id}/updates?api-version=5.0

Sample Response

{
  "count": 13,
  "value": [
    {
      "id": 1,
      "workItemId": 1,
      "rev": 1,
      "revisedBy": {
        "displayName": "Jamal Hartnett",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "_links": {
          "avatar": {
            "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
      },
      "revisedDate": "2017-09-04T02:28:56.253Z",
      "fields": {
        "System.Id": {
          "newValue": 1
        },
        "System.AreaId": {
          "newValue": 2
        },
        "System.NodeName": {
          "newValue": "MyAgilePro1"
        },
        "System.AreaLevel1": {
          "newValue": "MyAgilePro1"
        },
        "System.Rev": {
          "newValue": 1
        },
        "System.AuthorizedDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.RevisedDate": {
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.IterationId": {
          "newValue": 3
        },
        "System.IterationLevel1": {
          "newValue": "MyAgilePro1"
        },
        "System.IterationLevel2": {
          "newValue": "Iteration 1"
        },
        "System.WorkItemType": {
          "newValue": "Bug"
        },
        "System.State": {
          "newValue": "New"
        },
        "System.Reason": {
          "newValue": "New"
        },
        "System.AssignedTo": {},
        "System.CreatedDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.CreatedBy": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.ChangedDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.ChangedBy": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.AuthorizedAs": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.PersonId": {
          "newValue": 90562141
        },
        "System.Watermark": {
          "newValue": 1
        },
        "System.IsDeleted": {
          "newValue": false
        },
        "System.TeamProject": {
          "newValue": "MyAgilePro1"
        },
        "System.AreaPath": {
          "newValue": "MyAgilePro1"
        },
        "System.IterationPath": {
          "newValue": "MyAgilePro1\\Iteration 1"
        },
        "System.Title": {
          "newValue": "Bug 1"
        },
        "Microsoft.VSTS.Common.Priority": {
          "newValue": 2
        },
        "Microsoft.VSTS.Common.Severity": {
          "newValue": "3 - Medium"
        },
        "Microsoft.VSTS.Common.ValueArea": {
          "newValue": "Business"
        },
        "Microsoft.VSTS.Common.StateChangeDate": {
          "newValue": "2017-09-04T02:08:16.6Z"
        },
        "System.Tags": {
          "newValue": ""
        }
      },
      "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/1/updates/1"
    },
    {
      "id": 2,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:36:18.75Z",
      "fields": {
        "System.Rev": {
          "oldValue": 1,
          "newValue": 2
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:28:56.253Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "System.AssignedTo": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.Watermark": {
          "oldValue": 1,
          "newValue": 8
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/2"
    },
    {
      "id": 3,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:33:39.23Z",
      "relations": {
        "added": [
          {
            "rel": "System.LinkTypes.Hierarchy-Reverse",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/2",
            "attributes": {
              "isLocked": false
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/3"
    },
    {
      "id": 4,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:34:48.16Z",
      "relations": {
        "removed": [
          {
            "rel": "System.LinkTypes.Hierarchy-Reverse",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/2",
            "attributes": {
              "isLocked": false
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/4"
    },
    {
      "id": 5,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:35:05.287Z",
      "relations": {
        "added": [
          {
            "rel": "System.LinkTypes.Hierarchy-Reverse",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/7",
            "attributes": {
              "isLocked": false,
              "comment": "1"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/5"
    },
    {
      "id": 6,
      "workItemId": 1,
      "rev": 3,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:36:25.3Z",
      "fields": {
        "System.Rev": {
          "oldValue": 2,
          "newValue": 3
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:28:56.253Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:18.75Z",
          "newValue": "2017-09-04T02:36:25.3Z"
        },
        "System.IterationId": {
          "oldValue": 3,
          "newValue": 4
        },
        "System.IterationLevel2": {
          "oldValue": "Iteration 1",
          "newValue": "Iteration 2"
        },
        "System.State": {
          "oldValue": "New",
          "newValue": "Active"
        },
        "System.Reason": {
          "oldValue": "New",
          "newValue": "Approved"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:28:56.253Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "System.Watermark": {
          "oldValue": 8,
          "newValue": 11
        },
        "System.IterationPath": {
          "oldValue": "MyAgilePro1\\Iteration 1",
          "newValue": "MyAgilePro1\\Iteration 2"
        },
        "Microsoft.VSTS.Common.StateChangeDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "Microsoft.VSTS.Common.ActivatedDate": {
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "Microsoft.VSTS.Common.ActivatedBy": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "Microsoft.VSTS.TCM.SystemInfo": {
          "newValue": "step 2"
        },
        "Microsoft.VSTS.TCM.ReproSteps": {
          "newValue": "step 1"
        },
        "System.Tags": {
          "oldValue": "",
          "newValue": "beauty"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/6"
    },
    {
      "id": 7,
      "workItemId": 1,
      "rev": 4,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:36:41.253Z",
      "fields": {
        "System.Rev": {
          "oldValue": 3,
          "newValue": 4
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:18.75Z",
          "newValue": "2017-09-04T02:36:25.3Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:25.3Z",
          "newValue": "2017-09-04T02:36:41.253Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:18.75Z",
          "newValue": "2017-09-04T02:36:25.3Z"
        },
        "System.Watermark": {
          "oldValue": 11,
          "newValue": 12
        },
        "System.History": {
          "newValue": "yeah"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/7"
    },
    {
      "id": 8,
      "workItemId": 1,
      "rev": 5,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": {
          "displayName": "Jamal Hartnett",
          "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
          "_links": {
            "avatar": {
              "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
            }
          },
          "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
          "uniqueName": "fabrikamfiber4@hotmail.com",
          "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
          "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
        },
        "displayName": "Alan Wang",
        "uniqueName": "v-wanyin@microsoft.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:36:46.74Z",
      "fields": {
        "System.Rev": {
          "oldValue": 4,
          "newValue": 5
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:25.3Z",
          "newValue": "2017-09-04T02:36:41.253Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:41.253Z",
          "newValue": "2017-09-04T02:36:46.74Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:25.3Z",
          "newValue": "2017-09-04T02:36:41.253Z"
        },
        "System.Watermark": {
          "oldValue": 12,
          "newValue": 13
        },
        "Microsoft.VSTS.Scheduling.StoryPoints": {
          "newValue": 3
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/8"
    },
    {
      "id": 9,
      "workItemId": 1,
      "rev": 6,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:39:29.947Z",
      "fields": {
        "System.Rev": {
          "oldValue": 5,
          "newValue": 6
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:41.253Z",
          "newValue": "2017-09-04T02:36:46.74Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:36:46.74Z",
          "newValue": "2017-09-04T02:39:29.947Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:41.253Z",
          "newValue": "2017-09-04T02:36:46.74Z"
        },
        "System.Watermark": {
          "oldValue": 13,
          "newValue": 14
        },
        "Microsoft.VSTS.Common.Activity": {
          "newValue": "Design"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/9"
    },
    {
      "id": 10,
      "workItemId": 1,
      "rev": 7,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:39:57.757Z",
      "fields": {
        "System.Rev": {
          "oldValue": 6,
          "newValue": 7
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:36:46.74Z",
          "newValue": "2017-09-04T02:39:29.947Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:39:29.947Z",
          "newValue": "2017-09-04T02:39:57.757Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:36:46.74Z",
          "newValue": "2017-09-04T02:39:29.947Z"
        },
        "System.Watermark": {
          "oldValue": 14,
          "newValue": 15
        }
      },
      "relations": {
        "added": [
          {
            "rel": "AttachedFile",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/attachments/d3cbc148-a333-487c-91f7-16b0a75f6407",
            "attributes": {
              "authorizedDate": "2017-09-04T02:39:29.947Z",
              "id": 573492,
              "resourceCreatedDate": "2017-09-04T02:39:27.337Z",
              "resourceModifiedDate": "2017-06-07T05:56:53.893Z",
              "revisedDate": "9999-01-01T00:00:00Z",
              "resourceSize": 13946,
              "name": "5.jpg"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/10"
    },
    {
      "id": 11,
      "workItemId": 1,
      "rev": 8,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:43:24.21Z",
      "fields": {
        "System.Rev": {
          "oldValue": 7,
          "newValue": 8
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:39:29.947Z",
          "newValue": "2017-09-04T02:39:57.757Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:39:57.757Z",
          "newValue": "2017-09-04T02:43:24.21Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:39:29.947Z",
          "newValue": "2017-09-04T02:39:57.757Z"
        },
        "System.Watermark": {
          "oldValue": 15,
          "newValue": 16
        }
      },
      "relations": {
        "added": [
          {
            "rel": "AttachedFile",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/attachments/626b9081-5be0-4d98-a2af-52111ab732f5",
            "attributes": {
              "authorizedDate": "2017-09-04T02:39:57.757Z",
              "id": 573493,
              "resourceCreatedDate": "2017-09-04T02:39:53.157Z",
              "resourceModifiedDate": "2017-07-03T09:54:08.343Z",
              "revisedDate": "9999-01-01T00:00:00Z",
              "resourceSize": 11577,
              "name": "Book1.xlsx"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/11"
    },
    {
      "id": 12,
      "workItemId": 1,
      "rev": 8,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:41:28.437Z",
      "relations": {
        "added": [
          {
            "rel": "System.LinkTypes.Related",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/10",
            "attributes": {
              "isLocked": false,
              "comment": "1"
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/12"
    },
    {
      "id": 13,
      "workItemId": 1,
      "rev": 9,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "9999-01-01T00:00:00Z",
      "fields": {
        "System.Rev": {
          "oldValue": 8,
          "newValue": 9
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:39:57.757Z",
          "newValue": "2017-09-04T02:43:24.21Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:43:24.21Z",
          "newValue": "9999-01-01T00:00:00Z"
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:39:57.757Z",
          "newValue": "2017-09-04T02:43:24.21Z"
        },
        "System.Watermark": {
          "oldValue": 16,
          "newValue": 18
        },
        "System.History": {
          "newValue": "Güvenlik\naçığı testi"
        },
        "Microsoft.VSTS.TCM.ReproSteps": {
          "oldValue": "step 1",
          "newValue": "<p>step 1</p><p>Güvenlik\naçığı testi</p>"
        },
        "System.Tags": {
          "oldValue": "beauty",
          "newValue": "beauty; Güvenlik açığı testi"
        }
      },
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItems/1/updates/13"
    }
  ]
}

Paged list of work item updates

Sample Request

GET https://dev.azure.com/fabrikam/_apis/wit/workItems/{id}/updates?api-version=5.0

Sample Response

{
  "count": 2,
  "value": [
    {
      "id": 2,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "displayName": "Jamal Hartnett",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "_links": {
          "avatar": {
            "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
        "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
      },
      "revisedDate": "2017-09-04T02:36:18.75Z",
      "fields": {
        "System.Rev": {
          "oldValue": 1,
          "newValue": 2
        },
        "System.AuthorizedDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.RevisedDate": {
          "oldValue": "2017-09-04T02:28:56.253Z",
          "newValue": "2017-09-04T02:36:18.75Z"
        },
        "System.AssignedTo": {
          "newValue": {
            "displayName": "Jamal Hartnett",
            "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "_links": {
              "avatar": {
                "href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
              }
            },
            "id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "uniqueName": "fabrikamfiber4@hotmail.com",
            "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
            "descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
          }
        },
        "System.ChangedDate": {
          "oldValue": "2017-09-04T02:08:16.6Z",
          "newValue": "2017-09-04T02:28:56.253Z"
        },
        "System.Watermark": {
          "oldValue": 1,
          "newValue": 8
        }
      },
      "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/1/updates/2"
    },
    {
      "id": 3,
      "workItemId": 1,
      "rev": 2,
      "revisedBy": {
        "id": "764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "name": "Jamal Hartnett <fabrikamfiber4@hotmail.com>",
        "displayName": "Jamal Hartnett",
        "uniqueName": "fabrikamfiber4@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/764a73bf-ac8b-41d9-8dee-d4f5f0edf711",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=764a73bf-ac8b-41d9-8dee-d4f5f0edf711"
      },
      "revisedDate": "2017-09-04T02:33:39.23Z",
      "relations": {
        "added": [
          {
            "rel": "System.LinkTypes.Hierarchy-Reverse",
            "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/2",
            "attributes": {
              "isLocked": false
            }
          }
        ]
      },
      "url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/1/updates/3"
    }
  ]
}

Définitions

Nom Description
IdentityReference

Décrit une référence à une identité.

ReferenceLinks

Classe pour représenter une collection de liens de référence REST.

WorkItemFieldUpdate

Décrit une mise à jour d’un champ d’élément de travail.

WorkItemRelation
WorkItemRelationUpdates

Descrives met à jour les relations d’un élément de travail.

WorkItemUpdate

Décrit une mise à jour d’un élément de travail.

IdentityReference

Décrit une référence à une identité.

Nom Type Description
_links

ReferenceLinks

Ce champ contient zéro ou plus de liens intéressants sur l’objet du graphique. Ces liens peuvent être appelés pour obtenir des relations supplémentaires ou des informations plus détaillées sur ce sujet de graphique.

descriptor

string

Le descripteur est le principal moyen de référencer l’objet du graphique pendant l’exécution du système. Ce champ identifie de manière unique le même sujet de graphique dans les comptes et les organisations.

directoryAlias

string

displayName

string

Il s’agit du nom d’affichage non unique de l’objet du graphique. Pour modifier ce champ, vous devez modifier sa valeur dans le fournisseur source.

id

string

imageUrl

string

inactive

boolean

isAadIdentity

boolean

isContainer

boolean

isDeletedInOrigin

boolean

name

string

Propriété back-compat héritée. Il s’agit de la valeur spécifique WIT des constantes. Sera masqué (mais existe) sur le client, sauf s’il cible la version la plus récente

profileUrl

string

uniqueName

string

url

string

Cette URL est l’itinéraire complet vers la ressource source de ce sujet de graphique.

Classe pour représenter une collection de liens de référence REST.

Nom Type Description
links

object

Vue en lecture seule des liens. Étant donné que les liens référence sont en lecture seule, nous voulons uniquement les exposer en lecture seule.

WorkItemFieldUpdate

Décrit une mise à jour d’un champ d’élément de travail.

Nom Type Description
newValue

object

Nouvelle valeur du champ.

oldValue

object

Ancienne valeur du champ.

WorkItemRelation

Nom Type Description
attributes

object

Collection d’attributs de lien.

rel

string

Type de relation.

url

string

URL du lien.

WorkItemRelationUpdates

Descrives met à jour les relations d’un élément de travail.

Nom Type Description
added

WorkItemRelation[]

Liste des relations nouvellement ajoutées.

removed

WorkItemRelation[]

Liste des relations supprimées.

updated

WorkItemRelation[]

Liste des relations mises à jour.

WorkItemUpdate

Décrit une mise à jour d’un élément de travail.

Nom Type Description
_links

ReferenceLinks

Lier des références à des ressources REST associées.

fields

<string,  WorkItemFieldUpdate>

Liste des mises à jour des champs.

id

integer

ID de la mise à jour.

relations

WorkItemRelationUpdates

Liste des mises à jour des relations.

rev

integer

Numéro de révision de la mise à jour de l’élément de travail.

revisedBy

IdentityReference

Identité pour la mise à jour de l’élément de travail.

revisedDate

string

L’élément de travail met à jour la date de révision.

url

string

workItemId

integer

ID de l’élément de travail.