List accessible projects
GET https://repopack.com/api/v0/projects
Authorization: Bearer <token>
The JSON array contains projects this account belongs to, with their filing-group presentation. A missing or invalid token returns 401. project.key is the permanent Git/API path; the temporary compatibility short_name repeats that key and must not be treated as a second identity. To inspect this viewer's project ACL and advertised Git remote, read one project.
Create or import
POST /api/v0/projects with bearer token and Content-Type: application/json accepts {"name":"my-project","key":"my-project"}. name is required (2–64 lower-case letters, digits, dots or hyphens, beginning and ending alphanumeric); permanent key is required (1–20 characters, starts with a letter, then lower-case letters/digits/hyphens). The deprecated short_name is accepted as a compatibility spelling only when it agrees with key; mismatched values return 400 project_key_conflict, missing both 400 project_key_required. A newly created project returns its presentation; this route does not switch or relink the caller's local checkout.
Optional url imports a public HTTP(S) Git repository at project creation. Private repository credentials and GitHub issue migration are not supported; github_issues:true returns an explicit removal error. Creation/import failures are reported by the import contract; never assume a failed HTTP response means no project was created—inspect the accessible list before retrying. See project identity and rp project create for checkout-aware workflows.
New and imported projects start with one required approval, and eligible API approvals count toward it by default. This does not change existing projects or relax task review requirements.