github.com/qri-io/qri@v0.10.1-0.20220104210721-c771715036cb/api/spec/testdata/misc.json (about) 1 [ 2 { 3 "endpoint": "/", 4 "method": "GET", 5 "headers": { 6 "Content-Type": "application/json" 7 }, 8 "expect": { 9 "code": 200, 10 "headers": { 11 "Content-Type": "text/plain; charset=utf-8" 12 } 13 } 14 }, 15 { 16 "endpoint": "/health", 17 "method": "GET", 18 "headers": { 19 "Content-Type": "application/json" 20 }, 21 "expect": { 22 "code": 200, 23 "headers": { 24 "Content-Type": "text/plain; charset=utf-8" 25 } 26 } 27 }, 28 { 29 "endpoint": "/qfs/ipfs/QmQPS7Nf6dG8zosyAA8zYd64gaLBTAzYsVhMkaMCgCXJST", 30 "method": "GET", 31 "headers": { 32 "Content-Type": "application/json" 33 }, 34 "expect": { 35 "code": 200, 36 "headers": { 37 "Content-Type": "text/plain; charset=utf-8" 38 } 39 } 40 }, 41 { 42 "endpoint": "/qfs/s3/test_path", 43 "method": "GET", 44 "headers": { 45 "Content-Type": "application/json" 46 }, 47 "expect": { 48 "code": 404, 49 "headers": { 50 "Content-Type": "text/plain; charset=utf-8" 51 } 52 } 53 }, 54 { 55 "endpoint": "/webui", 56 "method": "GET", 57 "headers": { 58 "Content-Type": "application/json" 59 }, 60 "expect": { 61 "code": 200, 62 "headers": { 63 "Content-Type": "text/html; charset=utf-8" 64 } 65 } 66 } 67 ]