diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-05 11:20:14 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-05 11:20:14 +0300 |
commit | 87dc1860214e162c6d49fb9e4b5c8da01403872c (patch) | |
tree | 14d9ec28535d85d1b9f275cca3eaa1e0347590c2 /architecture.mdwn | |
parent | 506d1cd84c74ecee08d067f71de2ef78ff436295 (diff) | |
download | ick.liw.fi-87dc1860214e162c6d49fb9e4b5c8da01403872c.tar.gz |
Drop: section of restfulness, it's duplicate
Diffstat (limited to 'architecture.mdwn')
-rw-r--r-- | architecture.mdwn | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/architecture.mdwn b/architecture.mdwn index 4a44487..efb5152 100644 --- a/architecture.mdwn +++ b/architecture.mdwn @@ -227,26 +227,6 @@ Individual APIs This chapter covers interactions with individual APIs. -RESTful APIs ------------------------------------------------------------------------------ - -All APIs provided by ick are of the "RESTful" style. Data is modelled -as "resources", and managed using the operations shown below. The -examples assume a type of resource called `foo`. Resources are in JSON -format, except for build artifacts, which are blobs. - -* create a resource: `POST /foos` – the response has the id of - the new response -* retrieve a resource: `GET /foos/ID` -* list all resources of type `foo`: `GET /foos` -* update a resoruce: `PUT /foos/ID` – the updated resource is in - the request body -* remove a resource: `DELETE /foos/ID` - -Note that individual fields of a resource can't be retrieved or -updated. From the API's point of view, a resource is atomic. - - On security ----------------------------------------------------------------------------- |