Public
Documentation Settings

TransMissão Tech

Introdução

API REST do projeto Transmissão Tech.

Visão Geral

O projeto Transmissão tech possibilita conexão para pessoas trans que desejam alavancar sua carreira na tecnologia.

POSThttp://localhost:3001/mentor/registrar

http://localhost:3001/mentor/registrar

Registro de pessoa mentora

Bodyraw
{
	"nome": "João",
	"email" : "joao@email.com", 
	"senha": "123456", 
	"idade" : 23, 
	"sexo" : 1, 
	"resumo" : "Sou uma pessoa mentora!", 
	"linkedin" : "www.linkedin.com/joao", 
	"atributo" : "frontend, backend", 
	"imagem" : "91e1ae7ddf2a7642481671e87638da3b"
}
Example Request
curl
curl --location 'http://localhost:3001/mentor/registrar' \
--data-raw '{
	"nome": "João",
	"email" : "joao@email.com", 
	"senha": "123456", 
	"idade" : 23, 
	"sexo" : 1, 
	"resumo" : "Sou uma pessoa mentora!", 
	"linkedin" : "www.linkedin.com/joao", 
	"atributo" : "frontend, backend", 
	"imagem" : "91e1ae7ddf2a7642481671e87638da3b"
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSThttp://localhost:3001/mentor/upload

http://localhost:3001/mentor/upload

Upload da foto de Perfil da pessoa mentora

Bodyraw
MultipartForm: avatar - file
Example Request
curl
curl --location 'http://localhost:3001/mentor/upload' \
--data 'MultipartForm: avatar - file'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSThttp://localhost:3001/mentor/login

http://localhost:3001/mentor/login

Login de pessoas mentoras

Bodyraw
{
	"email" : "joao@email.com",
	"senha" : "123456"
}
Example Request
curl
curl --location 'http://localhost:3001/mentor/login' \
--data-raw '{
	"email" : "joao@email.com",
	"senha" : "123456"
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers