Parsing codebase
POST /parse
This endpoint allows you to parse the codebases that the GitHub app has access to. Ensure the app has the necessary permissions to access the repositories you want to parse. You can update the app's access permissions through the GitHub app installation settings.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Sample
repo_name
string
username/repo-name
branch_name
string
feature
Response
{
"status": "success",
"message": "The project has been parsed successfully"
}{
"detail": "Invalid authentication from Firebase. Token expired, 1718882208 < 1718886290"
}{"detail":"Failed to get installation ID"}{"detail":"404 Client Error: Not Found for url"}Notes
Ensure that the
Authorizationheader contains a valid token obtained during the login process.The
repo_nameshould be in the formatusername/repo-name, do not use a complete url.The
branch_nameshould be a valid branch in the specified repository.
Last updated
Was this helpful?