Fetches a summary of a developer’s profile, reputation, and Sui repositories from GitHub.
curl --request GET \
--url http://localhost:8080/api/v1/developers/{username}/summary \
--header 'Authorization: Bearer <token>'{
"profile": {
"user_id": 123,
"name": "<string>",
"username": "<string>",
"bio": "<string>",
"status": "<string>",
"company": "<string>",
"location": "<string>",
"profile_url": "<string>",
"avatar_url": "<string>",
"followers": 123,
"following": 123
},
"reputation": {
"username": "<string>",
"score": 123,
"details": {
"total_stars": 123,
"total_commits": 123,
"sui_repo_count": 123,
"experience_days": 123,
"total_size_kb": 123,
"language_count": 123,
"last_activity": "<string>",
"onboarded_date": "<string>"
}
},
"sui_repos": [
{
"id": 123,
"name": "<string>",
"full_name": "<string>",
"description": "<string>",
"language": "<string>",
"languages": [
"<string>"
],
"owner": {
"login": "<string>",
"avatar_url": "<string>"
},
"html_url": "<string>",
"stargazers_count": 123,
"forks_count": 123,
"fork": true,
"size": 123,
"topics": [
"<string>"
],
"open_issues_count": 123,
"open_issues": 123,
"open_prs": 123,
"signal": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
--url http://localhost:8080/api/v1/developers/{username}/summary \
--header 'Authorization: Bearer <token>'{
"profile": {
"user_id": 123,
"name": "<string>",
"username": "<string>",
"bio": "<string>",
"status": "<string>",
"company": "<string>",
"location": "<string>",
"profile_url": "<string>",
"avatar_url": "<string>",
"followers": 123,
"following": 123
},
"reputation": {
"username": "<string>",
"score": 123,
"details": {
"total_stars": 123,
"total_commits": 123,
"sui_repo_count": 123,
"experience_days": 123,
"total_size_kb": 123,
"language_count": 123,
"last_activity": "<string>",
"onboarded_date": "<string>"
}
},
"sui_repos": [
{
"id": 123,
"name": "<string>",
"full_name": "<string>",
"description": "<string>",
"language": "<string>",
"languages": [
"<string>"
],
"owner": {
"login": "<string>",
"avatar_url": "<string>"
},
"html_url": "<string>",
"stargazers_count": 123,
"forks_count": 123,
"fork": true,
"size": 123,
"topics": [
"<string>"
],
"open_issues_count": 123,
"open_issues": 123,
"open_prs": 123,
"signal": "<string>"
}
]
}