summaryrefslogtreecommitdiff
path: root/content/cockpit/rest-api-plugin.md
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2016-02-01 13:42:27 +0100
committerStef Walter <stefw@redhat.com>2016-02-01 13:51:07 +0100
commitec775384752d780477cd1b74f0c37c8d2c7f6c08 (patch)
tree8696b584856de5dd3822b8ec1ea58553d79d7a1d /content/cockpit/rest-api-plugin.md
parentec48608a3fe1a1ea1ea54202294b622e1cc11a28 (diff)
Update with Content-Security-Policy security stuff
Diffstat (limited to 'content/cockpit/rest-api-plugin.md')
-rw-r--r--content/cockpit/rest-api-plugin.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/cockpit/rest-api-plugin.md b/content/cockpit/rest-api-plugin.md
index 63256fc..07827df 100644
--- a/content/cockpit/rest-api-plugin.md
+++ b/content/cockpit/rest-api-plugin.md
@@ -4,6 +4,8 @@ Category: Cockpit, Linux
Tags: cockpit, linux
Slug: making-rest-calls-from-javascript-in-cockpit
+*Note: This post has been updated for changes in Cockpit 0.90 and later.*
+
[Cockpit is a user interface for servers](http://cockpit-project.org). In [earlier](http://stef.thewalter.net/creating-plugins-for-the-cockpit-user-interface.html) [tutorials](http://stef.thewalter.net/using-dbus-from-javascript-in-cockpit.html) there's a guide on how to add components to Cockpit.
Not all of the [system APIs use DBus](http://stef.thewalter.net/d-bus-is-powerful-ipc.html). So sometimes we find ourselves in a situation where we have to use REST (which is often just treated as another word for HTTP) to talk to certain parts of the system. For example [Docker has a REST API](https://docs.docker.com/reference/api/docker_remote_api/).