Retrieves details of a specific project, including reputation and analytics.
curl --request GET \
--url http://localhost:8080/api/v1/projects/{id} \
--header 'Authorization: Bearer <token>'{
"project": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"creator_username": "<string>",
"creator_address": "<string>",
"name": "<string>",
"usernames": [
"<string>"
],
"repos": [
"<string>"
]
},
"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>"
}
}
],
"analytics": {
"total_repos": 123,
"total_stars": 123,
"total_forks": 123,
"total_contributors": 123,
"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/projects/{id} \
--header 'Authorization: Bearer <token>'{
"project": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"creator_username": "<string>",
"creator_address": "<string>",
"name": "<string>",
"usernames": [
"<string>"
],
"repos": [
"<string>"
]
},
"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>"
}
}
],
"analytics": {
"total_repos": 123,
"total_stars": 123,
"total_forks": 123,
"total_contributors": 123,
"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>"
}
]
}
}