Changes between Version 47 and Version 48 of XMLObject
- Timestamp:
- 04/29/10 21:42:21 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XMLObject
v47 v48 178 178 179 179 === Images === 180 The checksum values of both thumbnail images and full sized images can be obtained via http post requests. To get all the checksum images for a sample, the syntax is thumnails= sampleID\nThe unique id of a sample is needed in order to get its thumbnails. In the xml returned from a thumbnail query, the checksum numbers for the thumbnail image can be obtained. The checksum numbers are within the <image><string> </image></string> tags. The thumbnail images can be obtained by appending the checksum value to the following url: http://samana.cs.rpi.edu/metpetweb//image/?checksum= The id of the image can be found between the <id></id> tags.180 The checksum values of both thumbnail images and full sized images can be obtained via http post requests. To get all the checksum images for a sample, the syntax is '''thumnails= sampleID\n''' The unique id of a sample is needed in order to get its thumbnails. In the xml returned from a thumbnail query, the checksum numbers for the thumbnail image can be obtained. The checksum numbers are within the <image><string> </image></string> tags. The thumbnail images can be obtained by appending the checksum value to the following url: http://samana.cs.rpi.edu/metpetweb//image/?checksum= The id of the image can be found between the <id></id> tags. 181 181 182 182 Example:http://samana.cs.rpi.edu/metpetweb//image/?checksum=04ed3b2b2fa11b00a16e153eefc1247185b3f6900530aedf43 … … 194 194 The attached file at the bottom of the page entitled "largeImageOutput.txt" contains the output of this query. 195 195 196 197 198 196 === Comments === 197 Any comments that have been made on a sample can be obtained with the format '''comments= sampleId\n''' 198 199 === A summary of information about a sample's subsamples can be obtained with the format '''subsampleInfo= sampleId\n''' The information returned included the number of subsamples, the number of images, the number of analyses, and a boolean indicating whether or not the sample is a bulk rock sample. The first pair of <int></int> tags indicate the number of subsamples. 200 201 Example: '''subsampleInfo= 342\n''' 202 203 The attached file at the bottom of the page entitled "subsampleInfoOutput.txt" contains the output of this query. 199 204 200 205
