summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/projects.json
blob: af5670ebd334049aad9d95db211ac8926baf7da9 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
{
  "type": "array",
  "items": {
    "type": "object",
    "properties" : {
      "id": { "type": "integer" },
      "name": { "type": "string" },
      "name_with_namespace": { "type": "string" },
      "description": { "type": ["string", "null"] },
      "path": { "type": "string" },
      "path_with_namespace": { "type": "string" },
      "created_at": { "type": "date" },
      "default_branch": { "type": ["string", "null"] },
      "tag_list": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "ssh_url_to_repo": { "type": "string" },
      "http_url_to_repo": { "type": "string" },
      "web_url": { "type": "string" },
      "readme_url": { "type": ["string", "null"] },
      "avatar_url": { "type": ["string", "null"] },
      "star_count": { "type": "integer" },
      "forks_count": { "type": "integer" },
      "last_activity_at": { "type": "date" },
      "namespace": {
        "type": "object",
        "properties" : {
          "id": { "type": "integer" },
          "name": { "type": "string" },
          "path": { "type": "string" },
          "kind": { "type": "string" },
          "full_path": { "type": "string" },
          "parent_id": { "type": ["integer", "null"] }
        }
      }
    },
    "required": [
      "id", "name", "name_with_namespace", "description", "path",
      "path_with_namespace", "created_at", "default_branch", "tag_list",
      "ssh_url_to_repo", "http_url_to_repo", "web_url", "avatar_url",
      "star_count", "last_activity_at", "namespace"
    ],
    "additionalProperties": false
  }
}