From 5f1722bdee1261bb222819a8ab458240b260a42b Mon Sep 17 00:00:00 2001 From: Vilson Vieira Date: Mon, 18 Apr 2016 22:42:20 -0300 Subject: [PATCH] Include full schemas instead of ones --- blueprint/api.apib | 18 +++++++++--------- blueprint/passport.apib | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/blueprint/api.apib b/blueprint/api.apib index a8ee2ca..113ee69 100644 --- a/blueprint/api.apib +++ b/blueprint/api.apib @@ -68,7 +68,7 @@ Performing such an action returns a Location header with a Job URL. + Schema ``` - + ``` + Response 201 @@ -97,7 +97,7 @@ Performing such an action returns a Location header with a Job URL. + Schema ``` - + ``` ### Update website details [PUT] @@ -113,7 +113,7 @@ Performing such an action returns a Location header with a Job URL. + Schema ``` - + ``` + Response 200 (application/json) @@ -121,7 +121,7 @@ Performing such an action returns a Location header with a Job URL. + Schema ``` - + ``` ### Delete website [DELETE] @@ -187,7 +187,7 @@ Note that publishing an item to a website is a separate step. See /publish + Schema ``` - + ``` @@ -269,7 +269,7 @@ When an item is being worked on by a user it is available via the API. Queries w + Schema ``` - + ``` + Response 404 @@ -281,7 +281,7 @@ When an item is being worked on by a user it is available via the API. Queries w + Schema ``` - + ``` + Response 422 @@ -321,7 +321,7 @@ TODO: make return a Job id in Location header + Schema ``` - + ``` + Response 202 @@ -343,7 +343,7 @@ TODO: make return a Job id in Location header + Schema ``` - + ``` + Response 202 diff --git a/blueprint/passport.apib b/blueprint/passport.apib index 8b4217b..acb123b 100644 --- a/blueprint/passport.apib +++ b/blueprint/passport.apib @@ -21,7 +21,7 @@ The Grid Passport is The Grid's account system that is responsible for access co + Schema ``` - + ``` ### Update user information [PUT] @@ -61,7 +61,7 @@ Update the current user's profile information, for example to add missing detail + Schema ``` - + ``` ## User's public GitHub Token [/api/user/github]