45e9d5e009
I believe this may have been missed as part of #3994. Note that the API _returns_ `ServiceMeta`, but accepts `Meta`. $ curl -X PUT -d \ '{ "Datacenter": "dc1", "Node": "example", "Address": "www.example.com", "Service": { "Service": "example-service", "Port": 80, "Meta": {"foo": "bar"} } }' \ http://localhost:8500/v1/catalog/register $ curl localhost:8500/v1/catalog/service/example-service [ { "ID": "", "Node": "example", "Address": "www.example.com", "Datacenter": "dc1", "TaggedAddresses": null, "NodeMeta": null, "ServiceKind": "", "ServiceID": "example-service", "ServiceName": "example-service", "ServiceTags": [], "ServiceAddress": "", "ServiceMeta": { "foo": "bar" }, "ServicePort": 80, "ServiceEnableTagOverride": false, "ServiceProxyDestination": "", "ServiceConnect": { "Native": false, "Proxy": null }, "CreateIndex": 11, "ModifyIndex": 37 } ] |
||
---|---|---|
.. | ||
agent | ||
connect | ||
operator | ||
acl.html.md | ||
agent.html.md | ||
catalog.html.md | ||
connect.html.md | ||
coordinate.html.md | ||
event.html.md | ||
health.html.md | ||
index.html.md | ||
kv.html.md | ||
libraries-and-sdks.html.md | ||
operator.html.md | ||
query.html.md | ||
session.html.md | ||
snapshot.html.md | ||
status.html.md | ||
txn.md |