Trait github_rs::github::Repos [] [src]

pub trait Repos {
    fn post_user_repos(&self, repo: RepoCreate) -> Result<Repo>;
}

Trait definition for endpoints grouped under Repositories in the Github API specification

Required Methods

fn post_user_repos(&self, repo: RepoCreate) -> Result<Repo>

Request Type:

POST

Endpoint:

/user/repos

Description

Creates a new repo for the authenticated user and returns the new Repos stats

Implementors