github.com/rochacon/deis@v1.0.2-0.20150903015341-6839b592a1ff/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  }