Skip to main content

Documentation 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.

Professional links connect your portfolio to your profiles on platforms like LinkedIn, GitHub, and GitLab. Each link stores a normalized platform name (nombre_red) and the full resolved URL (url_red). The frontend constructs url_red by appending a username to the platform’s base URL, so no URL assembly is required on your end — you can also pass a fully-formed URL directly. All endpoints require an Authorization: Bearer <token> header.
GET /api/redes-profesionales/:id_usuario
Authorization: Bearer <token>
Retrieve all professional network links registered for a user.
id_usuario
string
required
The ID of the user whose professional links should be returned.
Example curl
curl https://api.goatportfolio.com/api/redes-profesionales/7 \
  -H "Authorization: Bearer <token>"
Success response — 200 OK Returns an array of link objects.
[*]
object
A professional network link.
[
  {
    "id_redes_prof": "3",
    "nombre_red": "linkedin",
    "url_red": "https://www.linkedin.com/in/janedoe",
    "created_at": "2024-04-12T09:15:00.000000Z"
  },
  {
    "id_redes_prof": "4",
    "nombre_red": "github",
    "url_red": "https://github.com/janedoe",
    "created_at": "2024-04-12T09:16:00.000000Z"
  }
]

POST /api/redes-profesionales
Content-Type: application/json
Authorization: Bearer <token>
Add a new professional network link to a user’s portfolio. Request body
id_usuario
string
required
The ID of the user who owns this link.
nombre_red
string
required
Normalized, lowercase platform key. Accepted values:
ValuePlatform
linkedinLinkedIn
githubGitHub
gitlabGitLab
leetcodeLeetCode
hackerrankHackerRank
kaggleKaggle
instagramInstagram
facebookFacebook
twitterxTwitter / X
url_red
string
required
Full URL to the user’s profile. The frontend builds this by concatenating the platform’s base URL with the username. Use the following base URLs:
PlatformBase URL
LinkedInhttps://www.linkedin.com/in/
GitHubhttps://github.com/
GitLabhttps://gitlab.com/
LeetCodehttps://leetcode.com/
HackerRankhttps://www.hackerrank.com/
Kagglehttps://www.kaggle.com/
Instagramhttps://www.instagram.com/
Facebookhttps://www.facebook.com/
Twitter / Xhttps://x.com/
For example, a GitHub username of janedoe produces https://github.com/janedoe.
Example request body
{
  "id_usuario": "7",
  "nombre_red": "github",
  "url_red": "https://github.com/janedoe"
}
Example curl
curl -X POST https://api.goatportfolio.com/api/redes-profesionales \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "id_usuario": "7",
    "nombre_red": "github",
    "url_red": "https://github.com/janedoe"
  }'
Success response — 201 Created
red
object
The newly created professional link.
{
  "red": {
    "id_redes_prof": "4",
    "nombre_red": "github",
    "url_red": "https://github.com/janedoe"
  }
}

DELETE /api/redes-profesionales/:id
Authorization: Bearer <token>
Remove a professional network link by its ID.
id
string
required
The id_redes_prof of the link to delete.
Example curl
curl -X DELETE https://api.goatportfolio.com/api/redes-profesionales/4 \
  -H "Authorization: Bearer <token>"
Success response — 200 OK
message
string
Confirmation message.
{
  "message": "Red profesional eliminada correctamente."
}

Build docs developers (and LLMs) love