List and retrieve diffs with detailed revision information

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

{
    "id": 1077809,
    "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-a5gjm2eskhi4ecxtkrmz",
    "review_task_id": "cPlb1O1HSNqM2EBaA9lNDw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0b0b2f91627c391aa0ba18dca42428aab70fdc10",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077809/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T23:39:48.949354Z"
}