List and retrieve diffs with detailed revision information

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

{
    "id": 1078374,
    "revision": {
        "id": 484781,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bca237bebcf2a69a4d4a4ccc2274ae1e00abdd48",
        "head_changeset": "40a09f918de5c4a12e3ef2dd3c8194286866594b",
        "phabricator_id": 254835,
        "phabricator_phid": "PHID-DREV-pj2ymgmkn56h2ykncc6y",
        "title": "Bug 1940283 - Add a node-licenses linter to ensure that licenses included via the top-level and eslint-plugin-mozilla package.json files are acceptable. r?#linter-reviewers!,#releng-reviewers!,#frontend-codestyle-reviewers!",
        "bugzilla_id": 1940283,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484781/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484781/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254835"
    },
    "phid": "PHID-DIFF-6j77eix7i3rmhve5ptru",
    "review_task_id": "JugxFiUVQX-Lui1QUgUWSg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f0615a11a8a6e0785dd187a2e6a57a4cce078050",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078374/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-05T10:49:38.545463Z"
}