ValleLabs
  1. auth
ValleLabs
  • auth
    • Login
      POST
    • Logout
      GET
    • Refresh Token
      POST
  • pei
    • definition
      • Get PEI definition
      • Update PEI definition
      • Create PEI definition
    • component
      • Administrative Management
        • Save principles fundamentals
        • Save objectives
        • Save school government
        • Save educational costs
        • Save resource evaluation
        • Save administrative organization management evaluation
        • Update principles fundamentals
        • Update objectives
        • Update school government
        • Update educational costs
        • Update resource evaluation
        • Update administrative organization management evaluation
      • Administrative Community Management
        • Save institutional situation analysis
        • Update institutional situation analysis
      • Academic pedagogical
        • Save pedagogical strategy
        • Save curriculum plan and evaluation and promotion criteria - PEI
        • Update pedagogical strategy
        • Update curriculum plan and evaluation and promotion criteria - PEI
      • Administrative Management Academic Pedagogical
        • Save coexistence manual and teacher regulations
        • Update coexistence manual and teacher regulations
      • Community
        • Save relationship social organizations
        • Save articulation cultural expressions
        • Save institutional diagnosis reference
        • Update relationship social organizations
        • Update articulation cultural expressions
        • Update institutional diagnosis reference
    • secretary
      • Get all PEI created
      • Get PEI by ID and aspect ID
      • Revision PEI with observations
      • Revision PEI without observations
    • school governing
      • Create school governing
      • Get school governing
    • institution
      • Save PEI data with a file
      • Send PEI data to revision
      • Get PEI data by aspect's indicator
      • Get PEI components
      • Get PEI status of completed
      • Get PEI History
    • Get total pei
      GET
    • Download PEI
      GET
  • institution
    • Create
      POST
    • Create massive
      POST
    • Update
      PUT
    • Find
      GET
    • Find all
      GET
    • FindByMunicipality
      GET
    • FindByHeadquarter
      GET
    • FindByGagem
      GET
    • Merge institution to institution
      POST
    • Create Merge institution to institution
      POST
    • Find history files
      GET
    • Get history file - role institution
      GET
    • Download all institutions
      POST
  • headquarter
    • Create
      POST
    • Update
      PUT
    • FindByInstitution
      GET
    • Find
      GET
    • Merge headquarters to institution
      POST
    • Find history files
      GET
    • FindByRoleInstitution
      GET
  • draft
    • institution
      • Create
      • Update
    • headquarter
      • Update
      • Create
    • Delete
    • FindByUser
  • change-history
    • FindByInstitution
    • FindByHeadquarter
    • FindByAspectIndicator
  • notification
    • Get by institution
    • Delete
  • user
    • Get institutions
  • indicator
    • Get totals (institutions, headquarters, aulas, students, teachers)
    • Get student-techear ratio
    • Get steam-room-ratio
    • Get totals modelsByInstitution
    • Get absense public-service by headquarter
    • Get steam-room
  • filters
    • List gagem
    • List establishment-type
    • List sector
    • List nature
    • List schedule
    • List area
    • List deparment
    • List municipality by deparment
    • List resolution-type
    • List headquarter-type
    • List state
    • List model
    • List character-due
    • List state-due
    • List specialty-due
    • List detailed-specialty
    • List grade
    • List academic-day
    • List public-service-type
    • List operator by public service
    • List municipality By Gagem
    • List role by institution
    • List zone
    • List modality
    • List labpoint
    • List state-quality
    • List environment
    • List organization
    • List financing-type
    • List document-type
    • List resource-physical-type
    • List resource-technological-type
    • List cultural-activity-type
    • List session-act-type
    • List organization-community-type
    • List model-pedagogical-type
    • List plan-type
    • List area-teacher
    • List project-type
    • List profile-type
    • List process-type
    • List area-knowledge
    • List curriculum-structure-type
    • List investigation-product-type
    • List tools
    • List service-type
    • List initiative-type
    • List curricular-levels
    • List population-group
    • List entrepreneurship-type
    • List area-type
    • List session-acts
  • file
    • Get url file
  1. auth

Login

