List and retrieve diffs with detailed revision information

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

{
    "id": 1107664,
    "revision": {
        "id": 515123,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7aabf176e583603ee13f1e79d85a8fea3db0cee7",
        "head_changeset": "4ba40c411ebb1d2e3a002d4f23f6ff5b14b16740",
        "phabricator_id": 261531,
        "phabricator_phid": "PHID-DREV-fn6wczw3nesgwuboq7ek",
        "title": "Bug 1983027: Do not show market suggestion if no polygon values",
        "bugzilla_id": 1983027,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515123/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515123/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261531"
    },
    "phid": "PHID-DIFF-5mcxntwtglsg2xaaw4ze",
    "review_task_id": "c98LCKn6RZ6hMKr9Hza6sg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ba40c411ebb1d2e3a002d4f23f6ff5b14b16740",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107664/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T09:50:05.459098Z"
}