List and retrieve diffs with detailed revision information

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

{
    "id": 1030043,
    "revision": {
        "id": 474054,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e879b1bb4d7639b900163a32357adf60c6709547",
        "head_changeset": "a4182f425edddb7c23099a43a0c5ae26a33a3a9e",
        "phabricator_id": 247855,
        "phabricator_phid": "PHID-DREV-cmodvrlkxjhb5t26lctw",
        "title": "Bug 1964543 - semantic history search inference on hold until DB is ready r=mak,tarek",
        "bugzilla_id": 1964543,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474054/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474054/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247855"
    },
    "phid": "PHID-DIFF-wj4ecojkkmhaez4hza5e",
    "review_task_id": "HGHTsMqcT6Cs8aQ4ZGl7ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b46c2f0dc9147da98991aee3af221aeb6ab3ea54",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030043/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-08T20:50:48.233309Z"
}