List and retrieve diffs with detailed revision information

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

{
    "id": 1039578,
    "revision": {
        "id": 475517,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eb4983d54abd883010eb9799045c5acf848bf3e7",
        "head_changeset": "e896a2b3b65766eeab1779c176ce5ed9f74c3b29",
        "phabricator_id": 249956,
        "phabricator_phid": "PHID-DREV-fba4bvhrmzkkbzdwhipn",
        "title": "Bug 1881701 - Automatically fix new issues raised in devtools. r?#devtools-reviewers!",
        "bugzilla_id": 1881701,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475517/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475517/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249956"
    },
    "phid": "PHID-DIFF-nnyjb3brretrgy2ioct2",
    "review_task_id": "HSKHsCLsSK2OXY84mbDHig",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "87d30c5e100ae6a388851cc240b89f9cca3f384b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039578/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:40:27.465539Z"
}