Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

/revisions/{id}/{revisionguid} - usage of this route is not clear to me.

can someone provide a working url and perhaps a simple use case.

share|improve this question
up vote 2 down vote accepted

If you call /revisions/{id} where {id} is a post id (question or answer) you'll get a list of revisions to that post. Each revision has a unique GUID that identifies it.

If you call /revisions/{id}/{guid} where {id} is a post id and {guid} is one of those revision GUIDs you'll get just that one revision.

{id} is technically vectorized in both cases, but obviously the latter will only ever return a single result.

Here's an example call.

share|improve this answer
thanks for that. – Sky Sanders Jun 2 '10 at 4:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .