Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
0bf6ed2e
Commit
0bf6ed2e
authored
Dec 05, 2017
by
Travis Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add project export API schema
parent
812a2c19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
spec/fixtures/api/schemas/public_api/v4/project/export_status.json
...ures/api/schemas/public_api/v4/project/export_status.json
+17
-0
spec/fixtures/api/schemas/public_api/v4/project/identity.json
.../fixtures/api/schemas/public_api/v4/project/identity.json
+21
-0
No files found.
spec/fixtures/api/schemas/public_api/v4/project/export_status.json
0 → 100644
View file @
0bf6ed2e
{
"type"
:
"object"
,
"allOf"
:
[
{
"$ref"
:
"identity.json"
},
{
"required"
:
[
"export_status"
],
"properties"
:
{
"export_status"
:
{
"type"
:
"string"
,
"enum"
:
[
"none"
,
"started"
,
"finished"
]
}
}
}
]
}
spec/fixtures/api/schemas/public_api/v4/project/identity.json
0 → 100644
View file @
0bf6ed2e
{
"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"
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment