Rename or transfer a monorepo (owners)
The label moves; the id, repos, history, members, Artifacts repos and
feeds stay. The old owner/name keeps working for the API and the git
door (an alias) until that owner gives the name to another monorepo.
A transfer (owner) goes to an organization the caller is in (else
403 not_your_namespace), or to a person who already has their own
owner row in it (else 400 bad_owner). Its own members stay; moved
into an org, the org's people gain it, and moved out, they lose it.
409 monorepo_exists when the new name is taken. replaced_alias
reports an old name of another monorepo that this one took over.
https://app.gitpando.com/v1/monorepos/{owner}/{monorepo}Authorisation
Path parameters
Request bodyJSONrequired
- nameoptionalstring
A monorepo name, unique within its owner: lower-case letters, digits,
.,_,-; starts with a letter or digit; no--; at most 39 characters. Input in any case is lowered. Reserved, because /{owner}/{name} would be one of Pando's own pages: sessions (a person's recorded agent sessions). Creating or renaming to one answers 400reserved_name.pattern: ^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$ - owneroptionalstring
A user's login, which is their namespace, or an organization's (one space for both): 1 to 39 lower-case letters, digits and single hyphens, no hyphen at either end (input in any case is lowered). Reserved, because a namespace is the first URL segment: v1, healthz, login, logout, settings, assets, fonts, new, api, app, static, orgs, users, docs, install. A login made at sign-in comes from the email's local part, skipping reserved and taken names (
base,base-2, ...base-999, then a random tail).pattern: ^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$
Returns
200
Renamed
- ownerstringrequired
A user's login, which is their namespace, or an organization's (one space for both): 1 to 39 lower-case letters, digits and single hyphens, no hyphen at either end (input in any case is lowered). Reserved, because a namespace is the first URL segment: v1, healthz, login, logout, settings, assets, fonts, new, api, app, static, orgs, users, docs, install. A login made at sign-in comes from the email's local part, skipping reserved and taken names (
base,base-2, ...base-999, then a random tail).pattern: ^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$ - namestringrequired
A monorepo name, unique within its owner: lower-case letters, digits,
.,_,-; starts with a letter or digit; no--; at most 39 characters. Input in any case is lowered. Reserved, because /{owner}/{name} would be one of Pando's own pages: sessions (a person's recorded agent sessions). Creating or renaming to one answers 400reserved_name.pattern: ^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$