Commit 0bf6ed2e authored by Travis Miller's avatar Travis Miller

Add project export API schema

parent 812a2c19
{
"type": "object",
"allOf": [
{ "$ref": "identity.json" },
{
"required": [
"export_status"
],
"properties": {
"export_status": {
"type": "string",
"enum": ["none", "started", "finished"]
}
}
}
]
}
{
"type": "object",
"required": [
"id",
"description",
"name",
"name_with_namespace",
"path",
"path_with_namespace",
"created_at"
],
"properties": {
"id": { "type": "integer" },
"description": { "type": ["string", "null"] },
"name": { "type": "string" },
"name_with_namespace": { "type": "string" },
"path": { "type": "string" },
"path_with_namespace": { "type": "string" },
"created_at": { "type": "date" }
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment