List and retrieve diffs with detailed revision information

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

{
    "id": 1039630,
    "revision": {
        "id": 475798,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "872809f6db6f2e549c07ca9986628a9a4f084e4d",
        "head_changeset": "cb2323e6059bebfa48f8348d1e7d61b13faa4612",
        "phabricator_id": 250365,
        "phabricator_phid": "PHID-DREV-dlxyyzpzs6yca6fi4gft",
        "title": "WIP: Bug 1953415 - [devtools] Remove CM5 support code from debugger mochitests",
        "bugzilla_id": 1953415,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475798/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475798/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250365"
    },
    "phid": "PHID-DIFF-ekxbzsv3llobtayzgpiq",
    "review_task_id": "OrQWbF7DQuSue0hvo4Ompw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0e1f382bdb756b07f89d2a05b3121ec6e6f009a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039630/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T11:16:13.219059Z"
}