-
-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
CLIProduct areaProduct area
Description
The project-tied releases endpoints (/projects/{}/{}/releases) seem to be supported only for compatibility with legacy self-hosted versions:
Lines 682 to 696 in 1fd856c
| // for single project releases use the legacy endpoint that is project bound. | |
| // This means we can support both old and new servers. | |
| if release.projects.len() == 1 { | |
| let path = format!( | |
| "/projects/{}/{}/releases/", | |
| PathArg(org), | |
| PathArg(&release.projects[0]) | |
| ); | |
| self.post(&path, release)? | |
| .convert_rnf(ApiErrorKind::ProjectNotFound) | |
| } else { | |
| let path = format!("/organizations/{}/releases/", PathArg(org)); | |
| self.post(&path, release)? | |
| .convert_rnf(ApiErrorKind::OrganizationNotFound) | |
| } |
We should consider whether we still need this compatibility, and if not, we should deprecate and remove support
Metadata
Metadata
Assignees
Labels
CLIProduct areaProduct area