POST
/auth/login
Este endpoint permite a los usuarios iniciar sesión en el sistema proporcionando los detalles de la aplicación y un token.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
app
string 
required
token
string 
Token SIGP 1.0
required
Example
{
  "app": "SIGP",
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MzE3NCwibmFtZSI6IkV4cGxvcmFjaW9uIFNJR1AiLCJlbWFpbCI6ImV4cGxvcmFjaW9uU2lncEBnbWFpbC5jb20iLCJyb2xlcyI6eyJzZWNyZXRhcnkiOlsiaW5zcGVjY2lvbiJdfSwiaW5zdGl0dXRpb25zIjpbNjExMiw2MTEzLDYxMTQsNjExNSw2MTE2LDYxMTcsNjExOCw2MTE5LDYxODQsNjE4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request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://vallelabs-pei-hvi.talentum.edu.co/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
  "app": "SIGP",
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MzE3NCwibmFtZSI6IkV4cGxvcmFjaW9uIFNJR1AiLCJlbWFpbCI6ImV4cGxvcmFjaW9uU2lncEBnbWFpbC5jb20iLCJyb2xlcyI6eyJzZWNyZXRhcnkiOlsiaW5zcGVjY2lvbiJdfSwiaW5zdGl0dXRpb25zIjpbNjExMiw2MTEzLDYxMTQsNjExNSw2MTE2LDYxMTcsNjExOCw2MTE5LDYxODQsNjE4NSw2MTg2LDY3NjgsNjc2OSw2NzcwLDY3NzEsMTA0MzA0LDU2NTUsNTY1Niw1NjU3LDYwODIsNjA4Myw2MDg0LDYwODYsNjA4Nyw2MDA4OSw2MTk4LDYxOTksNjIwMCw2MjAxLDYyMDIsNjMwMCw2MzA4LDYzMjUsNjMyNiw2MzI3LDYzMjgsNjMyOSwxMjM0NTYsNjQ1NSw2NDU2LDY0NTcsMTA0Mjg0LDU1MTksNTUyMCw1NTIxLDU1MjIsNTUyMyw1NTI0LDU5NDMsNTk0NCw1OTQ1LDU5NDYsNjQ2MSw2NDYyLDY0NjMsNjQ2NCw2NDY1LDY0NjYsNTUzNCw1NTM1LDU1MzYsNTUzNyw1NTM4LDU2MjgsNTYyOSw1NjMwLDU2NTksNTY2MCw1NzI4LDU4NTQsNTg1NSw1OTI1LDU5MjYsNTkyNyw1OTI4LDU1MzksNTU0MCw1NTQxLDU1NDIsNTU0Myw1NjQ1LDU2NDYsNTY0Nyw1NjQ4LDU2NDksNTY1MCw1OTMzLDU5MzQsNTkzNSw1OTM2LDU5MzcsNTkzOSwxMDU0NTYsNTYzMSw1NjMyLDU2MzMsNTYzNCw1NjM1LDU2MzYsNTYzOCw1NjQwLDU2NDEsNjc3Miw2NzczLDY3NzQsNjc3NSw2Nzc3LDU1MTUsNTU1MSw2Nzc4LDY3NzksNTUxNiw1NTE3LDU1MTgsNTY0Miw1NjQzLDU2NDQsNTY1Myw1NjU0LDU4MzIsNTgzMyw1ODM0LDU4MzUsNTgzNiw1OTE3LDU5MTgsNTkxOSw1OTIwLDU5MjMsNTkyNCw2MzgsNTk5OSw2MjE5LDEwNTEyNCw1NTQ0LDU1NDUsNTU0Niw1NTQ3LDU1NDgsNTg1Miw1ODUzLDU4NTksNTg2MCw1OTIxLDU5MjIsNTkxMyw1OTE0LDYxOTIsNjE5NCw2MTk1LDYxOTcsNjIyMCw1NjUxLDU2NTJdfQ.HT8jQorsh8S66V7SexXPOLvroncd13WHARa7Exmo5bI"
}'

Responses

🟢201Created
application/json
Body
token
string 
required
refreshToken
string 
required
userId
string 
required
subRole
string 
required
permissions
object 
required
hvi
object 
required
subroles
array [object {4}] 
required
id
string 
required
module
string 
required
submodule
string 
required
action
string 
required
Examples
{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlZjU4MDBkZi02YTQ0LTQ1YTctOGJhMC0xMjBhOTRmZDlkZTgiLCJlbWFpbCI6ImxpbmFBc3ByaWxsYUBnbWFpbC5jb20iLCJyb2xlIjoic2VjcmV0YXJ5Iiwic3ViUm9sZSI6Imluc3BlY2Npb24iLCJpYXQiOjE3MjIwMTEyMTYsImV4cCI6MTcyMjAxMzAxNn0.fHRrAJcfgAMpkfCGMvsBNG2toF1GywaLm_Jkqnp6tIU",
    "refreshToken": "19350ee6-236f-4b4c-bb2b-14e2b05c093c",
    "userId": "ef5800df-6a44-45a7-8ba0-120a94fd9de8",
    "subRole": "inspeccion",
    "permissions": {
        "hvi": {
            "access": true,
            "submodules": [
                {
                    "name": "institution_headquarter_management",
                    "access": true
                }
            ]
        }
    },
    "subroles": [
        {
            "id": "7f663365-1fc8-11ef-a561-505a65c22ce2",
            "module": "hvi",
            "submodule": "institution_headquarter_management",
            "action": "update_headquarter"
        },
        {
            "id": "7f663365-1fc8-11ef-a561-505a65c22ce2",
            "module": "hvi",
            "submodule": "institution_headquarter_management",
            "action": "create_institution"
        },
        {
            "id": "7f663365-1fc8-11ef-a561-505a65c22ce2",
            "module": "hvi",
            "submodule": "institution_headquarter_management",
            "action": "create_headquarter"
        },
        {
            "id": "7f663365-1fc8-11ef-a561-505a65c22ce2",
            "module": "hvi",
            "submodule": "institution_headquarter_management",
            "action": "update_institution"
        },
        {
            "id": "7f663365-1fc8-11ef-a561-505a65c22ce2",
            "module": "hvi",
            "submodule": "institution_headquarter_management",
            "action": "view_institution"
        },
        {
            "id": "7f663365-1fc8-11ef-a561-505a65c22ce2",
            "module": "hvi",
            "submodule": "institution_headquarter_management",
            "action": "view_headquarter"
        },
        {
            "id": "7f663365-1fc8-11ef-a561-505a65c22ce2",
            "module": "hvi",
            "submodule": "institution_headquarter_management",
            "action": "merge_headquarter"
        }
    ]
}
🟠401ValidationToken
🟠401Active session
Modified at 2025-02-13 19:14:28
Next
Logout
Built with