Interface ProjectApi


public interface ProjectApi
  • Method Details

    • listDistributions

      @RequestMapping("/api/v1/projects/{projectName}/distributions") org.springframework.http.ResponseEntity<V1ListConfigDistributionResponse> listDistributions(@PathVariable("projectName") String projectName)
    • applyDistribution

      @RequestMapping("/api/v1/projects/{projectName}/distributions") org.springframework.http.ResponseEntity<V1EmptyResponse> applyDistribution(@PathVariable("projectName") String projectName, @RequestBody V1CreateConfigDistributionRequest body)
    • deleteDistribution

      @RequestMapping("/api/v1/projects/{projectName}/distributions/{distributionName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deleteDistribution(@PathVariable("projectName") String projectName, @PathVariable("distributionName") String distributionName)
    • listProjects

      @RequestMapping("/api/v1/projects") org.springframework.http.ResponseEntity<V1ListProjectResponse> listProjects()
    • detailProject

      @RequestMapping("/api/v1/projects/{projectName}") org.springframework.http.ResponseEntity<V1ProjectBase> detailProject(@PathVariable("projectName") String projectName)
    • createProject

      @RequestMapping("/api/v1/projects") org.springframework.http.ResponseEntity<V1ProjectBase> createProject(@RequestBody V1CreateProjectRequest body)
    • updateProject

      @RequestMapping("/api/v1/projects/{projectName}") org.springframework.http.ResponseEntity<V1ProjectBase> updateProject(@PathVariable("projectName") String projectName, @RequestBody V1UpdateProjectRequest body)
    • deleteProject

      @RequestMapping("/api/v1/projects/{projectName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deleteProject(@PathVariable("projectName") String projectName)
    • getProjectConfigs

      @RequestMapping("/api/v1/projects/{projectName}/configs") org.springframework.http.ResponseEntity<V1ListConfigResponse> getProjectConfigs(@PathVariable("projectName") String projectName, @RequestParam(value="template",required=false) String template)
    • detailConfig

      @RequestMapping("/api/v1/projects/{projectName}/configs/{configName}") org.springframework.http.ResponseEntity<V1Config> detailConfig(@PathVariable("projectName") String projectName, @PathVariable("configName") String configName, @RequestBody V1UpdateConfigRequest body)
    • createProjectConfig

      @RequestMapping("/api/v1/projects/{projectName}/configs") org.springframework.http.ResponseEntity<V1Config> createProjectConfig(@PathVariable("projectName") String projectName, @RequestBody V1CreateConfigRequest body)
    • deleteProjectConfig

      @RequestMapping("/api/v1/projects/{projectName}/configs/{configName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deleteProjectConfig(@PathVariable("projectName") String projectName, @PathVariable("configName") String configName)
    • listProjectPermissions

      @RequestMapping("/api/v1/projects/{projectName}/permissions") org.springframework.http.ResponseEntity<List<V1PermissionBase>> listProjectPermissions(@PathVariable("projectName") String projectName)
    • createProjectPermission

      @RequestMapping("/api/v1/projects/{projectName}/permissions") org.springframework.http.ResponseEntity<List<V1PermissionBase>> createProjectPermission(@PathVariable("projectName") String projectName)
    • updateProjectConfig

      @RequestMapping("/api/v1/projects/{projectName}/configs/{configName}") org.springframework.http.ResponseEntity<V1Config> updateProjectConfig(@PathVariable("projectName") String projectName, @PathVariable("configName") String configName, @RequestBody V1UpdateConfigRequest body)
    • deleteProjectPermission

      @RequestMapping("/api/v1/projects/{projectName}/permissions/{permissionName}") org.springframework.http.ResponseEntity<List<V1PermissionBase>> deleteProjectPermission(@PathVariable("projectName") String projectName, @PathVariable("permissionName") String permissionName)
    • listProjectRoles

      @RequestMapping("/api/v1/projects/{projectName}/roles") org.springframework.http.ResponseEntity<V1ListRolesResponse> listProjectRoles(@PathVariable("projectName") String projectName)
    • createProjectRole

      @RequestMapping("/api/v1/projects/{projectName}/roles") org.springframework.http.ResponseEntity<V1RoleBase> createProjectRole(@PathVariable("projectName") String projectName, @RequestBody V1CreateRoleRequest body)
    • updateProjectRole

      @RequestMapping("/api/v1/projects/{projectName}/roles/{roleName}") org.springframework.http.ResponseEntity<V1RoleBase> updateProjectRole(@PathVariable("projectName") String projectName, @PathVariable("roleName") String roleName, @RequestBody V1UpdateRoleRequest body)
    • deleteProjectRole

      @RequestMapping("/api/v1/projects/{projectName}/roles/{roleName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deleteProjectRole(@PathVariable("projectName") String projectName, @PathVariable("roleName") String roleName)
    • listProjectUser

      @RequestMapping("/api/v1/projects/{projectName}/users") org.springframework.http.ResponseEntity<V1ListProjectUsersResponse> listProjectUser(@PathVariable("projectName") String projectName)
    • createProjectUser

      @RequestMapping("/api/v1/projects/{projectName}/users") org.springframework.http.ResponseEntity<V1ProjectUserBase> createProjectUser(@PathVariable("projectName") String projectName, @RequestBody V1AddProjectUserRequest body)
    • updateProjectUser

      @RequestMapping("/api/v1/projects/{projectName}/users/{userName}") org.springframework.http.ResponseEntity<V1ProjectUserBase> updateProjectUser(@RequestBody V1UpdateProjectUserRequest body, @PathVariable("projectName") String projectName, @PathVariable("userName") String userName)
    • deleteProjectUser

      @RequestMapping("/api/v1/projects/{projectName}/users/{userName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deleteProjectUser(@RequestBody V1UpdateProjectUserRequest body, @PathVariable("projectName") String projectName, @PathVariable("userName") String userName)
    • getConfigTemplates

      @RequestMapping("/api/v1/projects/{projectName}/config_templates") org.springframework.http.ResponseEntity<V1ListConfigTemplateResponse> getConfigTemplates(@PathVariable("projectName") String projectName, @RequestParam(value="namespace",required=true) String namespace)
    • getConfigTemplateByTemplateName

      @RequestMapping("/api/v1/projects/{projectName}/config_templates/{templateName}") org.springframework.http.ResponseEntity<V1ConfigTemplateDetail> getConfigTemplateByTemplateName(@PathVariable("projectName") String projectName, @PathVariable("templateName") String templateName, @RequestParam(value="namespace",required=false) String namespace)
    • getProviders

      @RequestMapping("/api/v1/projects/{projectName}/providers") org.springframework.http.ResponseEntity<V1ListTerraformProviderResponse> getProviders(@PathVariable("projectName") String projectName)
    • listProjectTargets

      @RequestMapping("/api/v1/projects/{projectName}/targets") org.springframework.http.ResponseEntity<V1EmptyResponse> listProjectTargets(@PathVariable("projectName") String projectName)