1,554
edits
(convert "entity" to "item" and "collection" to "list" but probably missed some) |
|||
Line 124: | Line 124: | ||
;Description | ;Description | ||
:Returns a List of Media Record | :Returns a List of Media Record iDigBio UUIDs. The iDigBio UUID is represented by the "idigbio:uuid" data field. | ||
;Resource URL | ;Resource URL | ||
Line 141: | Line 141: | ||
|limit | |limit | ||
|0, 1, 2, 10, ..., 100, ..., 1000, ..., n | |0, 1, 2, 10, ..., 100, ..., 1000, ..., n | ||
|Controls the number of | |Controls the number of items returned in the List. Large values may cause HTTP requests to time out. Recommended values are from 1 to 1000. | ||
|- | |- | ||
|offset | |offset | ||
|0, 1, 2, ... 1000, ..., 10000, ..., n | |0, 1, 2, ... 1000, ..., 10000, ..., n | ||
|Controls the starting | |Controls the starting offset for paging through the API. Large offsets, greater than 1000000 (1 million) are extremely inefficient, so combinations of small limits and large offsets may cause requests to fail. | ||
|} | |} | ||
;Sample Usage | ;Sample Usage | ||
Request | Request five media record items: | ||
<pre> | <pre> | ||
Line 230: | Line 230: | ||
;Description | ;Description | ||
:Returns the full Media Record matching the specified iDigBio UUID. The iDigBio UUID is represented by the "idigbio:uuid" data field. | :Returns the full Media Record matching the specified iDigBio UUID. The iDigBio UUID is represented by the "idigbio:uuid" data field. A Media Record contains metadata about an image. | ||
;Resource URL | ;Resource URL | ||
Line 344: | Line 344: | ||
;Description | ;Description | ||
:Returns a List of Specimen Record | :Returns a List of Specimen Record iDigBio UUIDs. The iDigBio UUID is represented by the "idigbio:uuid" data field. | ||
;Resource URL | ;Resource URL | ||
Line 361: | Line 361: | ||
|limit | |limit | ||
|0, 1, 2, 10, ..., 100, ..., 1000, ..., n | |0, 1, 2, 10, ..., 100, ..., 1000, ..., n | ||
|Controls the number of | |Controls the number of items returned. Large values may cause HTTP requests to time out. Recommended values are from 1 to 1000. | ||
|- | |- | ||
|offset | |offset | ||
|0, 1, 2, ... 1000, ..., 10000, ..., n | |0, 1, 2, ... 1000, ..., 10000, ..., n | ||
|Controls the starting | |Controls the starting offset for paging through the API. Large offsets, greater than 1000000 (1 million) are extremely inefficient, so combinations of small limits and large offsets may cause requests to fail. | ||
|} | |} | ||
;Sample Usage | ;Sample Usage | ||
Request | Request five specimen record items: | ||
<pre> | <pre> | ||
Line 451: | Line 451: | ||
;Description | ;Description | ||
:Returns a Specimen Record matching the | :Returns a full Specimen Record matching the specified iDigBio UUID. The iDigBio UUID is represented by the "idigbio:uuid" data field. | ||
Line 563: | Line 563: | ||
|quality | |quality | ||
|"thumbnail" "webview" | |"thumbnail" "webview" | ||
|Specifiy the quality of the image returned from the API. Omitting quality will return the full-size high quality original image | |Specifiy the quality of the image returned from the API. Omitting quality will return the full-size high quality original image. The values "thumbnail" and "webview" return images of width 260 and 600 pixels respectively. | ||
|} | |} | ||
Line 603: | Line 603: | ||
;Description | ;Description | ||
:Returns a | :Returns a List of Publisher iDigBio UUIDs. Publishers are the top-level entities containing metadata about data publishing locations. | ||
;Resource URL | ;Resource URL | ||
Line 621: | Line 621: | ||
|limit | |limit | ||
|0, 1, 2, ..., 10, ..., n | |0, 1, 2, ..., 10, ..., n | ||
|Controls the number of | |Controls the number of items returned. | ||
|- | |- | ||
|offset | |offset | ||
|0, 1, 2, ..., 10, ..., n | |0, 1, 2, ..., 10, ..., n | ||
|Controls the starting | |Controls the starting offset for paging through the API. | ||
|} | |} | ||
;Sample Usage | ;Sample Usage | ||
Retrieve a | Retrieve a List with only one publisher entity. | ||
<pre> | <pre> | ||
Line 671: | Line 671: | ||
;Description | ;Description | ||
:Returns a full Publisher | :Returns a full Publisher Record that matches the specified iDigBio UUID. A publisher record includes links to all of the recordsets provided to iDigBio by the publisher as well as other information. | ||
;Resource URL | ;Resource URL | ||
Line 794: | Line 794: | ||
;Description | ;Description | ||
:Returns a list of recordset | :Returns a list of recordset items. A recordset is a group of published data. | ||
;Resource URL | ;Resource URL | ||
Line 958: | Line 958: | ||
;Description | ;Description | ||
:Returns a list of | :Returns a list of Media Record iDigBio UUIDs that belong to the recordset of the specified iDigBio UUID. | ||
;Resource URL | ;Resource URL | ||
Line 975: | Line 975: | ||
|limit | |limit | ||
|0, 1, 2, 10, ..., 100, ..., 1000, ..., n | |0, 1, 2, 10, ..., 100, ..., 1000, ..., n | ||
|Controls the number of | |Controls the number of items returned. Large values may cause HTTP requests to time out. Recommended values are from 1 to 1000. | ||
|- | |- | ||
|offset | |offset | ||
|0, 1, 2, ... 100, ..., 1000, ..., n | |0, 1, 2, ... 100, ..., 1000, ..., n | ||
|Controls the starting | |Controls the starting offset for paging through the API. Large offsets, greater than 1000000 (1 million) are extremely inefficient, so combinations of small limits and large offsets may cause requests to fail. | ||
|} | |} | ||
;Sample Usage | ;Sample Usage | ||
Return a | Return a List of mediarecord iDigBio UUIDs that belong to a particular recordset (and in this usage example, limit the number of results to 1): | ||
<pre> | <pre> | ||
Line 1,024: | Line 1,024: | ||
;Description | ;Description | ||
:Returns a | :Returns a List of iDigBio UUIDs that belong to the recordset of the specified entity ID. | ||
;Resource URL | ;Resource URL | ||
Line 1,041: | Line 1,041: | ||
|limit | |limit | ||
|0, 1, 2, 10, ..., 100, ..., 1000, ..., n | |0, 1, 2, 10, ..., 100, ..., 1000, ..., n | ||
|Controls the number of | |Controls the number of items returned. Large values may cause HTTP requests to time out. Recommended values are from 1 to 1000. | ||
|- | |- | ||
|offset | |offset | ||
|0, 1, 2, ... 1000, ..., 10000, ..., n | |0, 1, 2, ... 1000, ..., 10000, ..., n | ||
|Controls the starting | |Controls the starting offset for paging through the API. Large offsets, greater than 1000000 (1 million) are extremely inefficient, so combinations of small limits and large offsets may cause requests to fail. | ||
|} | |} | ||
edits