Fix JSON comma problems in docs

Signed-off-by: Teng Long <dyroneteng@gmail.com>
This commit is contained in:
Teng Long 2019-10-08 11:02:17 +08:00
parent 211c6f8a21
commit 42bfba2394
3 changed files with 9 additions and 9 deletions

@ -22,7 +22,7 @@ $ ssh git@git-server.com git-lfs-authenticate foo/bar.git download
}, },
# optional, for expiring tokens, preferred over expires_at # optional, for expiring tokens, preferred over expires_at
"expires_in": 86400 "expires_in": 86400,
# optional, for expiring tokens # optional, for expiring tokens
"expires_at": "2016-11-10T15:29:07Z" "expires_at": "2016-11-10T15:29:07Z"

@ -68,7 +68,7 @@ are provided by an upload `action` object.
"header": { "header": {
"Authorization": "Basic ..." "Authorization": "Basic ..."
}, },
"expires_in": 86400, "expires_in": 86400
} }
} }
} }
@ -110,14 +110,14 @@ after a successful upload.
"header": { "header": {
"Authorization": "Basic ..." "Authorization": "Basic ..."
}, },
"expires_in": 86400, "expires_in": 86400
}, },
"verify": { "verify": {
"href": "https://some-verify-callback.com", "href": "https://some-verify-callback.com",
"header": { "header": {
"Authorization": "Basic ..." "Authorization": "Basic ..."
}, },
"expires_in": 86400, "expires_in": 86400
} }
} }
} }

@ -54,7 +54,7 @@ transfer adapters.
"objects": [ "objects": [
{ {
"oid": "12345678", "oid": "12345678",
"size": 123, "size": 123
} }
] ]
} }
@ -77,7 +77,7 @@ Some examples will illustrate how the `ref` property can be used.
"objects": [ "objects": [
{ {
"oid": "12345678", "oid": "12345678",
"size": 123, "size": 123
} }
] ]
} }
@ -92,7 +92,7 @@ With this payload, both `owner` and `contrib` can download the requested object,
"objects": [ "objects": [
{ {
"oid": "12345678", "oid": "12345678",
"size": 123, "size": 123
} }
] ]
} }
@ -108,7 +108,7 @@ With this payload, only `owner` can upload the requested object.
"objects": [ "objects": [
{ {
"oid": "12345678", "oid": "12345678",
"size": 123, "size": 123
} }
] ]
} }
@ -175,7 +175,7 @@ completely. The client will then assume the server already has it.
"header": { "header": {
"Key": "value" "Key": "value"
}, },
"expires_at": "2016-11-10T15:29:07Z", "expires_at": "2016-11-10T15:29:07Z"
} }
} }
} }