github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/resource/api/private/http.go (about)

     1  // Copyright 2016 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package private
     5  
     6  const (
     7  	// HTTPEndpointPattern is the URL path pattern registered with
     8  	// the API server. This includes wildcards (starting with ":") that
     9  	// are converted into URL query values by the pattern mux. Also see
    10  	// apiserver/apiserver.go.
    11  	HTTPEndpointPattern = "/units/:unit/resources/:resource"
    12  )