List and retrieve diffs with detailed revision information

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

{
    "id": 1051615,
    "revision": {
        "id": 477058,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "208b4c15d320b959887ec8764eccf95b64a4d69c",
        "head_changeset": "146996550179aceed130ab1fcce06f5621364744",
        "phabricator_id": 252117,
        "phabricator_phid": "PHID-DREV-u6axzdfaza4ihn34hp6e",
        "title": "Bug 1968898 - [devtools] Revert viewport size inputs to their previous value on Escape. r=#devtools-reviewers",
        "bugzilla_id": 1968898,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477058/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477058/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252117"
    },
    "phid": "PHID-DIFF-mmi4faex2ytw5iwtszpi",
    "review_task_id": "GLQAK2fmTOeDXokLGYcapA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0ab0be61073543fa03302fde4353fdde46a756b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051615/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T06:59:39.122031Z"
}