List and retrieve diffs with detailed revision information

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

{
    "id": 1077987,
    "revision": {
        "id": 490607,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "464a560d0f88813bf61665cda943cc708bdee294",
        "head_changeset": "782df34e19b8234fa6187e88329c25937a0afd05",
        "phabricator_id": 256099,
        "phabricator_phid": "PHID-DREV-vv3d2gnfm22ahs6zmt3d",
        "title": "Bug 1975580 - part5 : generate the missed cues concurrently while processing the other cues.",
        "bugzilla_id": 1975580,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490607/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490607/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256099"
    },
    "phid": "PHID-DIFF-7bl7adqrgrb76aulasuz",
    "review_task_id": "LvqfyCXQQX-kp__Aqkuavg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "782df34e19b8234fa6187e88329c25937a0afd05",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077987/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T09:42:28.119964Z"
}