Skip to content
wizawu edited this page Jun 6, 2015 · 13 revisions

Webhooks

POST /hooks

Account

Create

POST /account

Request

{   username: "wizawu",
    password: "123456",
    email: "wizawu@gmail.com"
}

Response

{   id: 1
}

Login

POST /login

Request

{   username: "wizawu",
    password: "123456"
}

Get Login Information

GET /login

Request

{   id: 1,
    username: "wizawu",
    email: "wizawu@gmail.com"
}

Builds

Get Active Builds

GET /builds

Request

{   search: "arch"    // optional
}

Response

Projects

Add A New Project

POST /projects

Request

{   type: "github" | "gitlab" | ... ,
    public: true | false,
    url: "git@github.com:ArchCI/archci.git"
}

Get All Projects

GET /projects

Response

Images

Workers

Clone this wiki locally