{
  "revisions": [
    {
      "comment": "edited tags",
      "creation_date": 1295375679,
      "is_question": true,
      "is_rollback": false,
      "last_tags": [
        "support",
        "api-help"
      ],
      "revision_guid": "4284af94-1a78-44cf-8f9e-3f6ca9c7f818",
      "revision_number": 2,
      "tags": [
        "support",
        "feature-request",
        "api-help"
      ],
      "revision_type": "single_user",
      "set_community_wiki": false,
      "user": {
        "user_id": 938,
        "user_type": "registered",
        "display_name": "Jonathan. ",
        "reputation": 2254,
        "email_hash": "f3b9829c592fd7617525afc56118a629"
      },
      "post_id": 1926
    },
    {
      "body": "<p>I'm trying to beautify the reputation audit. If I want  to show the post title for a reputation change event, however, I have a problem -- I don't know if the post ID is relative to a question or an answer.</p>\n\n<p>By poking around with the API a bit, it seems that the only way to get a result in my case is:</p>\n\n<ol>\n<li>call <code>/answers/{id}</code>;</li>\n<li><ul>\n<li><a href=\"http://api.gaming.stackexchange.com/1.0/answers/303/\">if I get a result</a> it's an answer, thus I should call <a href=\"http://api.gaming.stackexchange.com/1.0/questions/300\"><code>/questions/{parent-id}/</code></a> for the title.</li>\n<li><a href=\"http://api.gaming.stackexchange.com/1.0/answers/300/\">If I don't get a result</a>, it's  a question, thus I should call <a href=\"http://api.gaming.stackexchange.com/1.0/questions/300\"><code>/questions/{id}</code></a> for the title.</li>\n</ul></li>\n</ol>\n\n<p>Is there a better way of doing this?</p>\n",
      "comment": "",
      "creation_date": 1295265882,
      "is_question": true,
      "is_rollback": false,
      "last_tags": [],
      "revision_guid": "b33c335f-a54f-4d02-b053-6f1e06781702",
      "revision_number": 1,
      "tags": [
        "support",
        "api-help"
      ],
      "title": "How to get a post title for a given post ID, even if that post ID is an answer and not a question?",
      "revision_type": "single_user",
      "set_community_wiki": false,
      "user": {
        "user_id": 1165,
        "user_type": "registered",
        "display_name": "badp",
        "reputation": 855,
        "email_hash": "c81f585328c241594864f888f1154025"
      },
      "post_id": 1926
    }
  ]
}
