3564be3881
This commit fixes discrepancy between LFS locking spec and JSON schema. Per discussion in #3652, spec has higher priority here.
41 lines
788 B
JSON
41 lines
788 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema",
|
|
"title": "Git LFS HTTPS Lock Creation API Response",
|
|
"type": "object",
|
|
"properties": {
|
|
"lock": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"locked_at": {
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": ["id", "path", "locked_at"]
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
},
|
|
"request_id": {
|
|
"type": "string"
|
|
},
|
|
"documentation_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["lock"]
|
|
}
|