Maybe add self_link to the configuration object?
Output from the /system/configuration/ looks something like this:
{"sections": ["antispam", "archiver.mail_archive", "archiver.master", "archiver.mhonarc", "archiver.prototype", "bounces", "database", "devmode", "digests", "dmarc", "language.ar", "language.ast", "language.ca", "language.cs", "language.da", "language.de", "language.el", "language.en", "language.es", "language.et", "language.eu", "language.fi", "language.fr", "language.gl", "language.he", "language.hr", "language.hu", "language.ia", "language.it", "language.ja", "language.ko", "language.lt", "language.nl", "language.no", "language.pl", "language.pt", "language.pt_BR", "language.ro", "language.ru", "language.sk", "language.sl", "language.sr", "language.sv", "language.tr", "language.uk", "language.vi", "language.zh_CN", "language.zh_TW", "logging.archiver", "logging.bounce", "logging.config", "logging.database", "logging.debug", "logging.error", "logging.fromusenet", "logging.http", "logging.locks", "logging.mischief", "logging.root", "logging.runner", "logging.smtp", "logging.subscribe", "logging.vette", "mailman", "mta", "nntp", "passwords", "paths.dev", "paths.fhs", "paths.here", "paths.local", "runner.archive", "runner.bad", "runner.bounces", "runner.command", "runner.digest", "runner.in", "runner.lmtp", "runner.nntp", "runner.out", "runner.pipeline", "runner.rest", "runner.retry", "runner.shunt", "runner.virgin", "shell", "styles", "webservice"], "http_etag": "\"f9f5d7f7000dc6319d3fa54741b70197a556dd93\""}
For consistency reasons maybe we should include a self_link
along with this object and the subobjects that is returned at /system/configuration/foo
?
Right now, my MR mailmanclient!22 (merged) (which builds on top of @thelinuxguy 's MR uses the relative URLs for the Configuration Object in the mailmanclient, but other objects have a full url.
Also should I try to construct the full url for now using self_link
for /system/
or just let it be a relative url for now?
Edited by Abhilash Raj