List and retrieve diffs with detailed revision information

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

{
    "id": 1058182,
    "revision": {
        "id": 477946,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "05fadccf51458c48c07b82be06482918da906c75",
        "head_changeset": "7352a086bf829df8df1860c5c5f4f4fba52dd13a",
        "phabricator_id": 253112,
        "phabricator_phid": "PHID-DREV-ephi72da5no2j4yq5gfu",
        "title": "Bug 1970524 - Replace 'json' with 'mozfile.json' in python/mozrelease. r?#build",
        "bugzilla_id": 1970524,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477946/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477946/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253112"
    },
    "phid": "PHID-DIFF-5oq7fazgzy3ccxwh2agi",
    "review_task_id": "M-xrKJU2SnS8BtXHqCldYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "abd9e49a4fb212c5f7470ef96d4c9a259175ab01",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058182/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T06:48:57.271993Z"
}