List and retrieve diffs with detailed revision information

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

{
    "id": 1055627,
    "revision": {
        "id": 477961,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f6a40b1e57eb7b0676551c7168db6dd97c0218fa",
        "head_changeset": "78208973605a7e5b6aa545ae05510c505a6f4fe5",
        "phabricator_id": 253127,
        "phabricator_phid": "PHID-DREV-hkbytxhfusxpdivuc2pq",
        "title": "Bug 1968971 - [devtools] Don't copy selected request URL on Cmd/Ctrl+C when there's selected text or focus is on an input. r=#devtools",
        "bugzilla_id": 1968971,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477961/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477961/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253127"
    },
    "phid": "PHID-DIFF-gwcq7igegsyot74e2cs4",
    "review_task_id": "YiEXtIARSEumGwUa0nXB6Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "78208973605a7e5b6aa545ae05510c505a6f4fe5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055627/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T08:01:40.093228Z"
}