2015-06-24 21:03:29 +00:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema",
|
2016-06-01 11:56:08 +00:00
|
|
|
"title": "Git LFS HTTPS Batch API v1.3 Response",
|
2015-06-24 21:03:29 +00:00
|
|
|
"type": "object",
|
2015-07-20 21:05:53 +00:00
|
|
|
|
|
|
|
"definitions": {
|
|
|
|
"action": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"href": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"header": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": true
|
|
|
|
},
|
|
|
|
"expires_at": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["href"],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-06-24 21:03:29 +00:00
|
|
|
"properties": {
|
2016-06-01 11:56:08 +00:00
|
|
|
"transfer": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2015-06-24 21:03:29 +00:00
|
|
|
"objects": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"oid": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2015-06-24 21:06:28 +00:00
|
|
|
"size": {
|
2016-07-13 18:56:01 +00:00
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
2015-06-24 21:06:28 +00:00
|
|
|
},
|
2016-08-15 22:24:50 +00:00
|
|
|
"authenticated": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2015-06-24 21:03:29 +00:00
|
|
|
"actions": {
|
2015-07-20 21:05:53 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"download": { "$ref": "#/definitions/action" },
|
|
|
|
"upload": { "$ref": "#/definitions/action" },
|
|
|
|
"verify": { "$ref": "#/definitions/action" }
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"error": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"code": {
|
2015-07-27 21:18:42 +00:00
|
|
|
"type": "number"
|
2015-07-20 21:05:53 +00:00
|
|
|
},
|
|
|
|
"message": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["code", "message"],
|
|
|
|
"additionalProperties": false
|
2015-06-24 21:03:29 +00:00
|
|
|
}
|
|
|
|
},
|
2015-07-28 15:14:03 +00:00
|
|
|
"required": ["oid", "size"],
|
2015-06-24 21:03:29 +00:00
|
|
|
"additionalProperties": false
|
|
|
|
}
|
2015-08-21 19:38:50 +00:00
|
|
|
},
|
|
|
|
"message": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"request_id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"documentation_url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2015-06-24 21:03:29 +00:00
|
|
|
},
|
2016-06-02 15:10:17 +00:00
|
|
|
"required": ["objects"]
|
2015-06-24 21:03:29 +00:00
|
|
|
}
|