List and retrieve diffs with detailed revision information

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

{
    "id": 1080037,
    "revision": {
        "id": 492744,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bd54661775b7b4170aeda774683327f80c67c34f",
        "head_changeset": "170d7f5163508230a77564999e83d542e9f01436",
        "phabricator_id": 256589,
        "phabricator_phid": "PHID-DREV-5ohmyhgcljayg3qjng27",
        "title": "Bug 1959339 - Add state to \"XPIProvider shutdown\" shutdown blocker",
        "bugzilla_id": 1959339,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492744/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492744/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256589"
    },
    "phid": "PHID-DIFF-uvhthdczuxcf6otpcjao",
    "review_task_id": "Gv9sWhOsTqWYpCq9qfp2zg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "170d7f5163508230a77564999e83d542e9f01436",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080037/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T10:20:50.820136Z"
}