gitlab-org--gitlab-foss/spec/fixtures/api/schemas/contributor.json
Jacopo 55f322085d Adds ordering to projects contributors in API
Allows ordering in GET api/v4/projects/:project_id/repository/contributors
through `order_by` and `sort` params.
The available `order_by` options are: name|email|commits.
The available `sort` options are: asc|desc.
2017-12-13 18:02:20 +01:00

18 lines
361 B
JSON

{
"type": "object",
"required" : [
"name",
"email",
"commits",
"additions",
"deletions"
],
"properties" : {
"name": { "type": "string" },
"email": { "type": "string" },
"commits": { "type": "integer" },
"additions": { "type": "integer" },
"deletions": { "type": "integer" }
},
"additionalProperties": false
}