List and retrieve diffs with detailed revision information

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

{
    "id": 1076392,
    "revision": {
        "id": 486095,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2895861ddf669cfa59a0777276cfd5c0a578ac8e",
        "head_changeset": "4d176b35764a3ce87e4ffa30192ac0d29a871923",
        "phabricator_id": 255043,
        "phabricator_phid": "PHID-DREV-53xo3lbn57jejrmmj5bv",
        "title": "Bug 1972811 - Account Hub Address Book LDAP Advanced Form Tests. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1972811,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486095/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486095/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255043"
    },
    "phid": "PHID-DIFF-qv4ohlbtbjlulbkyxxjf",
    "review_task_id": "bSNjpVXuQ9e0ANLyh2FepA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "bdb75f94a853cb6d20e055216f1709c3319a9404",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076392/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T01:37:03.706101Z"
}