List and retrieve diffs with detailed revision information

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

{
    "id": 1037765,
    "revision": {
        "id": 474326,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e5d05798f85ebabe8812f8939ab45e8bf2e9f4c5",
        "head_changeset": "a9f2dc0e9047cb177d21bc4ec4b148c81e0ca728",
        "phabricator_id": 248132,
        "phabricator_phid": "PHID-DREV-tpwwbbpb2awqcdiw7fz5",
        "title": "Bug 1961829 - Only color HTTP(S) URIs and fallback to coloring the host in Android toolbar URLRenderer. r=tthibaud",
        "bugzilla_id": 1961829,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474326/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474326/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248132"
    },
    "phid": "PHID-DIFF-o56hmpdczcb7dgka3x3r",
    "review_task_id": "Pkv55j7yQaerGS2tJ-6cuA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8e7c5ab01cf2ae2f8c8f82b6e44ebc466380a536",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037765/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T20:36:21.026420Z"
}