List and retrieve diffs with detailed revision information

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

{
    "id": 1055536,
    "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-xu64xcze6bhlmerinxxx",
    "review_task_id": "FvM13WSDQDq6MVzz9J5KSA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7352a086bf829df8df1860c5c5f4f4fba52dd13a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055536/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T00:52:52.499191Z"
}