Feat: API Endpoints for GitHub App Creation, Repository and Branch Management and API Endpoints to Update Service FQDN by UUID
Changes
- Added REST API to update application FQDN by service UUID:
- Endpoint: /api/v1/services/{SERVICE_UUID}/fqdn
- Payload:
-
fqdn: Comma-separated list of URLs (e.g., https://example.com:8080, https://example2.com:4457) -
applications_uuid: UUID of the associated application
-
- Feature allows updating multiple FQDNs for services.
Add GitHub controller to manage GitHub apps, repositories, and branches
- New routes for GitHub app management:
-
POST /github-apps: Create a new GitHub app -
GET /github-apps/{github_app_id}/repositories: Load all repositories for a specific GitHub app -
GET /github-apps/{github_app_id}/repositories/{owner}/{repo}/branches: Load all branches for a specific repository
-
- Applied
IgnoreReadOnlyApiTokenmiddleware to all routes
This feature enables users to create GitHub apps, view repositories, and access repository branches.
LGTM+1
This would be extremely useful. What is needed to make that happen? I am gladly helping to get this done.
It was a mistake, sorry. I recreated the next branch and it auto-closed this PR.
What's needed to merge this?
What's needed to merge
Just wondering why this PR hasn’t been merged yet — I need this feature for a project and am happy to help if anything’s pending. Let me know! 🙏
Just wondering why this PR hasn’t been merged yet — I need this feature for a project and am happy to help if anything’s pending. Let me know! 🙏
Really hope this will be merged !
Sorry for the super late answer.
I removed /api/v1/services/{SERVICE_UUID}/fqdn, because it can be done with PATCH /api/v1/services/{SERVICE_UUID}, so I don't see any value for adding it.
I also modified the Github App endpoints, because it does not make sense to add a half configured Github App through the API. It will be the API version of adding Github Apps manually through the UI.