List and retrieve diffs with detailed revision information

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

{
    "id": 1076590,
    "revision": {
        "id": 489415,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "549668599889e7398fdac1d25aeb2e9b15f60dd1",
        "head_changeset": "927126e26c365997f35340e512f428be2f9a0b94",
        "phabricator_id": 255784,
        "phabricator_phid": "PHID-DREV-jjpfk7dejo7wm6wpa6x2",
        "title": "WIP: Bug 1974973 - [devtools] Stop escaping for other platforms when selecting Copy as curl (POSIX)",
        "bugzilla_id": 1974973,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489415/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489415/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255784"
    },
    "phid": "PHID-DIFF-lyhxadnbi724oycyjq2y",
    "review_task_id": "C7sobBVpTuypI3PMCAJKuQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "927126e26c365997f35340e512f428be2f9a0b94",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076590/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T11:58:15.805765Z"
}