{"info":{"_postman_id":"6f5166d7-f66d-49a7-95bc-b4976f5c5eb8","name":"LabeSystem","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19721031","collectionId":"6f5166d7-f66d-49a7-95bc-b4976f5c5eb8","publishedId":"UzXKXeSC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-24T22:01:28.000Z"},"item":[{"name":"Buscar alunos","id":"9a057c35-7415-493b-8276-5d19e2b51841","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://labesystem-1.herokuapp.com/estudante/?nome=maria","description":"<p>Este endpoint busca um aluno pelo nome através da Query. Se não for enviado um nome, retorna todos os alunos.</p>\n","urlObject":{"protocol":"https","path":["estudante",""],"host":["labesystem-1","herokuapp","com"],"query":[{"key":"nome","value":"maria"}],"variable":[]}},"response":[],"_postman_id":"9a057c35-7415-493b-8276-5d19e2b51841"},{"name":"Buscar docentes","id":"dee7f3b5-03b6-4724-9f0b-7f376cc7ebf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://labesystem-1.herokuapp.com/docente/","description":"<p>Este endpoint retorna a lista de todos os docentes cadastrados.</p>\n","urlObject":{"protocol":"https","path":["docente",""],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dee7f3b5-03b6-4724-9f0b-7f376cc7ebf3"},{"name":"Buscar todas as turmas","id":"19732786-a631-4028-aca2-3bbe15a001d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://labesystem-1.herokuapp.com/turma/","description":"<p>Este endpoint retorna todas as turmas existentes.</p>\n","urlObject":{"protocol":"https","path":["turma",""],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"19732786-a631-4028-aca2-3bbe15a001d3"},{"name":"Buscar turmas ativas","id":"716e4f08-f819-4d31-9b74-e209fb4d90d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://labesystem-1.herokuapp.com/turma/ativa","description":"<p>Este endpoint retorna somente as turmas ativas (que as aulas já iniciaram).</p>\n","urlObject":{"protocol":"https","path":["turma","ativa"],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"716e4f08-f819-4d31-9b74-e209fb4d90d6"},{"name":"Criar turma","id":"fb1661e2-bec1-4016-b278-b6d80c43e5a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nome\": \"nomeDaTurma\",\r\n    \"modulo\": \"X\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://labesystem-1.herokuapp.com/turma/","description":"<p>Este endpoint cria uma nova turma. Através do Body é feito o envio do nome da turma e do módulo.</p>\n<p>O módulo quando não enviado automaticamente é criado um com valor padrão \"0\".</p>\n<p>Os módulos são de \"0\" até \"6\". Valores diferentes desses não funcionarão.</p>\n","urlObject":{"protocol":"https","path":["turma",""],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb1661e2-bec1-4016-b278-b6d80c43e5a7"},{"name":"Criar estudante","id":"924ef5b2-f3a0-473e-9cad-bb9a90da88ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nome\": \"nomeDoAluno\",\r\n    \"email\": \"emailDoAluno\", \r\n    \"data_nasc\": \"DD/MM/AAAA\", \r\n    \"turma_id\": \"idDaTurma\", \r\n    \"hobby\": [\"Hobby1\", \"Hobby2\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://labesystem-1.herokuapp.com/estudante/","description":"<p>Este endpoint cria um novo aluno no sistema.</p>\n<p>Através do Body é feito o envio do nome do aluno, email, data de nascimento, id da turma e lista de hobbies.</p>\n<p>É OBRIGATÓRIO que o hobby seja enviado dentro de um array, mesmo que o aluno tenha apenas um hobby.</p>\n","urlObject":{"protocol":"https","path":["estudante",""],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"924ef5b2-f3a0-473e-9cad-bb9a90da88ac"},{"name":"Criar docente","id":"94ff0d32-a5d4-496d-b87c-23a2e2838177","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nome\": \"nomeDoDocente\",\r\n    \"email\": \"emailDoDocente\", \r\n    \"data_nasc\": \"DD/MM/AAAA\", \r\n    \"turma_id\": \"idDaTurma\", \r\n    \"especialidade\": [\"especialidade1\", \"especialidade2\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://labesystem-1.herokuapp.com/docente/","description":"<p>Este endpoint cria um novo aluno no sistema.</p>\n<p>Através do Body é feito o envio do nome do aluno, email, data de nascimento, id da turma e lista de hobbies.</p>\n<p>É OBRIGATÓRIO que a(s) especialidade(s) seja(m) enviada(s) dentro de um array, mesmo que o docente tenha apenas uma especialidade.</p>\n<p>As especialidades possíveis são: \"React\", \"JS\", \"CSS\", \"Typescript\", \"POO\".</p>\n<p>Ao tentar inserir uma especialidade que não esteja na lista acima, retornará um erro.</p>\n","urlObject":{"protocol":"https","path":["docente",""],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"94ff0d32-a5d4-496d-b87c-23a2e2838177"},{"name":"Mudar aluno de turma","id":"dfdcbd22-700c-421e-94f2-e8164b792d96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"idDoAluno\",\r\n    \"turma\": \"nomeDaTurma\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://labesystem-1.herokuapp.com/estudante/","description":"<p>Este endpoint altera a turma de um aluno específico.</p>\n<p>Através do Body, são enviados o id do aluno e o nome da turma desejada.</p>\n","urlObject":{"protocol":"https","path":["estudante",""],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfdcbd22-700c-421e-94f2-e8164b792d96"},{"name":"Mudar docente de turma","id":"954d81f5-8b7f-464d-840b-6904c47936e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"idDoDocente\",\r\n    \"turma\": \"nomeDaTurma\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://labesystem-1.herokuapp.com/docente/","description":"<p>Este endpoint altera a turma de um docente específico.</p>\n<p>Através do Body, são enviados o id do docente e o nome da turma desejada.</p>\n","urlObject":{"protocol":"https","path":["docente",""],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"954d81f5-8b7f-464d-840b-6904c47936e7"},{"name":"Mudar o módulo da turma","id":"ac146817-7b1e-4673-896b-dd6649683bc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"modulo\": \"X\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://labesystem-1.herokuapp.com/turma/:nome","description":"<p>Este endpoint altera o módulo de uma turma específica.</p>\n<p>O nome da turma é enviado no Path e o módulo no Body.</p>\n","urlObject":{"protocol":"https","path":["turma",":nome"],"host":["labesystem-1","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"nome"}]}},"response":[],"_postman_id":"ac146817-7b1e-4673-896b-dd6649683bc5"}]}