1,554
edits
(add publishers uuid recordsets) |
(minor tweaks →Endpoints) |
||
Line 26: | Line 26: | ||
Most of the provided usage examples include a JSON formatter (such as json_pp) to make the JSON document response easier for humans to read. Additional usage examples as well as information on JSON formatting and the "curl" command, are available in [[iDigBio API Examples]]. | Most of the provided usage examples include a JSON formatter (such as json_pp) to make the JSON document response easier for humans to read. Additional usage examples as well as information on JSON formatting and the "curl" command, are available in [[iDigBio API Examples]]. | ||
There are | There are three major types of API endpoints: | ||
* | *List - The endpoint returns a JSON document containing a list of iDigBio UUIDs and links to other records. The List of UUIDs normally does not contain content data. To get to record content data, links to each item in the List are followed. | ||
* | *Full Record - The endpoint returns a JSON document representing a Full Record for a type of object. Examples include a Specimen Record or a Media Record. The Full Record endpoint is used to retrieve all of the data about a particular object. | ||
*Media - A media endpoint returns one or more HTTP redirects to an actual media file (typically a JPEG image). | |||
Examples: | Examples: | ||
Line 48: | Line 51: | ||
;Description | ;Description | ||
:Returns a | :Returns a List of top-level API versions or service URLs. | ||
;Resource URL | ;Resource URL | ||
Line 75: | Line 78: | ||
;Description | ;Description | ||
:Returns a | :Returns a List of top-level API feature types for a particular version of the API. | ||
;Resource URL | ;Resource URL | ||
Line 845: | Line 848: | ||
;Description | ;Description | ||
:Returns a | :Returns a List of recordset iDigBio UUIDs. A recordset is a group of published data. | ||
;Resource URL | ;Resource URL | ||
Line 930: | Line 933: | ||
;Description | ;Description | ||
:Returns the full record | :Returns the full Recordset record with the specified iDigBio UUID. | ||
;Resource URL | ;Resource URL | ||
Line 1,009: | Line 1,012: | ||
;Description | ;Description | ||
:Returns a | :Returns a List of Media Record iDigBio UUIDs that belong to the recordset of the specified iDigBio UUID. | ||
;Resource URL | ;Resource URL |
edits