-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest_actions.sh
More file actions
53 lines (48 loc) · 3.24 KB
/
test_actions.sh
File metadata and controls
53 lines (48 loc) · 3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Get all actions
curl http://localhost:3001/actions #OK
echo -e "\n"
# Get global snapshot actions for a specific term
curl http://localhost:3001/global-snapshots/80f93d4ef86dd1bf69648b5070e27d545d23ae578925198cc45dc17e02128312/actions
#OK
echo -e "\n"
# Get address actions for a specific address
curl http://localhost:3001/addresses/DAG77zerQ2BUVhtVgkmseihkEfLXieBBm57vqA4J/actions #OK
echo -e "\n"
# Get currency actions for a specific metagraph ID
curl http://localhost:3001/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/actions #OK
echo -e "\n"
# Get currency snapshot actions for a specific metagraph ID and term
curl http://localhost:3001/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/snapshots/74dff07f4ff96e2dc7cea2420389515e6ccbb49f2dd0115ecfa38e4e55cd666d/actions
#OK
echo -e "\n"
# Get currency address actions for a specific metagraph ID and address
curl http://localhost:3001/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/addresses/DAG5T61H6RNLR4wLueNNZo8JR7fDKuGQSZoGTVki/actions
#OK
# # Get all actions
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/actions #OK
# echo -e "\n"
# # Get global snapshot actions for a specific term
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/global-snapshots/0f6a37bc3b1bcd2a751af4bf384db052cef46048c4322baa303f22eda053fbc4/actions
# #OK
# echo -e "\n"
# # Get address actions for a specific address
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/addresses/DAG04Qob76gZG7D5qZu9oeZvr8WFxs53Md383q4x/actions #OK
# echo -e "\n"
# # Get currency actions for a specific metagraph ID
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/actions #OK
# echo -e "\n"
# # Get currency snapshot actions for a specific metagraph ID and term
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/snapshots/74dff07f4ff96e2dc7cea2420389515e6ccbb49f2dd0115ecfa38e4e55cd666d/actions
# #OK
# echo -e "\n"
# # Get currency address actions for a specific metagraph ID and address
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/addresses/DAG5T61H6RNLR4wLueNNZo8JR7fDKuGQSZoGTVki/actions
# #OK
# echo -e "\n"
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/actions | jq
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/global-snapshots/3cdde2bc02d9ad3da07fe52686a51db448129d9adf3167747be77e31f951c428/actions | jq
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/global-snapshots/618a6f6bedba2c8a84ca3513f1cf0f6fe9eafb6f7872eecf2e222216351708b6/actions | jq
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/addresses/DAG04Qob76gZG7D5qZu9oeZvr8WFxs53Md383q4x/actions | jq
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/actions | jq
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/snapshots/74dff07f4ff96e2dc7cea2420389515e6ccbb49f2dd0115ecfa38e4e55cd666d/actions | jq
# curl https://8kiu9tfle8.execute-api.us-west-1.amazonaws.com/currency/DAG5ySNMCXFLRmmXdTLwKPhV8YhBB8AFU88TxSbP/addresses/DAG5T61H6RNLR4wLueNNZo8JR7fDKuGQSZoGTVki/actions | jq