feat(orgs): add organization and organization-repository APIs: getOrg, getOrgRepos, createOrg, createOrgRepo
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-02-28 - 1.1.0 - feat(orgs)
|
||||
add organization and organization-repository APIs: getOrg, getOrgRepos, createOrg, createOrgRepo
|
||||
|
||||
- Added getOrg(orgName): fetch a single organization by name
|
||||
- Added getOrgRepos(orgName, opts?): list repositories in an organization with pagination, sorting by updated, and optional search query
|
||||
- Added createOrg(name, opts?): create a new organization with fullName, description, and visibility (defaults to public)
|
||||
- Added createOrgRepo(orgName, name, opts?): create a repository within an organization; description optional and private defaults to true
|
||||
- Endpoints use encodeURIComponent for orgName in URLs to ensure safe requests
|
||||
|
||||
## 2026-02-24 - 1.0.3 - fix(gitea)
|
||||
no changes detected in the diff; no code or doc updates
|
||||
|
||||
|
||||
Reference in New Issue
Block a user