-
Notifications
You must be signed in to change notification settings - Fork 0
Taro Matsuzawa aka. btm edited this page Sep 1, 2013
·
1 revision
/api/v1/debris/index.json
デブリ1000件を適当に取得して返す。
/api/v1/debris/show/:id.json
デブリのIDを指定して一件のみ取得して返す。
/api/v1/debris/catalogs/:cid.json
カタログIDを指定してそのカタログに紐付いていいるデブリを全件取得する。
{
"type": "FeatureCollection",
"feature": [{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [longitude, latitude, altitude]
},
"properties": {
"name": "デブリの名称",
"id": "52235d3efd7c1618f1000005",
"follower": ["フォロワの名前のArray"],
"nssdc_catalog": {
"_id": "52236e75fd7c16fa98000003",
"cid": "NASAの衛星検索サイトのID値: 1960-007A",
"description": "NASAの衛星検索サイトにある詳細のテキスト",
"img": "NASAの衛星検索サイトにある画像のURL"
},
"category": "カテゴリ(三パターン: RB, DEB, null)"
}
},