github.com/technosophos/deis@v1.7.1-0.20150915173815-f9005256004b/client/controller/api/perms.go (about)

     1  package api
     2  
     3  // PermsAppResponse is the definition of GET /v1/apps/<app id>/perms/.
     4  type PermsAppResponse struct {
     5  	Users []string `json:"users"`
     6  }
     7  
     8  // PermsRequest is the definition of a requst on /perms/.
     9  type PermsRequest struct {
    10  	Username string `json:"username"`
    11  }