List and retrieve diffs with detailed revision information

GET /v1/diff/1041713/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1041713,
    "revision": {
        "id": 472113,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9648b1c81728fd45192c49d88c21b09dd3cc53ca",
        "head_changeset": "ce8a28ed49af85c09c9e5b770b301c300f6fb680",
        "phabricator_id": 245014,
        "phabricator_phid": "PHID-DREV-4xst7s5xbguh65lthvwa",
        "title": "WIP: Bug 1959452 - [devtools] Throttle parent process events on the server side",
        "bugzilla_id": 1959452,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472113/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472113/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245014"
    },
    "phid": "PHID-DIFF-twvxfvfb3mej3xcsrj6e",
    "review_task_id": "P6H5vkuYSmehQMsYxyFH7A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2a70ab5e1221ef0b314d9cc932fa82b2304dee31",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041713/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-23T02:39:20.831812Z"
}