List and retrieve diffs with detailed revision information

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

{
    "id": 1079593,
    "revision": {
        "id": 490269,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d553d11c7acfd3832bfd3cad314e1c963bf01ff",
        "head_changeset": "b1ac7c4a3ab921aa27310f6b988e2f2aa475798c",
        "phabricator_id": 256002,
        "phabricator_phid": "PHID-DREV-yrcw5vokfjr7mtldbnvx",
        "title": "Bug 1972865 - Add hasSessionData helper and private properties. r=jdescottes",
        "bugzilla_id": 1972865,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490269/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490269/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256002"
    },
    "phid": "PHID-DIFF-4jbgtceab2j4sclfox7c",
    "review_task_id": "Z-xbxIRBSgew18AQIf7V1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2c609a454e890135b9c144d20dc80098454c897c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079593/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T17:05:28.985800Z"
}