SPB Git

Repository Public

_index.json 7.1 KB 268 lines json

1[2 {3  "name": "upload",4  "file": "upload.json",5  "method": "POST",6  "path": "/api/attachments",7  "status": 201,8  "request": null,9  "headers": {10   "content-type": "application/json"11  }12 },13 {14  "name": "upload-existing",15  "file": "upload-existing.json",16  "method": "POST",17  "path": "/api/attachments",18  "status": 200,19  "request": null,20  "headers": {21   "content-type": "application/json",22   "x-existing": "1"23  }24 },25 {26  "name": "file-whole",27  "file": "file-whole.bin",28  "method": "GET",29  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",30  "status": 200,31  "request": null,32  "headers": {33   "accept-ranges": "bytes",34   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",35   "content-length": "3000",36   "content-type": "application/octet-stream",37   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""38  }39 },40 {41  "name": "file-range-first",42  "file": "file-range-first.bin",43  "method": "GET",44  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",45  "status": 206,46  "request": null,47  "headers": {48   "accept-ranges": "bytes",49   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",50   "content-length": "10",51   "content-range": "bytes 0-9/3000",52   "content-type": "application/octet-stream",53   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""54  },55  "requestHeaders": {56   "Range": "bytes=0-9"57  }58 },59 {60  "name": "file-range-open",61  "file": "file-range-open.bin",62  "method": "GET",63  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",64  "status": 206,65  "request": null,66  "headers": {67   "accept-ranges": "bytes",68   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",69   "content-length": "2000",70   "content-range": "bytes 1000-2999/3000",71   "content-type": "application/octet-stream",72   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""73  },74  "requestHeaders": {75   "Range": "bytes=1000-"76  }77 },78 {79  "name": "file-range-suffix",80  "file": "file-range-suffix.bin",81  "method": "GET",82  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",83  "status": 206,84  "request": null,85  "headers": {86   "accept-ranges": "bytes",87   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",88   "content-length": "16",89   "content-range": "bytes 2984-2999/3000",90   "content-type": "application/octet-stream",91   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""92  },93  "requestHeaders": {94   "Range": "bytes=-16"95  }96 },97 {98  "name": "file-range-clamped",99  "file": "file-range-clamped.bin",100  "method": "GET",101  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",102  "status": 206,103  "request": null,104  "headers": {105   "accept-ranges": "bytes",106   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",107   "content-length": "10",108   "content-range": "bytes 2990-2999/3000",109   "content-type": "application/octet-stream",110   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""111  },112  "requestHeaders": {113   "Range": "bytes=2990-9999"114  }115 },116 {117  "name": "file-range-416",118  "file": "file-range-416.txt",119  "method": "GET",120  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",121  "status": 416,122  "request": null,123  "headers": {124   "accept-ranges": "bytes",125   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",126   "content-range": "bytes */3000",127   "content-type": "application/octet-stream",128   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""129  },130  "requestHeaders": {131   "Range": "bytes=3000-"132  }133 },134 {135  "name": "file-if-range-match",136  "file": "file-if-range-match.bin",137  "method": "GET",138  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",139  "status": 206,140  "request": null,141  "headers": {142   "accept-ranges": "bytes",143   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",144   "content-length": "2000",145   "content-range": "bytes 1000-2999/3000",146   "content-type": "application/octet-stream",147   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""148  },149  "requestHeaders": {150   "Range": "bytes=1000-",151   "If-Range": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""152  }153 },154 {155  "name": "file-if-range-mismatch",156  "file": "file-if-range-mismatch.bin",157  "method": "GET",158  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",159  "status": 200,160  "request": null,161  "headers": {162   "accept-ranges": "bytes",163   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",164   "content-length": "3000",165   "content-type": "application/octet-stream",166   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""167  },168  "requestHeaders": {169   "Range": "bytes=1000-",170   "If-Range": "\"0000000000000000000000000000000000000000000000000000000000000000\""171  }172 },173 {174  "name": "file-range-multiple",175  "file": "file-range-multiple.bin",176  "method": "GET",177  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",178  "status": 200,179  "request": null,180  "headers": {181   "accept-ranges": "bytes",182   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",183   "content-length": "3000",184   "content-type": "application/octet-stream",185   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""186  },187  "requestHeaders": {188   "Range": "bytes=0-1,5-6"189  }190 },191 {192  "name": "file-range-malformed",193  "file": "file-range-malformed.bin",194  "method": "GET",195  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",196  "status": 200,197  "request": null,198  "headers": {199   "accept-ranges": "bytes",200   "content-disposition": "attachment; filename*=UTF-8''fixture-range.bin",201   "content-length": "3000",202   "content-type": "application/octet-stream",203   "etag": "\"e44f0f6eb9b00ead99d1e60ce74327ebebd61b3d43321bc8eb9c5f2ac3151fbc\""204  },205  "requestHeaders": {206   "Range": "lines=1-2"207  }208 },209 {210  "name": "file-not-found",211  "file": "file-not-found.json",212  "method": "GET",213  "path": "/api/files/fdcf1fcf-3815-4487-ae76-36c19b70ffef",214  "status": 404,215  "request": null,216  "headers": {217   "content-type": "application/json"218  }219 },220 {221  "name": "file-bad-id",222  "file": "file-bad-id.json",223  "method": "GET",224  "path": "/api/files/not-a-uuid",225  "status": 400,226  "request": null,227  "headers": {228   "content-type": "application/json"229  }230 },231 {232  "name": "attachments-list",233  "file": "attachments-list.json",234  "method": "GET",235  "path": "/api/attachments?pageId=9d0404c5-3130-4e08-94fd-1590f7517f7a",236  "status": 200,237  "request": null,238  "headers": {239   "content-type": "application/json"240  }241 },242 {243  "name": "file-deleted",244  "file": "file-deleted.json",245  "method": "GET",246  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",247  "status": 404,248  "request": null,249  "headers": {250   "content-type": "application/json"251  }252 },253 {254  "name": "file-deleted-range",255  "file": "file-deleted-range.json",256  "method": "GET",257  "path": "/api/files/90d27473-12ff-4b37-9f39-1d8b1a996e33",258  "status": 404,259  "request": null,260  "headers": {261   "content-type": "application/json"262  },263  "requestHeaders": {264   "Range": "bytes=0-9"265  }266 }267]268
Files main
Menu

Theme