List and retrieve diffs with detailed revision information

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

{
    "id": 1065370,
    "revision": {
        "id": 480834,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "782efead5c631ad975aa3f3677ecd3f4620ca84f",
        "head_changeset": "b86e0b2bb644481eb9b86be49066db4a40531f19",
        "phabricator_id": 253725,
        "phabricator_phid": "PHID-DREV-xnhfyjucivjvwsyuwakf",
        "title": "Bug 1966623 - Hide the Taskbar Tabs page action unless using HTTP or HTTPS. r=nrishel!",
        "bugzilla_id": 1966623,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480834/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480834/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253725"
    },
    "phid": "PHID-DIFF-a4bcgltzdtcbi5ll3tfi",
    "review_task_id": "AQsffcfuS8i2zXrzphknZQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8ee6b666eddad1a3e4815463fa6d4eaa90523f83",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065370/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T18:27:36.844197Z"
}