Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

/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

1 Answer 1

up vote 1 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 .