debian-mirror-gitlab/spec/fixtures/api/schemas/internal/pages/lookup_path.json
2023-06-20 00:43:36 +05:30

69 lines
1.1 KiB
JSON

{
"type": "object",
"required": [
"project_id",
"https_only",
"access_control",
"source",
"prefix"
],
"properties": {
"project_id": {
"type": "integer"
},
"https_only": {
"type": "boolean"
},
"access_control": {
"type": "boolean"
},
"source": {
"type": "object",
"required": [
"type",
"path"
],
"properties": {
"type": {
"type": "string",
"enum": [
"file",
"zip"
]
},
"path": {
"type": "string"
},
"global_id": {
"type": "string"
},
"sha256": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"file_count": {
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"prefix": {
"type": "string"
},
"unique_host": {
"type": [
"string",
"null"
]
},
"root_directory": {
"type": "string"
}
},
"additionalProperties": false
}