Commit bb25c940 authored by Sven Franck's avatar Sven Franck

switched JSON API to handle PUT inside hateoasstorage

parent 2d5a5f89
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
"initial_query_url_identifier": "_id", "initial_query_url_identifier": "_id",
"dynamic_children": [0], "dynamic_children": [0],
"requires_authentication": true, "requires_authentication": true,
"depends_on": "login_state" "depends_on": "login_state",
"url_pointer": {}
}, },
"scheme": [ "scheme": [
{ {
...@@ -62,7 +63,7 @@ ...@@ -62,7 +63,7 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "input", "direct": {"value": "Update", "className": "action translate"}, "attributes": {"type": "submit", "data-icon":"check", "data-action":"update_configuration", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.update", "data-theme": "slapos-black"}} {"type": "input", "direct": {"value": "Update", "className": "action translate"}, "attributes": {"type": "submit", "data-icon":"check", "data-action":"update", "data-i18n":"[value]portal_type_dict.computer_dict.text_dict.update", "data-theme": "slapos-black"}}
] ]
}] }]
} }
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "input", "direct": {"value": "Update My Credentials", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"add", "data-i18n":"[value]portal_type_dict.person_dict.text_dict.submit", "data-theme": "slapos-black"}} {"type": "input", "direct": {"value": "Update My Credentials", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"update", "data-i18n":"[value]portal_type_dict.person_dict.text_dict.submit", "data-theme": "slapos-black"}}
] ]
}] }]
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment