List and retrieve diffs with detailed revision information

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

{
    "id": 1110174,
    "revision": {
        "id": 518097,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cfd0090968e11deee3db2fd88b291a9f16dd1fda",
        "head_changeset": "4ed7e952c7dc08d7b37aebcd6b7d09046abe73ba",
        "phabricator_id": 261993,
        "phabricator_phid": "PHID-DREV-ctkqbpy3ajb4ge47z5u3",
        "title": "Bug 1973711 - Loading the model using an fd to avoid peaking the RSS. r?atossou",
        "bugzilla_id": 1973711,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518097/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518097/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261993"
    },
    "phid": "PHID-DIFF-vpx4z36radhct7g2mrer",
    "review_task_id": "ALFrWALjQg2JgJ1uQqGQ3Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ed7e952c7dc08d7b37aebcd6b7d09046abe73ba",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110174/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T13:32:58.744134Z"
}