문제

I am trying to get number of topics added, edited and deleted by certain users.

I am able to get number of topics using following query:

[{
  "creator":     "/user/getsaurabhsaxena",
  "name":        null,
  "id":          null,
  "mid":         null,
  "type": [{
    "name": null,
    "id":   null
  }],
  "timestamp>=": "2012-11-11T00:00:00.0000Z",
  "timestamp<=": "2012-12-12T23:23:59.0000Z",
  "timestamp":   null,
  "sort":        "-timestamp"
}]​

I am not able to figure out the way to get the number of edits and deletions. Can anyone help on this?

도움이 되었습니까?

해결책

operation property has three values insert, delete and update by which you can get number of additions, deletions and updates. :) I am using following query for the same.

[{
  "operation":     null,
  "source": {
  },
  "from:timestamp>=": "2012-11-12T00:00:00.000Z",
  "to:timestamp<": "2012-12-12T23:23:59.000Z",
  "attribution":   "/user/<username>",
  "timestamp":     null,
  "sort":          "-timestamp",
  "type":          "/type/link",
  "limit":         1000
}]​
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top