- auth
- 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
- Academic pedagogical
- Administrative Management Academic Pedagogical
- Community
- Administrative Management
- secretary
- school governing
- institution
- Get total peiGET
- Download PEIGET
- institution
- headquarter
- draft
- change-history
- notification
- user
- indicator
- 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
Refresh Token
POST
/auth/refresh
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
refresh_token
string
required
Example
{
"refreshToken": "{{refreshToken}}"
}
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/refresh' \
--header 'Content-Type: application/json' \
--data-raw '{
"refreshToken": "{{refreshToken}}"
}'
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.eyJzdWIiOiJjNmJiZmUzOS03ZGYzLTQzOGYtODNmNi1jZjZkMDcyYTgxMGEiLCJlbWFpbCI6ImxpbmFpbnN0aXR1Y2lvbkBnbWFpbC5jb20iLCJyb2xlIjoiaW5zdGl0dXRpb24iLCJzdWJSb2xlIjoiaW5zdGl0dWNpb24iLCJpYXQiOjE3NDc3NjIzMTgsImV4cCI6MTc0Nzc2NDExOH0.rCnt1onYkXyfoNRfHSPXDN6uqcR3eEczJm3bbDhuQ_A","refreshToken":"7888e835-30a2-4cd9-a9f7-9a7a52a1f8e7","userId":"c6bbfe39-7df3-438f-83f6-cf6d072a810a","subRole":"institucion","permissions":{"hvi":{"access":true,"submodules":[{"name":"institution_headquarter_management","access":true},{"name":"pei","access":true}]}},"subroles":[{"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":"pei","action":"update_pei"},{"id":"7f663365-1fc8-11ef-a561-505a65c22ce2","module":"hvi","submodule":"pei","action":"view_pei_institution"},{"id":"7f663365-1fc8-11ef-a561-505a65c22ce2","module":"hvi","submodule":"pei","action":"create_pei"}]}
🟠401ValidationToken
🟠403ValidationRole
🟠401Unauthorized
Modified at 2024-10-03 18:05:08