src/main/java/org/gitlab4j/api/GroupApi.java
public Group addGroup(String name, String path) throws GitLabApiException {

        Form formData = new Form();
        formData.param("name", name);
        formData.param("path", path);
        Response response = post(Response.Status.CREATED, formData, "groups");
        return (response.readEntity(Group.class));
    }
/**
     * Creates a new project group. Available only for users who can create groups.
     *
     * POST /groups
     *
     * @param name the name of the group to add
     * @param path the path for the group
     * @return the created Group instance
     * @throws GitLabApiException if any exception occurs
     */
Creates a new project group. Available only for users who can create groups.
POST /groups

@param name the name of the group to add
@param path the path for the group
@return the created Group instance
@throws GitLabApiException if any exception occurs
Creates a new project group . Available only for users who can create groups . POST / groups @param name the name of the group to add @param path the path for the group @return the created Group instance @throws GitLabApiException if any exception occurs
public Group addGroup(String name, String path) throws GitLabApiException {
        Form formData = new Form();
        formData.param("name", name);
        formData.param("path", path);
        Response response = post(Response.Status.CREATED, formData, "groups");
        return (response.readEntity(Group.class));
    }
public Group addGroup ( String name , String path ) throws GitLabApiException { Form formData = new Form ( ) ; formData . param ( "name" , name ) ; formData . param ( "path" , path ) ; Response response = post ( Response . Status . CREATED , formData , "groups" ) ; return ( response . readEntity ( Group . class ) ) ; }
Creates a new project group.
Creates a new project group .