Skip to content

Commit

Permalink
Include full schemas instead of ones
Browse files Browse the repository at this point in the history
  • Loading branch information
automata committed Apr 25, 2016
1 parent 44be702 commit ab0bb42
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions blueprint/api.apib
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Performing such an action returns a Location header with a Job URL.
+ Schema

```
<!-- include(schema/site.json) -->
<!-- include(full-schema/site.json) -->
```

+ Response 201
Expand Down Expand Up @@ -97,7 +97,7 @@ Performing such an action returns a Location header with a Job URL.
+ Schema

```
<!-- include(schema/site.json) -->
<!-- include(full-schema/site.json) -->
```

### Update website details [PUT]
Expand All @@ -113,15 +113,15 @@ Performing such an action returns a Location header with a Job URL.
+ Schema

```
<!-- include(schema/site.json) -->
<!-- include(full-schema/site.json) -->
```

+ Response 200 (application/json)

+ Schema

```
<!-- include(schema/site.json) -->
<!-- include(full-schema/site.json) -->
```

### Delete website [DELETE]
Expand Down Expand Up @@ -187,7 +187,7 @@ Note that publishing an item to a website is a separate step. See /publish
+ Schema

```
<!-- include(schema/share.json) -->
<!-- include(full-schema/share.json) -->
```


Expand Down Expand Up @@ -269,7 +269,7 @@ When an item is being worked on by a user it is available via the API. Queries w
+ Schema

```
<!-- include(schema/item.json) -->
<!-- include(full-schema/item.json) -->
```

+ Response 404
Expand All @@ -281,7 +281,7 @@ When an item is being worked on by a user it is available via the API. Queries w
+ Schema

```
<!-- include(schema/item.json) -->
<!-- include(full-schema/item.json) -->
```

+ Response 422
Expand Down Expand Up @@ -321,7 +321,7 @@ TODO: make return a Job id in Location header
+ Schema

```
<!-- include(schema/publish.json) -->
<!-- include(full-schema/publish.json) -->
```

+ Response 202
Expand All @@ -343,7 +343,7 @@ TODO: make return a Job id in Location header
+ Schema

```
<!-- include(schema/publish.json) -->
<!-- include(full-schema/publish.json) -->
```

+ Response 202
Expand Down
4 changes: 2 additions & 2 deletions blueprint/passport.apib
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The Grid Passport is The Grid's account system that is responsible for access co
+ Schema

```
<!-- include(schema/user.json) -->
<!-- include(full-schema/user.json) -->
```

### Update user information [PUT]
Expand Down Expand Up @@ -61,7 +61,7 @@ Update the current user's profile information, for example to add missing detail
+ Schema

```
<!-- include(schema/user.json) -->
<!-- include(full-schema/user.json) -->
```

## User's public GitHub Token [/api/user/github]
Expand Down

0 comments on commit ab0bb42

Please sign in to comment.