List a repository's branches
Lists the branches of a repository through the App, default branch first.
Needs services.create on the project. Available to MCP clients and the assistant.
seylo_session<token>projectId*stringPanel-issued id.
^[a-z0-9]{16}$installationId*stringPanel-issued id.
^[a-z0-9]{16}$repo*string^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$query?stringlength <= 100Success.
application/json- response
branches*array<string>defaultBranch*stringcurl -X GET 'https://example.com/api/v1/github.branches?projectId=string&installationId=string&repo=string'{ "branches": [ "string" ], "defaultBranch": "string"}Change a git credential POST
Renames a credential, or replaces its user name, secret or known_hosts. Omitted fields keep their value; the kind cannot change. Needs `git.manage`, which owners and admins hold. Not available to MCP clients or the assistant.
Connect a GitHub repository to a service POST
Sets a service's source to a GitHub repository and branch read through the App, after checking the installation can read it. With deployOnPush, pushes to the branch deploy the service. rootDir is the folder to build. Needs `services.update` on the service (a grant on its project covers it). Available to MCP clients and the assistant.