{"info":{"_postman_id":"5401254b-066b-4b3f-a931-19d401d2d822","name":"wordle","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"4469511","collectionId":"5401254b-066b-4b3f-a931-19d401d2d822","publishedId":"2s93eR3vBF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-08T15:02:41.000Z"},"item":[{"name":"auth","item":[{"name":"Register new user","id":"d3bf70b5-ae20-4c54-bffc-a328edb146b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"test1@testowy.pl\",\n    \"firstName\": \"Imie\",\n    \"lastName\": \"Nazwisko\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/users","description":"<p>Zapytanie typu POST pozwalające na zarejestrowanie nowego użytkownika</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3bf70b5-ae20-4c54-bffc-a328edb146b4"},{"name":"get current user by token","id":"ad4def20-fc8e-40d8-9ccd-2a2b95e7e380","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"test@testowy.pl\",\n    \"firstName\": \"Imie\",\n    \"lastName\": \"Nazwisko\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/users/user","description":"<p>Zapytanie typu GET pozwalające na pobranie informacji o użytkowniku na podstawie tokenu</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad4def20-fc8e-40d8-9ccd-2a2b95e7e380"},{"name":"Get user by id","id":"25d18c56-3340-4c72-980b-d5ef9975bebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/users/1","description":"<p>Zapytanie typu GET zwarcające informacje o użytkowniku na postawie jego numeru ID</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"25d18c56-3340-4c72-980b-d5ef9975bebb"}],"id":"2084f843-2d35-4cf4-9f1e-ee7797b87251","_postman_id":"2084f843-2d35-4cf4-9f1e-ee7797b87251","description":""},{"name":"language","item":[{"name":"Add language","id":"0c7fa4cd-b8eb-417b-8455-a7af9ce45741","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"Polski\",\n    \"languageCode\": \"PL\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/language","urlObject":{"protocol":"http","port":"8080","path":["api","v1","language"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c7fa4cd-b8eb-417b-8455-a7af9ce45741"},{"name":"List all languages","id":"a5aef311-9207-48c4-a719-2a2baf6b4b60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/language","description":"<p>Zapytanie typu GET wyświetlające liste dostepnych jezyków</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","language"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5aef311-9207-48c4-a719-2a2baf6b4b60"},{"name":"Delete language","id":"f2d3d786-09af-4281-87f9-c181958765f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/language/1","urlObject":{"protocol":"http","port":"8080","path":["api","v1","language","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2d3d786-09af-4281-87f9-c181958765f8"}],"id":"9cda21c2-8ef6-497f-a5ca-055f94e6ff09","_postman_id":"9cda21c2-8ef6-497f-a5ca-055f94e6ff09","description":""},{"name":"word","item":[{"name":"Get random word","id":"b4eb0217-5e73-4947-a97d-0685522baf76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/word/random?languageCode=PL","urlObject":{"protocol":"http","port":"8080","path":["api","v1","word","random"],"host":["localhost"],"query":[{"key":"languageCode","value":"PL"}],"variable":[]}},"response":[],"_postman_id":"b4eb0217-5e73-4947-a97d-0685522baf76"},{"name":"Add new word","id":"c5a5be03-3b91-4ecb-91fe-e93e07269ab1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"word\": \"TEST\",\n    \"languageCode\": \"PL\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/word","description":"<p>Zapytanie typu POST pozwalające na dodanie nowego słowa</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","word"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5a5be03-3b91-4ecb-91fe-e93e07269ab1"},{"name":"Get all words","id":"cd9cfd39-89a6-4004-9959-d02fc2f4f343","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/word","urlObject":{"protocol":"http","port":"8080","path":["api","v1","word"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd9cfd39-89a6-4004-9959-d02fc2f4f343"}],"id":"c02e7cee-4bb6-456f-9b2a-52f0a3cb6839","_postman_id":"c02e7cee-4bb6-456f-9b2a-52f0a3cb6839","description":""},{"name":"game","item":[{"name":"Add game","id":"ac26c0d9-b037-4238-a561-101a4a247897","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"turns\": 3,\n    \"guessed\": true,\n    \"word\": \"Słowo\",\n    \"languageCode\": \"PL\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/game","urlObject":{"protocol":"http","port":"8080","path":["api","v1","game"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac26c0d9-b037-4238-a561-101a4a247897"}],"id":"4d538da1-2963-4cbf-a502-f4765ab8dcf5","_postman_id":"4d538da1-2963-4cbf-a502-f4765ab8dcf5","description":""},{"name":"statistics","item":[{"name":"Get statistics","id":"cd7fc57c-baa2-4a3f-a366-2831ea77d2c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/statistics?word=Słowo&languageCode=PL","description":"<p>Zapytanie typu GET pozwalające na pobranie statystyk, w zależności czy użytkownik jest zalogowany czy też nie pobierane są odpowiednie statystyki</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","statistics"],"host":["localhost"],"query":[{"key":"word","value":"Słowo"},{"key":"languageCode","value":"PL"}],"variable":[]}},"response":[],"_postman_id":"cd7fc57c-baa2-4a3f-a366-2831ea77d2c2"}],"id":"4ccc1794-2b44-431c-8617-9cbe070aa48c","_postman_id":"4ccc1794-2b44-431c-8617-9cbe070aa48c","description":""}]}