List and retrieve diffs with detailed revision information

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

{
    "id": 1078758,
    "revision": {
        "id": 491462,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8a6610a07f82b172d1425890fa639205baa9fa17",
        "head_changeset": "6bd8cd554d931485fe6afc5e470ed7c484ec6c4d",
        "phabricator_id": 256279,
        "phabricator_phid": "PHID-DREV-x5emfor73a4k2neprjd6",
        "title": "Bug 1975980 - report pref changes as expected failures, upload a modifiedPrefs.json artifacts with all the pref changes of the job, r=jmaher.",
        "bugzilla_id": 1975980,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491462/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491462/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256279"
    },
    "phid": "PHID-DIFF-36tfv26odzy3aolz2wzj",
    "review_task_id": "Y2STRPvtT06HTRdJxPUu7Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6bd8cd554d931485fe6afc5e470ed7c484ec6c4d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078758/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T14:13:30.172768Z"
}