diff --git a/datatype/labelmap/handlers.go b/datatype/labelmap/handlers.go index 3e5af0d9..b2e63fe2 100644 --- a/datatype/labelmap/handlers.go +++ b/datatype/labelmap/handlers.go @@ -706,7 +706,14 @@ func (d *Data) handleMutations(ctx *datastore.VersionedCtx, w http.ResponseWrite } func (d *Data) handleMutationsRange(ctx *datastore.VersionedCtx, w http.ResponseWriter, r *http.Request, parts []string) { - // GET /node///mutations-range//?rangefmt= + // GET /node///mutations-range// + // TODO: If feedback requests it, add querystring ?rangefmt= + // The range format of parameters and is specified by the + // value of the "rangefmt" query string: + // default: If no query string is given, the range is in the form of version UUIDs. + // "mutids": The range is in the form of mutation IDs (uint64). + // "timestamps": The range is in the form of RFC 3339 timestamps. + timedLog := dvid.NewTimeLog() queryStrings := r.URL.Query() diff --git a/datatype/labelmap/labelmap.go b/datatype/labelmap/labelmap.go index e7eefabe..6387785d 100644 --- a/datatype/labelmap/labelmap.go +++ b/datatype/labelmap/labelmap.go @@ -1608,19 +1608,12 @@ GET /node///mutations[?queryopts] is the requester's User ID (not necessarily the same as the User ID whose mutations are being requested). -GET /node///mutations-range//?rangefmt= - Returns JSON list of the successfully completed mutations across a given - range. The range format of parameters and is specified by the - value of the "rangefmt" query string: +GET /node///mutations-range// - default: If no query string is given, the range is in the form of - version UUIDs. - - --- The following are not yet implemented --- - "mutids": The range is in the form of mutation IDs (uint64). - - "timestamps": The range is in the form of RFC 3339 timestamps. + Returns JSON list of the successfully completed mutations across the given + range of UUIDs. Each mutation record format is equivalent to the JSON + provided to the Kafka mutation log as in the /mutations endpoint. GET /node///history/