From d29a64c662e9f6c9042f973921a61ce0198c57c1 Mon Sep 17 00:00:00 2001 From: Avior Date: Wed, 28 Jun 2023 21:24:02 +0200 Subject: [PATCH] insomnia docs --- .../spc_94f36546799342789aa1fe32dea23879.yml | 8 ++++ .../env_776870492ea845feb9ba8db60dfad2cd.yml | 14 +++++++ ...baf994467f850b2f5eb10e34a1d922a1554245.yml | 16 ++++++++ .../env_e53abedcd2be412c9c501073a658bedd.yml | 11 +++++ .../req_1515365089cb432182dbaea37363c652.yml | 25 +++++++++++ .../req_1f22118c14924c109a0e570fd06332c4.yml | 35 ++++++++++++++++ .../req_3756d11c98a94741a5b2a06077b6d39f.yml | 23 +++++++++++ .../req_701b1740deeb45dbb7dc94b8a2b322b7.yml | 23 +++++++++++ .../req_86619e03d7094a9eb7f7ca35c7e520c2.yml | 23 +++++++++++ .../req_d687fdb8d20f4a93b7d721acbdbe8f53.yml | 23 +++++++++++ .../req_f64c7df01b9c4364860fe06f7ebd74bf.yml | 41 +++++++++++++++++++ .../req_fa536693954e46088f9d0da033bf2f9c.yml | 23 +++++++++++ .../fld_eb864538a51541fb95eca9ea362b686c.yml | 10 +++++ .../uts_b1a00bf2496c4cff93b7a7b2871927a9.yml | 6 +++ .../wrk_3cc2135f64d540d5937412dae4d8aa07.yml | 8 ++++ 15 files changed, 289 insertions(+) create mode 100755 .insomnia/ApiSpec/spc_94f36546799342789aa1fe32dea23879.yml create mode 100755 .insomnia/Environment/env_776870492ea845feb9ba8db60dfad2cd.yml create mode 100755 .insomnia/Environment/env_d9baf994467f850b2f5eb10e34a1d922a1554245.yml create mode 100755 .insomnia/Environment/env_e53abedcd2be412c9c501073a658bedd.yml create mode 100755 .insomnia/Request/req_1515365089cb432182dbaea37363c652.yml create mode 100755 .insomnia/Request/req_1f22118c14924c109a0e570fd06332c4.yml create mode 100755 .insomnia/Request/req_3756d11c98a94741a5b2a06077b6d39f.yml create mode 100755 .insomnia/Request/req_701b1740deeb45dbb7dc94b8a2b322b7.yml create mode 100755 .insomnia/Request/req_86619e03d7094a9eb7f7ca35c7e520c2.yml create mode 100755 .insomnia/Request/req_d687fdb8d20f4a93b7d721acbdbe8f53.yml create mode 100755 .insomnia/Request/req_f64c7df01b9c4364860fe06f7ebd74bf.yml create mode 100755 .insomnia/Request/req_fa536693954e46088f9d0da033bf2f9c.yml create mode 100755 .insomnia/RequestGroup/fld_eb864538a51541fb95eca9ea362b686c.yml create mode 100755 .insomnia/UnitTestSuite/uts_b1a00bf2496c4cff93b7a7b2871927a9.yml create mode 100755 .insomnia/Workspace/wrk_3cc2135f64d540d5937412dae4d8aa07.yml diff --git a/.insomnia/ApiSpec/spc_94f36546799342789aa1fe32dea23879.yml b/.insomnia/ApiSpec/spc_94f36546799342789aa1fe32dea23879.yml new file mode 100755 index 0000000..25418b3 --- /dev/null +++ b/.insomnia/ApiSpec/spc_94f36546799342789aa1fe32dea23879.yml @@ -0,0 +1,8 @@ +_id: spc_94f36546799342789aa1fe32dea23879 +type: ApiSpec +parentId: wrk_3cc2135f64d540d5937412dae4d8aa07 +modified: 1687897230775 +created: 1686699516083 +fileName: New Document +contents: "" +contentType: yaml diff --git a/.insomnia/Environment/env_776870492ea845feb9ba8db60dfad2cd.yml b/.insomnia/Environment/env_776870492ea845feb9ba8db60dfad2cd.yml new file mode 100755 index 0000000..9a40f18 --- /dev/null +++ b/.insomnia/Environment/env_776870492ea845feb9ba8db60dfad2cd.yml @@ -0,0 +1,14 @@ +_id: env_776870492ea845feb9ba8db60dfad2cd +type: Environment +parentId: env_d9baf994467f850b2f5eb10e34a1d922a1554245 +modified: 1687972720998 +created: 1687972311428 +name: Production +data: + BASE_URL: https://slicer.fi3d.fr +dataPropertyOrder: + "&": + - BASE_URL +color: null +isPrivate: false +metaSortKey: 1687972311428 diff --git a/.insomnia/Environment/env_d9baf994467f850b2f5eb10e34a1d922a1554245.yml b/.insomnia/Environment/env_d9baf994467f850b2f5eb10e34a1d922a1554245.yml new file mode 100755 index 0000000..8cf4947 --- /dev/null +++ b/.insomnia/Environment/env_d9baf994467f850b2f5eb10e34a1d922a1554245.yml @@ -0,0 +1,16 @@ +_id: env_d9baf994467f850b2f5eb10e34a1d922a1554245 +type: Environment +parentId: wrk_3cc2135f64d540d5937412dae4d8aa07 +modified: 1687898302664 +created: 1686699516087 +name: Base Environment +data: + BASE_URL: http://localhost:3000 + API_KEY: cb021190-a2fd-4234-99c1-684391e785f7 +dataPropertyOrder: + "&": + - BASE_URL + - API_KEY +color: null +isPrivate: false +metaSortKey: 1686699516087 diff --git a/.insomnia/Environment/env_e53abedcd2be412c9c501073a658bedd.yml b/.insomnia/Environment/env_e53abedcd2be412c9c501073a658bedd.yml new file mode 100755 index 0000000..2e0e4a3 --- /dev/null +++ b/.insomnia/Environment/env_e53abedcd2be412c9c501073a658bedd.yml @@ -0,0 +1,11 @@ +_id: env_e53abedcd2be412c9c501073a658bedd +type: Environment +parentId: env_d9baf994467f850b2f5eb10e34a1d922a1554245 +modified: 1687972824301 +created: 1687972816648 +name: Development +data: {} +dataPropertyOrder: null +color: null +isPrivate: false +metaSortKey: 1687972816648 diff --git a/.insomnia/Request/req_1515365089cb432182dbaea37363c652.yml b/.insomnia/Request/req_1515365089cb432182dbaea37363c652.yml new file mode 100755 index 0000000..78520ae --- /dev/null +++ b/.insomnia/Request/req_1515365089cb432182dbaea37363c652.yml @@ -0,0 +1,25 @@ +_id: req_1515365089cb432182dbaea37363c652 +type: Request +parentId: wrk_3cc2135f64d540d5937412dae4d8aa07 +modified: 1687979177027 +created: 1687383219272 +url: "{{ _.BASE_URL + }}/api/v1/users/648f81f857503c7d29465318/configs/64936bd944de499b5483bf15/fil\ + es/config.ini" +name: Get a file +description: "" +method: GET +body: {} +parameters: [] +headers: [] +authentication: + type: bearer + token: "{{ _.API_KEY }}" +metaSortKey: -1686699516056.5 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_1f22118c14924c109a0e570fd06332c4.yml b/.insomnia/Request/req_1f22118c14924c109a0e570fd06332c4.yml new file mode 100755 index 0000000..34bf2e0 --- /dev/null +++ b/.insomnia/Request/req_1f22118c14924c109a0e570fd06332c4.yml @@ -0,0 +1,35 @@ +_id: req_1f22118c14924c109a0e570fd06332c4 +type: Request +parentId: wrk_3cc2135f64d540d5937412dae4d8aa07 +modified: 1687979408498 +created: 1687382885330 +url: "{{ _.BASE_URL }}/api/v1/users/648f81f857503c7d29465318/configs" +name: Create new config +description: "" +method: POST +body: + mimeType: application/json + text: "" +parameters: + - id: pair_c7979be1d7bd4c219d0f613f4c778810 + name: algo + value: filament_used_g * 5 + description: "" + - id: pair_2c62d697fa13486dbe27897c6f44fbd2 + name: scale + value: "2" + description: "" +headers: + - name: Content-Type + value: application/json +authentication: + type: bearer + token: "{{ _.API_KEY }}" +metaSortKey: -1686699516069 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_3756d11c98a94741a5b2a06077b6d39f.yml b/.insomnia/Request/req_3756d11c98a94741a5b2a06077b6d39f.yml new file mode 100755 index 0000000..36a5946 --- /dev/null +++ b/.insomnia/Request/req_3756d11c98a94741a5b2a06077b6d39f.yml @@ -0,0 +1,23 @@ +_id: req_3756d11c98a94741a5b2a06077b6d39f +type: Request +parentId: fld_eb864538a51541fb95eca9ea362b686c +modified: 1687979889111 +created: 1687979867093 +url: "{{ _.BASE_URL }}/api/v1/users" +name: update +description: "" +method: PATCH +body: {} +parameters: [] +headers: [] +authentication: + type: bearer + token: "{{ _.API_KEY }}" +metaSortKey: -1686859546747.625 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_701b1740deeb45dbb7dc94b8a2b322b7.yml b/.insomnia/Request/req_701b1740deeb45dbb7dc94b8a2b322b7.yml new file mode 100755 index 0000000..e7e603a --- /dev/null +++ b/.insomnia/Request/req_701b1740deeb45dbb7dc94b8a2b322b7.yml @@ -0,0 +1,23 @@ +_id: req_701b1740deeb45dbb7dc94b8a2b322b7 +type: Request +parentId: fld_eb864538a51541fb95eca9ea362b686c +modified: 1687979892209 +created: 1687979842182 +url: "{{ _.BASE_URL }}/api/v1/users" +name: create +description: "" +method: POST +body: {} +parameters: [] +headers: [] +authentication: + type: bearer + token: "{{ _.API_KEY }}" +metaSortKey: -1687339638708.5 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_86619e03d7094a9eb7f7ca35c7e520c2.yml b/.insomnia/Request/req_86619e03d7094a9eb7f7ca35c7e520c2.yml new file mode 100755 index 0000000..4d932ae --- /dev/null +++ b/.insomnia/Request/req_86619e03d7094a9eb7f7ca35c7e520c2.yml @@ -0,0 +1,23 @@ +_id: req_86619e03d7094a9eb7f7ca35c7e520c2 +type: Request +parentId: fld_eb864538a51541fb95eca9ea362b686c +modified: 1687979887280 +created: 1687979869709 +url: "{{ _.BASE_URL }}/api/v1/users" +name: delete +description: "" +method: DELETE +body: {} +parameters: [] +headers: [] +authentication: + type: bearer + token: "{{ _.API_KEY }}" +metaSortKey: -1686779531420.8125 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_d687fdb8d20f4a93b7d721acbdbe8f53.yml b/.insomnia/Request/req_d687fdb8d20f4a93b7d721acbdbe8f53.yml new file mode 100755 index 0000000..5f7dd6b --- /dev/null +++ b/.insomnia/Request/req_d687fdb8d20f4a93b7d721acbdbe8f53.yml @@ -0,0 +1,23 @@ +_id: req_d687fdb8d20f4a93b7d721acbdbe8f53 +type: Request +parentId: fld_eb864538a51541fb95eca9ea362b686c +modified: 1687979809503 +created: 1687979761323 +url: "{{ _.BASE_URL }}/api/v1/users" +name: list +description: "" +method: GET +body: {} +parameters: [] +headers: [] +authentication: + type: bearer + token: "{{ _.API_KEY }}" +metaSortKey: -1687979761323 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_f64c7df01b9c4364860fe06f7ebd74bf.yml b/.insomnia/Request/req_f64c7df01b9c4364860fe06f7ebd74bf.yml new file mode 100755 index 0000000..659a31f --- /dev/null +++ b/.insomnia/Request/req_f64c7df01b9c4364860fe06f7ebd74bf.yml @@ -0,0 +1,41 @@ +_id: req_f64c7df01b9c4364860fe06f7ebd74bf +type: Request +parentId: wrk_3cc2135f64d540d5937412dae4d8aa07 +modified: 1687972521892 +created: 1686699516094 +url: "{{ _.BASE_URL }}/api/v1/slice/64936ba744de499b5483bf0a" +name: Slice an object +description: "" +method: POST +body: + mimeType: application/octet-stream + fileName: C:\Users\micro\Downloads\toad_6cm.STL +parameters: + - id: pair_c7979be1d7bd4c219d0f613f4c778810 + name: algo + value: filament_used_g * 0.5 + description: "" + - id: pair_2c62d697fa13486dbe27897c6f44fbd2 + name: scale + value: "0.1" + description: "" + disabled: true + - id: pair_ea7d519d6ad443edb3926a6831a9abbc + name: scale-to-fit + value: 179,179,179 + description: "" + disabled: true +headers: + - name: Content-Type + value: model/stl +authentication: + type: bearer + token: cb021190-a2fd-4234-99c1-684391e785f7 +metaSortKey: -1686699516094 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_fa536693954e46088f9d0da033bf2f9c.yml b/.insomnia/Request/req_fa536693954e46088f9d0da033bf2f9c.yml new file mode 100755 index 0000000..b9218df --- /dev/null +++ b/.insomnia/Request/req_fa536693954e46088f9d0da033bf2f9c.yml @@ -0,0 +1,23 @@ +_id: req_fa536693954e46088f9d0da033bf2f9c +type: Request +parentId: fld_eb864538a51541fb95eca9ea362b686c +modified: 1687979848643 +created: 1687979848643 +url: "{{ _.BASE_URL }}/api/v1/users" +name: read +description: "" +method: GET +body: {} +parameters: [] +headers: [] +authentication: + type: bearer + token: "{{ _.API_KEY }}" +metaSortKey: -1687019577401.25 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/RequestGroup/fld_eb864538a51541fb95eca9ea362b686c.yml b/.insomnia/RequestGroup/fld_eb864538a51541fb95eca9ea362b686c.yml new file mode 100755 index 0000000..8d22cf7 --- /dev/null +++ b/.insomnia/RequestGroup/fld_eb864538a51541fb95eca9ea362b686c.yml @@ -0,0 +1,10 @@ +_id: fld_eb864538a51541fb95eca9ea362b686c +type: RequestGroup +parentId: wrk_3cc2135f64d540d5937412dae4d8aa07 +modified: 1687979686748 +created: 1687979675228 +name: Users +description: "" +environment: {} +environmentPropertyOrder: null +metaSortKey: -1687299590688.0625 diff --git a/.insomnia/UnitTestSuite/uts_b1a00bf2496c4cff93b7a7b2871927a9.yml b/.insomnia/UnitTestSuite/uts_b1a00bf2496c4cff93b7a7b2871927a9.yml new file mode 100755 index 0000000..0bbcd4b --- /dev/null +++ b/.insomnia/UnitTestSuite/uts_b1a00bf2496c4cff93b7a7b2871927a9.yml @@ -0,0 +1,6 @@ +_id: uts_b1a00bf2496c4cff93b7a7b2871927a9 +type: UnitTestSuite +parentId: wrk_3cc2135f64d540d5937412dae4d8aa07 +modified: 1686699516095 +created: 1686699516095 +name: Example Test Suite diff --git a/.insomnia/Workspace/wrk_3cc2135f64d540d5937412dae4d8aa07.yml b/.insomnia/Workspace/wrk_3cc2135f64d540d5937412dae4d8aa07.yml new file mode 100755 index 0000000..bdc521c --- /dev/null +++ b/.insomnia/Workspace/wrk_3cc2135f64d540d5937412dae4d8aa07.yml @@ -0,0 +1,8 @@ +_id: wrk_3cc2135f64d540d5937412dae4d8aa07 +type: Workspace +parentId: null +modified: 1686699516082 +created: 1686699516082 +name: New Document +description: "" +scope: design