These are chat archives for
allegro/ralph
14
th
Sep 2017
Toggle Heatmap
Sign in to start talking
allegro/ralph
.
Pete
@kasim1r
Sep 14 2017 07:50
API question anyone?
✪ vi4m Marcin Kliks
@vi4m
Sep 14 2017 07:55
@kasim1r
can you reproduce it on our demo site?
http://ralph-demo.allegro.tech/login/?next=/
Pete
@kasim1r
Sep 14 2017 08:01
yes.
http://ralph-demo.allegro.tech/api/dc-hosts/12586/customfields/my_custom/
vi4m
@vi4m
is checking
Pete
@kasim1r
Sep 14 2017 08:14
whereas
http://ralph-demo.allegro.tech/api/data-center-assets/12586/customfields/181/
gives
✪ vi4m Marcin Kliks
@vi4m
Sep 14 2017 08:17
it seems we have a bug, when accessing from generic resource dc-hosts, custom fields saving doesn’t resolve correctly
try to patch it with
data-center-assets
URL
as a workaround
Pete
@kasim1r
Sep 14 2017 08:17
I would, but
http://ralph-demo.allegro.tech/api/data-center-assets/12586/customfields/my_custom/
is also 404
✪ vi4m Marcin Kliks
@vi4m
Sep 14 2017 08:19
you should use custom field id = 181 in this case
not accessing by name
Pete
@kasim1r
Sep 14 2017 08:19
gnarf
that's what I wanted to prevent :(
OK, anyway, thanks for looking
✪ vi4m Marcin Kliks
@vi4m
Sep 14 2017 08:19
worry no, we will find some fix for this
@mkurek
is working on some solution
can you click an issue for this
@kasim1r
?
Pete
@kasim1r
Sep 14 2017 08:21
how?
in github, open issue?
✪ vi4m Marcin Kliks
@vi4m
Sep 14 2017 08:21
create an issue on GitHub
and paste here
Pete
@kasim1r
Sep 14 2017 08:25
allegro/ralph#3163
Pete
@kasim1r
Sep 14 2017 08:55
btw., the virtual server section of your demo gives a 500 atm
http://ralph-demo.allegro.tech/virtual/virtualserver/
in API it works
_