List and retrieve diffs with detailed revision information

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

{
    "id": 1107744,
    "revision": {
        "id": 515336,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c86968af1f0b25676c960093b32b6f0ee03bfc70",
        "head_changeset": "47a7d57d678884bd67d1f805c4266237dfe833d7",
        "phabricator_id": 261556,
        "phabricator_phid": "PHID-DREV-feg6sf266tpjxhk4kdrn",
        "title": "Bug 1983727 - Fix failures in test_google.js when run on ESR.",
        "bugzilla_id": 1983727,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515336/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515336/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261556"
    },
    "phid": "PHID-DIFF-gf2fdvgprfhpyjz2m63g",
    "review_task_id": "HKn7KXnJRFy0b-eVtKtawA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "47a7d57d678884bd67d1f805c4266237dfe833d7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107744/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T13:08:05.488458Z"
}