List and retrieve diffs with detailed revision information

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

{
    "id": 1036148,
    "revision": {
        "id": 474713,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2f011e9000255918217f9fe3eb90b260519b15a1",
        "head_changeset": "51313c876d061e11778dece058c4108debad5b8d",
        "phabricator_id": 248737,
        "phabricator_phid": "PHID-DREV-oocnc77ntvo7xcikj3uq",
        "title": "Bug 1952044 - Add code to create an \"existing\" profile before starting the account manager. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1952044,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474713/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474713/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248737"
    },
    "phid": "PHID-DIFF-u5pc7fj3i3wgmhohsdkx",
    "review_task_id": "bHYlKYRlQPGEvN7bSaFVtQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9748ba5498183a7151976ac400a731627bce9020",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036148/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T09:15:40.132552Z"
}