-
Notifications
You must be signed in to change notification settings - Fork 0
GET Source By ID
Ksenyia edited this page Nov 2, 2016
·
2 revisions
It gives the data of source.
Resource URI
/sources/{id}
Resource Properties
Property | Description |
---|---|
id | A string that uniquely identifies the source. |
Response Attribute
{
_id: String,
source_name: String,
source_type_id: String,
source_url: String,
source_archive_url: String,
source_notes: String,
create_date: Date,
create_author: Array,
retrieve_date: Date
source_date: Date
}
HTTP GET
Default Request
curl -GET http://end-point-uri/sources/56fcd522641ff901008630cc
Response
HTTP Status Code 200
{
_id: "56fcd522641ff901008630cc",
source_name: "Africa Power–Mining Database 2014",
source_type_id: "56e873691d1d2a3824141433",
source_url: "https://databox.worldbank.org/resource/yd4g-ie4d.json",
source_archive_url: "https://drive.google.com/open?id=0BwqM4Vkn0yovekt4dXJPRlRVamM",
source_notes: " ",
create_date: "2016-03-31T07:43:30.275Z",
create_author: [ ],
retrieve_date: "2016-02-17T00:00:00.000Z",
source_date: "2014-07-14T00:00:00.000Z"
}