corestack_ enterprise_ repositories_ list
CoreStack Enterprise repositories.
When to use it
List the git repositories and branches a CoreStack Enterprise environment deploys from, as its environment page's
Repositories field shows them to the person, and the git accounts they may set a repository up with (connections:
use one's id as connection_id in corestack_enterprise_repository_set).
A repository set up with a git account the person cannot use (another agency's, or their agency's when they are its
client) is listed with connection_hidden: true and no provider, repository, branch or root directory;
connection_owner names the agency that set it up only to its client.
can_manage and can_set say what your role may do with the repositories, each {available, reason}: can_manage
for corestack_ (Manage Deployment Repositories), can_set for
corestack_enterprise_repository_set (that, and Create Deployments while a push deploys on its own). When one is not
available, reason is the sentence those tools refuse with, naming the permission and who can grant it.
The public API's GET / and .../repositories/connections answer the same.
The repositories answer carries can_manage and can_set beside environment_repositories; the connections answer is
connections alone.
Ask for it
Using the Corefinity MCP server, call corestack_enterprise_repositories_list with enterprise_env_id 1530. (CoreStack Enterprise repositories.) Tell me what it returned.Inputs
A CoreStack Enterprise environment's id; for CoreStack or CoreCluster use the corestack_deployment_* tools. At least 1.
Example call
{
"name": "corestack_enterprise_repositories_list",
"arguments": {
"enterprise_env_id": 1530
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | A CoreStack or CoreCluster environment; use the corestack_deployments_* tools by site_id. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |