Skip to content

Commit

Permalink
docs(api): Fix HTTP API documentation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan Robert committed Jun 5, 2016
1 parent b2bd87d commit 32fbe15
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions docs/Admin_HTTP_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can define multiple user/password credentials to authenticate users.
GET /
```

#### Response
##### Response

```
HTTP 200 OK
Expand Down Expand Up @@ -81,32 +81,10 @@ GET /plugins
]
```

#### List plugins

```
GET /plugins
```

##### Response

```json
[
{
"id": "UGEZGfua5S3U0nDS",
"name": "auth",
"description": "Authorization and authentication protection",
"config": {
"scheme": "Bearer",
"token": "s3cr3t"
}
}
]
```

#### Register plugin

```
GET /plugins/{id}
POST /plugins
```

##### Request Body
Expand Down Expand Up @@ -160,7 +138,7 @@ GET /plugins/{id}
DELETE /plugins/{id}
```

#### Response
##### Response

```
HTTP 204 No Content
Expand All @@ -174,7 +152,7 @@ HTTP 204 No Content
GET /instances
```

#### Response
##### Response

```
HTTP 200 OK
Expand Down Expand Up @@ -232,7 +210,7 @@ HTTP 200 OK
GET /instances/{id}
```

#### Response
##### Response

```
HTTP 200 OK
Expand Down Expand Up @@ -288,7 +266,7 @@ HTTP 200 OK
DELETE /instances/{id}
```

#### Response
##### Response

```
HTTP 204 No Content
Expand Down

0 comments on commit 32fbe15

Please sign in to comment.