stack created HTRACE-105:
----------------------------

             Summary: Cleanup our REST vocabulary supported by htraced
                 Key: HTRACE-105
                 URL: https://issues.apache.org/jira/browse/HTRACE-105
             Project: HTrace
          Issue Type: Improvement
            Reporter: stack


Currently, we support the following REST operations:

{code}
/0xSOME_SPAN_ID          // a GET of a span id will return the span
/server/info                         // A GET will return server version, etc.
/writeSpan                          // POSTing here will allow you write spans
/0XSOME_SPAN_ID/children // A GET here will return the children of a span id
/span/0xSOME_SPAN_ID  // A GET here will return a span.
/query?QUERY_IN_QUERY_STRING // A GET will return result of query
{code}

How about we just do:

/query?.....
/server/info
/span/0xSOME_SPAN_ID // A GET  here will return a span
/span // A POST here will allow you write spans
/span/0xSOME_SPAN_ID/children // A GET here will return children.

We won't drop the old means. We'll just talk up the above as the canonical 
vocabulary.

[~eclark] You listening?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to