List and retrieve diffs with detailed revision information

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

{
    "id": 1112071,
    "revision": {
        "id": 520155,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d3e317f7dcfbf7200c97bfc572135a7bf5927ebd",
        "head_changeset": "6e0df2f446a595deb8f142c969aba7e9c897f252",
        "phabricator_id": 262415,
        "phabricator_phid": "PHID-DREV-6bzg4ltgugexwcx2rc5u",
        "title": "Bug 1984997 - Use monospace font for raw XML display. r=#dom-core",
        "bugzilla_id": 1984997,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520155/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520155/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262415"
    },
    "phid": "PHID-DIFF-wejrrfvdkj5xu4l27bwb",
    "review_task_id": "TBzEKrKjSR6lEZ525d5acg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b6671c6152b7f75b131c2610f8f1c07758e7dc7f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112071/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T16:51:34.187593Z"
}