Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W Wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Free From Club
  • Wiki
  • Wiki
  • Endpoints

Last edited by Gustavo Vicentini Deon Apr 14, 2023
Page history

Endpoints

Usuário

POST /users
Parameters
name type data type description
name required String N/A
email required String N/A
password required String N/A
birthday required Date N/A
city required String N/A
uf required String N/A
phone required Long N/A
restrictions required List Lista composta pelas restrições do usuário (nome e categoria)
Responses
http code content-type response
200 text/plain;charset=UTF-8 Usuário criado
Example cURL
 curl -X POST -H "Content-Type: application/json" --data @post.json http://localhost:8080/users

Restrições

GET / restrictions
Parameters

None

Responses
http code content-type response
200 text/plain;charset=UTF-8 JSON List
Example cURL
 curl -X GET -H "Content-Type: application/json" http://localhost:8080/restrictions
POST /restrictions
Parameters
name type data type description
name required String Nome da restrição
Responses
http code content-type response
200 text/plain;charset=UTF-8 Restrição criada
Example cURL
 curl -X POST -H "Content-Type: application/json" --data @post.json http://localhost:8080/restrictions
Clone repository
  • Arquitetura
  • Database
  • Endpoints
  • Estudos
  • Mockups
  • Sprints
  • USs
  • configuracao
  • gerenciamento
  • Home