From 42bfba2394862fbd4133a7d77826c52a43d87143 Mon Sep 17 00:00:00 2001 From: Teng Long Date: Tue, 8 Oct 2019 11:02:17 +0800 Subject: [PATCH] Fix JSON comma problems in docs Signed-off-by: Teng Long --- docs/api/authentication.md | 2 +- docs/api/basic-transfers.md | 6 +++--- docs/api/batch.md | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api/authentication.md b/docs/api/authentication.md index 55988941..5b533197 100644 --- a/docs/api/authentication.md +++ b/docs/api/authentication.md @@ -22,7 +22,7 @@ $ ssh git@git-server.com git-lfs-authenticate foo/bar.git download }, # optional, for expiring tokens, preferred over expires_at - "expires_in": 86400 + "expires_in": 86400, # optional, for expiring tokens "expires_at": "2016-11-10T15:29:07Z" diff --git a/docs/api/basic-transfers.md b/docs/api/basic-transfers.md index 19bbfbbd..a535d3c9 100644 --- a/docs/api/basic-transfers.md +++ b/docs/api/basic-transfers.md @@ -68,7 +68,7 @@ are provided by an upload `action` object. "header": { "Authorization": "Basic ..." }, - "expires_in": 86400, + "expires_in": 86400 } } } @@ -110,14 +110,14 @@ after a successful upload. "header": { "Authorization": "Basic ..." }, - "expires_in": 86400, + "expires_in": 86400 }, "verify": { "href": "https://some-verify-callback.com", "header": { "Authorization": "Basic ..." }, - "expires_in": 86400, + "expires_in": 86400 } } } diff --git a/docs/api/batch.md b/docs/api/batch.md index a2469801..d43c3c94 100644 --- a/docs/api/batch.md +++ b/docs/api/batch.md @@ -54,7 +54,7 @@ transfer adapters. "objects": [ { "oid": "12345678", - "size": 123, + "size": 123 } ] } @@ -77,7 +77,7 @@ Some examples will illustrate how the `ref` property can be used. "objects": [ { "oid": "12345678", - "size": 123, + "size": 123 } ] } @@ -92,7 +92,7 @@ With this payload, both `owner` and `contrib` can download the requested object, "objects": [ { "oid": "12345678", - "size": 123, + "size": 123 } ] } @@ -108,7 +108,7 @@ With this payload, only `owner` can upload the requested object. "objects": [ { "oid": "12345678", - "size": 123, + "size": 123 } ] } @@ -175,7 +175,7 @@ completely. The client will then assume the server already has it. "header": { "Key": "value" }, - "expires_at": "2016-11-10T15:29:07Z", + "expires_at": "2016-11-10T15:29:07Z" } } }