Welcome to mirror list, hosted at ThFree Co, Russian Federation.

snippets.json « v4 « public_api « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ddddd46f5c4c2110501a05dc322fc19548a4190a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  "type": "array",
  "items": {
    "type": "object",
    "properties" : {
      "id": { "type": "integer" },
      "project_id": { "type": ["integer", "null"] },
      "title": { "type": "string" },
      "file_name": { "type": ["string", "null"] },
      "description": { "type": ["string", "null"] },
      "visibility": { "type": "string" },
      "web_url": { "type": "string" },
      "raw_url": { "type": "string" },
      "created_at": { "type": "date" },
      "updated_at": { "type": "date" },
      "author": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "username": { "type": "string" },
          "id": { "type": "integer" },
          "state": { "type": "string" },
          "avatar_url": { "type": "uri" },
          "web_url": { "type": "uri" }
        },
        "additionalProperties": false
      }
    },
    "required": [
      "id", "title", "file_name", "description", "web_url",
      "created_at", "updated_at", "author", "raw_url"
    ],
    "additionalProperties": false
  }
}