Get a text measurement type
This commit is contained in:
parent
72078cf6e4
commit
3e0ca9df8c
11 changed files with 277 additions and 19 deletions
|
@ -45,5 +45,8 @@ func API() *mux.Router {
|
|||
m.Path("/observations/{Id:.+}").Methods("PUT").Name(UpdateObservation)
|
||||
m.Path("/observations/{Id:.+}").Methods("DELETE").Name(DeleteObservation)
|
||||
|
||||
// TextMeasurementTypes
|
||||
m.Path("/text_measurement_types/{Id:.+}").Methods("GET").Name(TextMeasurementType)
|
||||
|
||||
return m
|
||||
}
|
||||
|
|
|
@ -34,4 +34,6 @@ const (
|
|||
Observations = "observation:list"
|
||||
UpdateObservation = "observation:update"
|
||||
DeleteObservation = "observation:delete"
|
||||
|
||||
TextMeasurementType = "text_measurement_type:get"
|
||||
)
|
||||
|
|
Reference in a new issue