API - Sources

GET /rest/source/[uuid]

Retrieve info about sources.

Authentication: Not Required

Returns an object of the following format:

Object {
'name' => 'Source name',
'url' => 'Url of Source',
'mail' => 'Source email address',
}

GET /rest/source

Index. Gets a list of sources.

Authentication: Not Required

Returns an object of the following format:

Object {
'stats' => array (
'total' => 'total # sources',
'page' => 'page #',
'page_total' => 'total sources on this page',
)
'resources' => array (
'item' => array (
'name' => 'Source Name',
'uuid' => 'Source UUID',
'uri' => 'URI of source, ie: "http://api.resourcecommons.org/services/rest/source/[the_uuid]"',
)
...
)
}