List and retrieve diffs with detailed revision information

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

{
    "id": 1042790,
    "revision": {
        "id": 410246,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9358b6a02a04f62e0c9c7fcba4877700076a28f5",
        "head_changeset": "07943317cf6c8e469a0cd17ec2a3958fc2de06e1",
        "phabricator_id": 214567,
        "phabricator_phid": "PHID-DREV-zqper3cqehzz5ojew7u7",
        "title": "Bug 1820594 - Part 2: Implement GraphLoadingStateRecord.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/410246/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/410246/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D214567"
    },
    "phid": "PHID-DIFF-rmtjq7upswg3dpk2g4nf",
    "review_task_id": "BCAfF7V4Qb6DAG7_-Rw4lw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9131b58c0992c4c85f620a7107f4e38eeb7f51f4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1042790/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T09:44:58.168626Z"
}