1

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

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

1 Answer 1

2

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.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.