List and retrieve diffs with detailed revision information

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

{
    "id": 1074913,
    "revision": {
        "id": 486807,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "47d2305074e7678d1e69fc853de92c511f1fd6e5",
        "head_changeset": "c4a813ec665ffc08219bd55efca6bb396661c99a",
        "phabricator_id": 255318,
        "phabricator_phid": "PHID-DREV-hzinxsp3wdtnmqz32anw",
        "title": "Bug 1974424 - Fix url field precedence in remote address book form. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486807/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486807/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255318"
    },
    "phid": "PHID-DIFF-62zkousyjxcvrnazaj6f",
    "review_task_id": "I_aCQrveSfWwDzRHgopRlw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b7d42d1917a28a8828f0c354d8ec5f8d4df50985",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074913/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T04:16:50.269863Z"
}