List and retrieve diffs with detailed revision information

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

{
    "id": 1077595,
    "revision": {
        "id": 487384,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e18eea40ee7c6a5763c03dc6d59e875480b670be",
        "head_changeset": "81a85b54b7c9d30d2a03b69c345b42756449c7e1",
        "phabricator_id": 255394,
        "phabricator_phid": "PHID-DREV-5diycmc2fsgoz3dmwbrm",
        "title": "Bug 1966192 - Sort the frames with z-index order when capturing old state and new state.",
        "bugzilla_id": 1966192,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487384/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487384/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255394"
    },
    "phid": "PHID-DIFF-nddm3dzasde4eappvysz",
    "review_task_id": "Ho34UCEpQfq17c11As_mXQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cd962b822a917197df861737ee3991399df186bf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077595/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T17:10:57.963444Z"
}