8000 GitHub - agaUHO/.github: AGA - Sistema de gestión universitaria · GitHub
[go: up one dir, main page]

Skip to content
agaUHOPublic

About

AGA - Sistema de gestión universitaria

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

AGA

Adaptar - Gestionar - Automatizar

developers

@akosej @TheRealVizard @Huguitin @Yensoile

Plugins

TowFactor Autor:@akosej

Modules

ModuleComputerSecurity

System routes

  • /aga/
    • Output is a html
      • Returns the system documentation
  • /aga/login
    • This url is to login to the system, you must send BODY in raw format with application/json by POST method:

      • {"username": "$val1", "password": "$val2", "securitycode": "$val3"}
        • $val1 Specify the user
        • $val2 Type the password in plain text
        • $val3 Specify the 6-digit 2fa code
    • Output is a json:

      •     {
        "OK": true,
        "activeUser": {
            "status": 200,
            "account_state": "TRUE",
            "uid": "akos",
            "personal_information": {
              "dni": "92082643541",
              "cn": "EDGAR JAVIER PEÑA HERNANDEZ",
              "given_name": "EDGAR JAVIER",
              "sn": "PEÑA HERNANDEZ"
            },
            "account_info": {
              "user_type": "Institucional",
              "expire_date": "",
              "description": "",
              "title": "",
              "initials": "update",
              "create_user": "[ej]",
              "create_date": "2022-10-22 02:02:12 am",
              "modify_user": "akos",
              "modify_data": "2022-10-22 03:35:08 am",
              "password": {
              "user_password_set": "2022-10-22 03:35:08 am",
              "pass_valid": "Expirado",
              "pass_set": "191"
            },
            "synchro": {
              "hash_mod_ldap": "",
              "hash_mod_api": "",
              "sync_required": false
            },
            "ou": "corporatives"
            },
            "permissions": [],
            "other_accounts": null,
            "preference": {
              "color": "",
              "theme_dark": "",
              "orc_id": "",
              "facebook": "",
              "twitter": "",
              "instagram": "",
              "telegram": "",
              "whats_app": "",
              "research_gate": "",
              "linked_in": "",
              "google": ""
            },
            "service": {
              "mail": {
                "enabled": "TRUE",
                "access_in": "internac-in",
                "access_out": "internac-out",
                "quota": "1048576"
              },
              "proxy": {
                "enabled": "TRUE",
                "access": "internac",
                "quota": "0"
              },
              "nextcloud": {
                "enabled": "FALSE",
                "quota": "0"
              },
              "Remote": {
                "enabled": "FALSE",
                "phone_number": ""
              },
              "wifi": {
                "enabled": "TRUE",
                "device_number": "1",
                "macaddress": []
              }
            },
            "assets": {
              "area": "",
              "department_number": "",
              "category": "",
              "position": "",
              "category_name": "",
              "subcategory_name": "",
              "profession": ""
            },
            "sigenu": {
              "country": "",
              "student_type": "",
              "carrer": "",
              "faculty": "",
              "course_type": "",
              "scholastic_origin": "",
              "town_university": "",
              "matriculation_end_date": "",
              "re_matriculation_end_date": "",
              "student_status": "",
              "student_year": ""
            },
            "two_factor": {
              "status": "false",
              "qr": ""
            }
        },
        "message": "success"
        }
    • Status

      • 200 success
      • 401 Credenciales incorrectas | 2fa incorrect
      • 409 Format error in user or password
      • 500 could not login
  • /aga/logout
    • This url is to log out of the system, POST method

    • Output

      •   {
            "message": "success|false",
          }
    • Status

      • 200 Success
      • 401 Error
  • /aga/active
    • Returns the data of the logged in user with the structure of (activeUser)

About

AGA - Sistema de gestión universitaria

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

0