hashicorp/consul — pull request #173 by tiwilliam (2014-05-26 00:03:22+00:00)
Title: Add `/v1/agent/self` and return local agent config

This is a proposal for introducing a new API endpoint called `/v1/agent/self`. It returns the local agent's configuration as requested in hashicorp/consul#120.

This is an easier way to get the local state without trying to guess node using `/v1/agent/members`.