List and retrieve diffs with detailed revision information

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

{
    "id": 1105687,
    "revision": {
        "id": 512616,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "c5584c66fa3a2c34c39fca9374a5786a36953738",
        "phabricator_id": 261040,
        "phabricator_phid": "PHID-DREV-j2zcfgjx7ycxd4b2y3ph",
        "title": "Bug 1982789 - QM: Explicitly initialize newly added FullOriginMetadata members; r=asuth",
        "bugzilla_id": 1982789,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512616/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512616/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261040"
    },
    "phid": "PHID-DIFF-ffkqcxuytlizpallp7in",
    "review_task_id": "UgvrQPbRQOqQ1NqOtQN1aQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c5584c66fa3a2c34c39fca9374a5786a36953738",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105687/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T22:01:05.628332Z"
}