github.com/qri-io/qri@v0.10.1-0.20220104210721-c771715036cb/api/spec/testdata/remote.json (about) 1 [ 2 { 3 "endpoint": "/remote/feeds", 4 "method": "POST", 5 "headers": { 6 "Content-Type": "application/json" 7 }, 8 "expect": { 9 "code": 200, 10 "headers": { 11 "Content-Type": "application/json" 12 } 13 } 14 }, 15 { 16 "endpoint": "/remote/preview", 17 "method": "POST", 18 "headers": { 19 "Content-Type": "application/json" 20 }, 21 "body": { 22 "ref": "peer/movies" 23 }, 24 "expect": { 25 "code": 200, 26 "headers": { 27 "Content-Type": "application/json" 28 } 29 } 30 }, 31 { 32 "endpoint": "/remote/registry/profile/new", 33 "method": "POST", 34 "headers": { 35 "Content-Type": "application/json" 36 }, 37 "body": {}, 38 "expect": { 39 "code": 200, 40 "headers": { 41 "Content-Type": "application/json" 42 } 43 } 44 }, 45 { 46 "endpoint": "/remote/registry/profile/prove", 47 "method": "POST", 48 "headers": { 49 "Content-Type": "application/json" 50 }, 51 "body": {}, 52 "expect": { 53 "code": 200, 54 "headers": { 55 "Content-Type": "application/json" 56 } 57 } 58 }, 59 { 60 "endpoint": "/remote/remove", 61 "method": "POST", 62 "headers": { 63 "Content-Type": "application/json" 64 }, 65 "body": { 66 "ref": "peer/movies" 67 }, 68 "expect": { 69 "code": 200, 70 "headers": { 71 "Content-Type": "application/json" 72 } 73 } 74 }, 75 { 76 "endpoint": "/remote/search", 77 "method": "POST", 78 "headers": { 79 "Content-Type": "application/json" 80 }, 81 "body": {}, 82 "expect": { 83 "code": 200, 84 "headers": { 85 "Content-Type": "application/json" 86 } 87 } 88 } 89 ]