List and retrieve diffs with detailed revision information

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

{
    "id": 1078815,
    "revision": {
        "id": 491527,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "686f455af358322057becc6768f3e160f156db72",
        "head_changeset": "9881bfb7cee99ceb804dc01bd5210494ad56b744",
        "phabricator_id": 256304,
        "phabricator_phid": "PHID-DREV-fjtw43u72z3s3topi65k",
        "title": "Bug 1974987 - Try to recover from invalid cookies in the DB: eRejectedEmptyNameAndValue, eRejectedInvalidCharName, eRejectedInvalidCharValue",
        "bugzilla_id": 1974987,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491527/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491527/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256304"
    },
    "phid": "PHID-DIFF-dqzvawdx2gp6ggxxw6od",
    "review_task_id": "JsfccURaQO662c8I3h3iCw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9881bfb7cee99ceb804dc01bd5210494ad56b744",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078815/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T15:34:57.615353Z"
}