IDigBio API v1 Specification: Difference between revisions

m
Line 651: Line 651:


;Description
;Description
:Returns a collection of publisher IDs
:Returns a collection of publisher entities.


;Resource URL
;Resource URL
Line 665: Line 665:


;Sample Usage
;Sample Usage
Retrieve a single publisher record.


<pre>
<pre>
# CURL SOMETHING
$ curl -s  http://api.idigbio.org/v1/publishers?limit=1 | json_pp
{
  "idigbio:errors" : [],
  "idigbio:links" : {
      "idigbio:nextPage" : "http://api.idigbio.org/v1/publishers?limit=1&offset=1"
  },
  "idigbio:items" : [
      {
        "idigbio:links" : {
            "publisher" : "http://api.idigbio.org/v1/publishers/076c0ff6-65e9-48a5-8e4b-2447936f9a1c"
        },
        "idigbio:uuid" : "076c0ff6-65e9-48a5-8e4b-2447936f9a1c",
        "idigbio:version" : 15,
        "idigbio:etag" : "154afad64618151ae4e39da1874acf7f0c86a6c2",
        "idigbio:dateModified" : "2014-04-18T19:14:53.966Z"
      }
  ],
  "idigbio:itemCount" : "20"
}
 
</pre>
</pre>


1,554

edits