1,554
edits
Line 679: | Line 679: | ||
=== Fetch an Older Version of a Particular Record === | === Fetch an Older Version of a Particular Record === | ||
Consider an iDigBio Media Record "idigbio:uuid" : "ff5fd841-6bc6-4241-80d3-def7e1b6d5e8" | Consider an iDigBio Media Record that is identified by: | ||
<pre> | |||
"idigbio:uuid" : "ff5fd841-6bc6-4241-80d3-def7e1b6d5e8" | |||
</pre> | |||
This record has been updated over time so there are multiple revisions of the record preserved in the API. We can find that the most recent (e.g. "current") version of this particular record is version 1: | |||
<pre> | <pre> | ||
Line 686: | Line 692: | ||
</pre> | </pre> | ||
We would like to look at the previous version (version 0) to see what has changed. We do this by adding < | We would like to look at the previous version (version 0) to see what has changed. We do this by adding the "version" parameter to the url: | ||
<pre> | |||
?version=0 | |||
</pre> | |||
The full curl command to request version 0 of a record: | |||
<pre> | <pre> |
edits