List and retrieve diffs with detailed revision information

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

{
    "id": 1078189,
    "revision": {
        "id": 490271,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d553d11c7acfd3832bfd3cad314e1c963bf01ff",
        "head_changeset": "5e8bdce373e15daaf75a2e7e421c7a67eb6b9e9f",
        "phabricator_id": 256004,
        "phabricator_phid": "PHID-DREV-llx7ngoukwafbzqslbue",
        "title": "WIP: Bug 1950064 - Generate zucchini-gtest.exe to run upstream tests.",
        "bugzilla_id": 1950064,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490271/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490271/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256004"
    },
    "phid": "PHID-DIFF-nopueh7gxavbcvhm67we",
    "review_task_id": "I4pglhPgRSaCBQmeuVr5vQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0f4488b8612e9ce204eaf667f644f7ed5a3aa1a5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078189/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T16:44:22.524866Z"
}