Skip to content

API Endpoints for Resource Data

Pubudu Dodangoda edited this page Mar 24, 2016 · 1 revision

Resource data

POST /api/resources/create

Inserts details of a resource

Sample payload for Insert

#!JavaScript

{
	"id": "TRK456789",
	"name": "MyResource",
        "icon": "http://co.lincoln.ne.us/wp-content/uploads/2015/07/9_Press_Release_Services.png",
        "marker": "http://icons.iconarchive.com/icons/paomedia/small-n-flat/1024/map-marker-icon.png",
	"attributes" : [
		"working","running","playing"
	]
}
Clone this wiki locally