aboutsummaryrefslogblamecommitdiffstats
path: root/api/hived.postman_collection.json
blob: 26ad78f9ea3565f81796c9cc2382d93a608e5a2c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                 
                                                                      
                                
                                                                                                






                                                























                                                                                                







































                                                                                                            
                                             
                                    
                                                 
                                             

















                                                                                                                

                                      



                                               
                                                   
                                             



















                                                                                       







                                                













                                                                          







                                                













                                                                              

                                      
                 
         
 
{
	"info": {
		"_postman_id": "75c431f8-b05d-4706-a6a8-e7ba5b36b2fe",
		"name": "hived",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "price",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://127.0.0.1:8008/price?name=CAKE&unit=USD",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"price"
					],
					"query": [
						{
							"key": "name",
							"value": "CAKE"
						},
						{
							"key": "unit",
							"value": "USD"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "pair",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://127.0.0.1:8008/pair?one=ETH&two=CAKE&multiplier=4.0",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"pair"
					],
					"query": [
						{
							"key": "one",
							"value": "ETH"
						},
						{
							"key": "two",
							"value": "CAKE"
						},
						{
							"key": "multiplier",
							"value": "4.0"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "alert-post",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"name\":\"alert4\",\r\n    \"expr\":\"ETH>CAKE\"\r\n}"
				},
				"url": {
					"raw": "http://127.0.0.1:8008/alert",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"alert"
					]
				}
			},
			"response": []
		},
		{
			"name": "alert-delete",
			"request": {
				"method": "DELETE",
				"header": [],
				"url": {
					"raw": "http://127.0.0.1:8008/alert?id=alert4",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"alert"
					],
					"query": [
						{
							"key": "id",
							"value": "alert4"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "ex",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://127.0.0.1:8008/ex",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"ex"
					]
				}
			},
			"response": []
		},
		{
			"name": "health",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://127.0.0.1:8008/health",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"health"
					]
				}
			},
			"response": []
		}
	]
}