List and retrieve diffs with detailed revision information

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

{
    "id": 1081107,
    "revision": {
        "id": 493542,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "733d32c030591d7a9ccfb6afa3a235e2835cfed4",
        "head_changeset": "eadebe91fced9b1022c36cfd9b3be13ec8daad08",
        "phabricator_id": 256881,
        "phabricator_phid": "PHID-DREV-ark4oclreeikqvzrfo33",
        "title": "Bug 1976768 - Add WPT relating to stretch of and intrinsic sizing of grid tracks based from <img> elements",
        "bugzilla_id": 1976768,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493542/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493542/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256881"
    },
    "phid": "PHID-DIFF-wil2j2aswll7wrr2ftah",
    "review_task_id": "ZjTUMRNMRz6SFQuy6ETmfA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eadebe91fced9b1022c36cfd9b3be13ec8daad08",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081107/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T21:55:01.614024Z"
}