List and retrieve diffs with detailed revision information

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

{
    "id": 1051681,
    "revision": {
        "id": 477213,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36af12d60c3dc8eac0b9316b97bc8a5ade44647c",
        "head_changeset": "935ee9f3697fffea1a72bd97f880fa3ace80ef6f",
        "phabricator_id": 252301,
        "phabricator_phid": "PHID-DREV-f2ohaxlwufhxjgg3vx7k",
        "title": "Bug 1970001 - [RTL] \"Add search engine\" placeholder text appears in reverse. r?Itiel",
        "bugzilla_id": 1970001,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477213/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477213/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252301"
    },
    "phid": "PHID-DIFF-3kqymwqcpu4rnpvjtztb",
    "review_task_id": "ayaqjQjCQCyr16Jj0mPOsA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "935ee9f3697fffea1a72bd97f880fa3ace80ef6f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051681/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T09:40:54.101527Z"
}