summaryrefslogtreecommitdiff
path: root/docs
diff options
authorPete Woods <pete.woods@canonical.com>2016-09-26 12:11:47 +0100
committerPete Woods <pete.woods@canonical.com>2016-09-26 12:11:47 +0100
commitd7cad47ddc3d0035855c52d93ea55992fb1badcd (patch)
tree79d59ceb1c8ea936bfc405f33f4fbe98143ef5df /docs
parent9b1e76fd72de2dbac55255dc37cc95220ec9d963 (diff)
respond to Gustavo's review comments
- Rename errorKindTOSNotAccepted->errorKindTermsNotAccepted. - Use simple values in API test instead of function. - Update rest.md accordingly.
Diffstat (limited to 'docs')
-rw-r--r--docs/rest.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/rest.md b/docs/rest.md
index 0b23dd293a..66624a8cd6 100644
--- a/docs/rest.md
+++ b/docs/rest.md
@@ -120,7 +120,7 @@ kind | value description
`two-factor-failed` | the OTP provided wasn't recognised
`login-required` | the requested operation cannot be performed without an authenticated user. This is the kind of any other 401 Unauthorized response.
`invalid-auth-data` | the authentication data provided failed to validate (e.g. a malformed email address). The `value` of the error is an object with a key per failed field and a list of the failures on each field.
-`tos-not-accepted` | the user has not accepted the store's terms of service.
+`terms-not-accepted` | the user has not accepted the store's terms of service.
`no-payment-methods` | the user does not have a payment method registered to complete a purchase.
### Timestamps
@@ -612,7 +612,7 @@ Generally the UUID of a background operation you are interested in.
* Description: Determine if the user's account ready to make purchases.
* Access: authenticated
* Operation: sync
-* Return: bool true, or error.
+* Return: true, or error.
## /v2/buy/methods