Skip to main content
GET
/
combined-data
/
forUser
/
repoAndTeamData
Get Repository and Team Data for User
curl --request GET \
  --url https://www.api.baselink.tech/combined-data/forUser/repoAndTeamData \
  --header 'bearer: <api-key>'
{
  "userData": {},
  "userData.userId": "<string>",
  "userData.userName": "<string>",
  "userData.userEmail": "<string>",
  "teams": [
    {}
  ],
  "teams[].teamId": "<string>",
  "teams[].teamName": "<string>",
  "teams[].teamDescription": "<string>",
  "teams[].userRole": "<string>",
  "teams[].repositories": [
    {}
  ],
  "teams[].repositories[].repoId": "<string>",
  "teams[].repositories[].repoName": "<string>",
  "teams[].repositories[].repoDescription": "<string>",
  "teams[].repositories[].repoURL": "<string>",
  "teams[].repositories[].userRole": "<string>"
}
Retrieve repository and team data for the current user.
userData
object
The current user’s data.
userData.userId
string
The ID of the current user.
userData.userName
string
The name of the current user.
userData.userEmail
string
The email of the current user.
teams
array
Array of teams the user belongs to.
teams[].teamId
string
The ID of the team.
teams[].teamName
string
The name of the team.
teams[].teamDescription
string
The description of the team.
teams[].userRole
string
The user’s role in the team.
teams[].repositories
array
Array of repositories in the team.
teams[].repositories[].repoId
string
The ID of the repository.
teams[].repositories[].repoName
string
The name of the repository.
teams[].repositories[].repoDescription
string
The description of the repository.
teams[].repositories[].repoURL
string
The URL of the repository.
teams[].repositories[].userRole
string
The user’s role in the repository.