decePubClient/Docs/Insomnia_2022-02-02.json

1 line
18 KiB
JSON
Raw Normal View History

2022-02-02 20:27:39 +01:00
{"_type":"export","__export_format":4,"__export_date":"2022-02-02T19:18:59.396Z","__export_source":"insomnia.desktop.app:v2021.7.2","resources":[{"_id":"req_db7df93225be442e89a167ae594c5551","parentId":"fld_2fca219979e448c997a6788d2b539ee7","modified":1643829417245,"created":1643816994345,"url":"https://localhost:5000/api/v1/message/add","name":"Add message","description":"rootMessageId => un susseguirsi di risposte ad un messaggio si portera' dietro sempre l'id del messaggio di partenza\n\ntitle => titolo opzionale\n\ncontent => testo del messaggio, con supporto di markdown\n\nResponse JSON:\n\n> {\n\t\"rootMessageId\": null,\n\t\"messageId\": \"guid/uuid/whatever\",\n\t\"title\": \"...\",\n\t\"content\": \"...\",\n\t\"mentions\": [{\n\t\t\"displayName\": \"loweel\"\n\t\t\"username\": \"loweel@bbs.keinpfusch.net\",\n\t\t\"userId\": \"AFnbjUWFfEDFn1v66C\",\n\t\t\"profileUrl\": \"https://bbs.keinpfusch.net/@loweel\"\n\t}],\n\t\"media\": [{\n\t\t\"contentType\": \"image/png\",\n\t\t\"url\": \"https://bbs.keinpfusch.net/files/webpublic-ee9faea1-6786-4bf4-9a42-7a1f07de2dc5\"\n\t}],\n\t\"createdAt\": \"UTC or ticks\"\n}\n","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"rootMessageId\": null,\n\t\"title\": \"optional\",\n\t\"content\": \"with extended markdown support\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_b95faf0515f9453595110e7895330c5f"}],"authentication":{},"metaSortKey":-1643816957190,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_2fca219979e448c997a6788d2b539ee7","parentId":"wrk_da47ff9b3d7f40f3bef9e90b46d6610b","modified":1643829443147,"created":1643816769446,"name":"APIs","description":"","environment":{},"environmentPropertyOrder":{},"metaSortKey":-1643816769446,"_type":"request_group"},{"_id":"wrk_da47ff9b3d7f40f3bef9e90b46d6610b","parentId":null,"modified":1608987862911,"created":1608987862911,"name":"Insomnia","description":"","scope":"collection","_type":"workspace"},{"_id":"req_628b806452a54368ab36a640f15b9dc1","parentId":"fld_2fca219979e448c997a6788d2b539ee7","modified":1643829417779,"created":1643817098403,"url":"https://localhost:5000/api/v1/message/messageId/update","name":"Update message","description":"[queryParam] messageId => id del messaggio da aggiornare\n\ntitle => titolo opzionale\n\ncontent => testo del messaggio, con supporto di markdown\n\nResponse JSON:\n\n> {\n\t\"rootMessageId\": null,\n\t\"messageId\": \"guid/uuid/whatever\",\n\t\"title\": \"...\",\n\t\"content\": \"...\",\n\t\"mentions\": [{\n\t\t\"displayName\": \"loweel\"\n\t\t\"username\": \"loweel@bbs.keinpfusch.net\",\n\t\t\"userId\": \"AFnbjUWFfEDFn1v66C\",\n\t\t\"profileUrl\": \"https://bbs.keinpfusch.net/@loweel\"\n\t}],\n\t\"media\": [{\n\t\t\"contentType\": \"image/png\",\n\t\t\"url\": \"https://bbs.keinpfusch.net/files/webpublic-ee9faea1-6786-4bf4-9a42-7a1f07de2dc5\"\n\t}],\n\t\"createdAt\": \"UTC or ticks\"\n}\n","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"rootMessageId\": null,\n\t\"title\": \"optional\",\n\t\"content\": \"with extended markdown support\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fae6c2f81d0f4a63bc5b44e77a209e4e"}],"authentication":{"type":"oauth2","grantType":"authorization_code"},"metaSortKey":-1643816957183.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b33056a8e8a64c838662a60a4909537c","parentId":"fld_2fca219979e448c997a6788d2b539ee7","modified":1643829255295,"created":1643817054991,"url":"https://localhost:5000/api/v1/message/messageId/delete","name":"Remove message","description":"[queryParam] messageId => id del messaggio da eliminare\n\nResponse 200\n","method":"DELETE","body":{},"parameters":[],"he