aboutsummaryrefslogblamecommitdiffstats
path: root/api/hived.postman_collection.json
blob: f025c5b41637a851f8667e57727ae7d590d16bb5 (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=BNB&two=CAKE&multiplier=41.56",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"pair"
					],
					"query": [
						{
							"key": "one",
							"value": "BNB"
						},
						{
							"key": "two",
							"value": "CAKE"
						},
						{
							"key": "multiplier",
							"value": "41.56"
						}
					]
				}
			},
			"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-put",
			"request": {
				"method": "PUT",
				"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-patch",
			"request": {
				"method": "PATCH",
				"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?key=alert4",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"alert"
					],
					"query": [
						{
							"key": "key",
							"value": "alert4"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "alert-get",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://127.0.0.1:8008/alert?key=alert4",
					"protocol": "http",
					"host": [
						"127",
						"0",
						"0",
						"1"
					],
					"port": "8008",
					"path": [
						"alert"
					],
					"query": [
						{
							"key": "key",
							"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": []
		}
	]
}