All admin endpoints require a Bearer token belonging to a user withDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/giangartun/Tis-GOAT-Frontend/llms.txt
Use this file to discover all available pages before exploring further.
tipo_usuario === 'admin'. Regular user tokens will receive HTTP 403 Forbidden. Keep admin credentials secure and never expose them in client-side code or public repositories.
TypeScript interfaces
The following interfaces describe the objects returned by the user management and audit log endpoints. They are reproduced here directly from the source for reference.User Management
List users
Filter by name or email. Performs a partial, case-insensitive match.
Filter by account status. Accepted values:
activo, suspendido, todos (default).Page number for pagination. Defaults to
1.Number of results per page. Defaults to the server-configured value.
200 OK
Total number of registered users across all pages and statuses.
Number of users with
estado === 'activo'.Number of users with
estado === 'suspendido'.The current page number.
The last available page number.
Total results matching the current filter.
Array of user objects for the current page. See the
UsuarioAdmin interface.Suspend a user
The
id_usuario of the account to suspend.200 OK
Confirmation message.
Reactivate a user
The
id_usuario of the account to reactivate.200 OK
Confirmation message.
Audit Log
List audit log entries
Filter by action type. Accepted values:
| Value | Description |
|---|---|
todos | All action types (default) |
suspender | Account suspension events |
reactivar | Account reactivation events |
modificaciones | Profile or data modification events |
creacion | New resource creation events |
login | Login events |
logout | Logout events |
Filter entries on or after this date. ISO date format
YYYY-MM-DD.Filter entries on or before this date. ISO date format
YYYY-MM-DD.Filter entries attributed to a specific user ID.
Page number for pagination. Defaults to
1.200 OK
Total entries matching the current filter.
The current page number.
The last available page number.
Array of audit log entries. See the
BitacoraItem interface.The contexto field contains a free-form JSON object with additional metadata about the action (e.g. changed fields for modification events), or null if no extra context was recorded.Technology Catalog
The technology catalog is the list of skills and tools that users can select when adding technical skills to their portfolio.List technologies
200 OK
Total number of technologies in the catalog.
Array of technology objects.
Create a technology
Technology name.
Category the technology belongs to.
200 OK
Confirmation message.
The newly created technology object.
Update a technology
The
id_tecnologia of the technology to update.Updated technology name.
Updated category.
200 OK
Confirmation message.
The updated technology object.
Delete a technology
The
id_tecnologia to delete.200 OK
Confirmation message.
Grade Catalog
The grade catalog stores academic degree levels that users can reference in their profiles (e.g. “Licenciatura”, “Maestría”).List grades
200 OK
Total number of grade entries.
Array of grade objects.
Create a grade
Name of the academic grade level.
200 OK
Confirmation message.
The newly created grade object.
Update a grade
The
id_grado to update.Updated grade name.
200 OK
Confirmation message.
The updated grade object.
Delete a grade
The
id_grado to delete.200 OK
Announcements
Announcements appear on the platform homepage or dashboard. They support an optional image and redirect URL.List announcements
200 OK
Total number of announcements.
Array of announcement objects.
Create an announcement
Announcement title.
Optional body text describing the announcement.
The URL users are directed to when they click the announcement.
Optional image file to display alongside the announcement.
200 OK
Confirmation message.
The newly created announcement object.
Update an announcement
This endpoint uses
POST rather than PUT or PATCH because it accepts multipart/form-data for optional image replacement.The
id_anuncio to update.Updated title.
Updated description.
Updated redirect URL.
Replacement image file.
200 OK
Confirmation message.
The updated announcement object.
Delete an announcement
The
id_anuncio to delete.200 OK
Backup
Download a backup
Content-Type: application/json.
The client should save the file as backup_YYYY-MM-DD.json where the date is the current date at download time.
Example curl
200 OK
Response body is a raw JSON blob — not a JSON envelope. The file contains a complete snapshot of platform data suitable for import via the restore endpoint.
Restore from backup
The backup JSON file to import. Must be a file previously generated by
GET /api/admin/backup.200 OK
Confirmation message indicating the restore completed.
ISO 8601 timestamp of when the import was processed.