List and retrieve diffs with detailed revision information

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

{
    "id": 1103235,
    "revision": {
        "id": 507520,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "c374baea903478e945fc93c3fbf09da486278f97",
        "phabricator_id": 260153,
        "phabricator_phid": "PHID-DREV-vtjmiw4nnsg6pxmigopm",
        "title": "WIP: Bug 1963720 - Part 1: Add the required metrics for the Terms of Use prompt.",
        "bugzilla_id": 1963720,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507520/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507520/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260153"
    },
    "phid": "PHID-DIFF-fqjccjf2rzjxqmrzhap2",
    "review_task_id": "I_5gJ5RRR9-5p5iCEw8SHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "356dc8294bdf4a538c1296f2b63cf588914c0c39",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103235/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T13:35:15.670924Z"
}