This repository was archived by the owner on Mar 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinsomnia.json
1 lines (1 loc) · 6.85 KB
/
insomnia.json
1
{"_type":"export","__export_format":4,"__export_date":"2024-05-23T13:50:46.238Z","__export_source":"insomnia.desktop.app:v9.2.0","resources":[{"_id":"req_11ff93ffef56457dad49a5f65ec6a2c5","parentId":"wrk_0376d599ec3940d2a69ce098b81507eb","modified":1716471128866,"created":1712107522851,"url":"{{ _.baseURL }}/api","name":"Backend Health Check","description":"A status health check to ensure that the backend server is running and available to receive requests.","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1712107522851,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"wrk_0376d599ec3940d2a69ce098b81507eb","parentId":null,"modified":1716472190943,"created":1712781542821,"name":"wgu-capstone","description":"The following collection contains all the endpoints for a backend service that sends and recieves text posts that are automatically moderated based on the content of the posts. ","scope":"collection","_type":"workspace"},{"_id":"req_743f7cc8ad704e4b8e3d4ed6a020b4d3","parentId":"fld_6ff8316d2873466e9bcdbef308e8f35c","modified":1716472029734,"created":1712108992407,"url":"{{ _.APIURL }}/posts","name":"/posts/","description":"The fetching endpoint for fetching a set of posts. Use pagination by setting the page parameter to offset the posts returned by the server. ","method":"GET","body":{},"preRequestScript":"","parameters":[{"id":"pair_6f8295dcda7c46bba7b986c85873e525","name":"page","value":"1","description":"","type":"text","multiline":false}],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1712108997661,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_6ff8316d2873466e9bcdbef308e8f35c","parentId":"wrk_0376d599ec3940d2a69ce098b81507eb","modified":1712109004006,"created":1712107595052,"name":"posts","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1712107522801,"_type":"request_group"},{"_id":"req_c70c6987780941f4a07c998a72e88a49","parentId":"fld_6ff8316d2873466e9bcdbef308e8f35c","modified":1716471555214,"created":1712109082519,"url":"{{ _.APIURL }}/posts","name":"/posts/","description":"The posting endpoint for posting a text post to the database. Before saving, the post will be classified by the machine learning model based on the contents of the post. ","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"text\":\"text\"\n}"},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1712108628958.5,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_58f39540ab3d496eb57a2b8ee2b7a62f","parentId":"fld_6ff8316d2873466e9bcdbef308e8f35c","modified":1716471707764,"created":1712109050218,"url":"{{ _.APIURL }}/posts/:post_id","name":"/posts/:post_id","description":"The fetching endpoint for fetching a specific post using its post_id.","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1712108260256,"isPrivate":false,"pathParameters":[{"name":"post_id","value":"1"}],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b3f6b5afb0774c2d87f46bef7c209f06","parentId":"fld_314389d020eb4ba58e0b33f591681cc1","modified":1716471434733,"created":1712109101553,"url":"{{ _.APIURL }}/model/classify","name":"/model/classify","description":"The classify endpoint for interfacing directly with the model. Use this route to classify text as either offensive or safe. ","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"text\":\"text\"\n}"},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_21e80399f2f5489991fddf29b7afcf76","disabled":false},{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_435015494fb54904854f457f6ccde20b"}],"authentication":{},"metaSortKey":-1712109106622,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_314389d020eb4ba58e0b33f591681cc1","parentId":"wrk_0376d599ec3940d2a69ce098b81507eb","modified":1712107581089,"created":1712107576838,"name":"model","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1712107522751,"_type":"request_group"},{"_id":"req_091c111b73224867a01141abd2c820a5","parentId":"fld_314389d020eb4ba58e0b33f591681cc1","modified":1716471135565,"created":1712109776041,"url":"{{ _.APIURL }}/model/","name":"Model Health Check","description":"A status health check to ensure that the model service is running and available to receive requests.","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1712109052141.5,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_1d082c5948f948d68809a06eaf5d75f9","parentId":"wrk_0376d599ec3940d2a69ce098b81507eb","modified":1712781575847,"created":1712107406380,"name":"Base Environment","data":{"baseURL":"https://wgu-capstone-production.up.railway.app","APIURL":"https://wgu-capstone-production.up.railway.app/api"},"dataPropertyOrder":{"&":["baseURL","APIURL"]},"color":null,"isPrivate":false,"metaSortKey":1712107406380,"_type":"environment"},{"_id":"jar_18ab9d354a9946a781e481d62c337156","parentId":"wrk_0376d599ec3940d2a69ce098b81507eb","modified":1712107406381,"created":1712107406381,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"env_2335d6a022f74bcf98405cb4dd7b9ea2","parentId":"env_1d082c5948f948d68809a06eaf5d75f9","modified":1712108622907,"created":1712107447048,"name":"Dev Environment","data":{"baseURL":"http://127.0.0.1:8000","APIURL":"http://127.0.0.1:8000/api"},"dataPropertyOrder":{"&":["baseURL","APIURL"]},"color":null,"isPrivate":true,"metaSortKey":1712107447048,"_type":"environment"}]}