## Autogenerated by Scribe. DO NOT MODIFY.

name: Connexion
description: 'Permet la connexion et création de compte'
endpoints:
  -
    httpMethods:
      - POST
    uri: api/register
    metadata:
      groupName: Connexion
      groupDescription: 'Permet la connexion et création de compte'
      subgroup: ''
      subgroupDescription: ''
      title: "Création d'un compte utilisateur"
      description: ''
      authenticated: false
      custom: []
    headers:
      Content-Type: application/json
      Accept: application/json
    urlParameters: []
    cleanUrlParameters: []
    queryParameters: []
    cleanQueryParameters: []
    bodyParameters:
      username:
        name: username
        description: validation.max.
        required: true
        example: yyxipfjlgclawnyup
        type: string
        custom: []
      email:
        name: email
        description: 'The user email.'
        required: true
        example: dominique.mayert@example.com
        type: string
        custom: []
      password:
        name: password
        description: Password.
        required: true
        example: r98639bgh3
        type: string
        custom: []
      name:
        name: name
        description: 'Name of the user'
        required: true
        example: 'John Doe'
        type: string
        custom: []
    cleanBodyParameters:
      username: yyxipfjlgclawnyup
      email: dominique.mayert@example.com
      password: r98639bgh3
      name: 'John Doe'
    fileParameters: []
    responses: []
    responseFields: []
    auth: []
    controller: null
    method: null
    route: null
    custom: []
  -
    httpMethods:
      - POST
    uri: api/login
    metadata:
      groupName: Connexion
      groupDescription: 'Permet la connexion et création de compte'
      subgroup: ''
      subgroupDescription: ''
      title: "Connexion d'un compte utilisateur"
      description: ''
      authenticated: false
      custom: []
    headers:
      Content-Type: application/json
      Accept: application/json
    urlParameters: []
    cleanUrlParameters: []
    queryParameters: []
    cleanQueryParameters: []
    bodyParameters:
      username:
        name: username
        description: 'The user name.'
        required: true
        example: fostt
        type: string
        custom: []
      password:
        name: password
        description: Password.
        required: true
        example: fostt
        type: string
        custom: []
    cleanBodyParameters:
      username: fostt
      password: fostt
    fileParameters: []
    responses: []
    responseFields: []
    auth: []
    controller: null
    method: null
    route: null
    custom: []
  -
    httpMethods:
      - POST
    uri: api/me
    metadata:
      groupName: Connexion
      groupDescription: 'Permet la connexion et création de compte'
      subgroup: ''
      subgroupDescription: ''
      title: "Retourne l'utilisateur connecté"
      description: ''
      authenticated: true
      custom: []
    headers:
      Authorization: 'Bearer {YOUR_AUTH_KEY}'
      Content-Type: application/json
      Accept: application/json
    urlParameters: []
    cleanUrlParameters: []
    queryParameters: []
    cleanQueryParameters: []
    bodyParameters: []
    cleanBodyParameters: []
    fileParameters: []
    responses: []
    responseFields: []
    auth:
      - headers
      - Authorization
      - 'Bearer h156vZV3g4ecdf6PbaEk8aD'
    controller: null
    method: null
    route: null
    custom: []
