File: Project_branches.yaml

package info (click to toggle)
gitlabracadabra 2.8.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,520 kB
  • sloc: python: 12,305; javascript: 663; makefile: 4
file content (159 lines) | stat: -rw-r--r-- 9,529 bytes parent folder | download | duplicates (4)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
interactions:
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: GET
    uri: http://localhost/api/v4/projects/test%2Fproject_branches
  response:
    body: {string: !!python/unicode '{"id":14,"description":"","name":"project_branches","name_with_namespace":"test
        / project_branches","path":"project_branches","path_with_namespace":"test/project_branches","created_at":"2019-04-25T12:33:06.121Z","default_branch":"master","tag_list":[],"ssh_url_to_repo":"git@gitlab.example.com:test/project_branches.git","http_url_to_repo":"http://gitlab.example.com/test/project_branches.git","web_url":"http://gitlab.example.com/test/project_branches","readme_url":"http://gitlab.example.com/test/project_branches/blob/master/README.md","avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2019-04-25T12:33:06.121Z","namespace":{"id":3,"name":"test","path":"test","kind":"group","full_path":"test","parent_id":null},"_links":{"self":"http://gitlab.example.com/api/v4/projects/14","issues":"http://gitlab.example.com/api/v4/projects/14/issues","merge_requests":"http://gitlab.example.com/api/v4/projects/14/merge_requests","repo_branches":"http://gitlab.example.com/api/v4/projects/14/repository/branches","labels":"http://gitlab.example.com/api/v4/projects/14/labels","events":"http://gitlab.example.com/api/v4/projects/14/events","members":"http://gitlab.example.com/api/v4/projects/14/members"},"archived":false,"visibility":"private","resolve_outdated_diff_discussions":false,"container_registry_enabled":true,"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1,"import_status":"none","import_error":null,"open_issues_count":0,"runners_token":"A-pWeyvGRdfMzLD3MApY","public_jobs":true,"ci_config_path":null,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"request_access_enabled":false,"only_allow_merge_if_all_discussions_are_resolved":false,"printing_merge_request_link_enabled":true,"merge_method":"merge","permissions":{"project_access":null,"group_access":{"access_level":50,"notification_level":3}}}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['1976']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:12 GMT']
      etag: [W/"2b5412be64b5e9f895ac922ff196e6b5"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [dAeUl8MWad1]
      x-runtime: ['0.115012']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: GET
    uri: http://localhost/api/v4/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '[{"name":"master","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000+00:00","parent_ids":null,"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000+00:00","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000+00:00"},"merged":false,"protected":true,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":true}]'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['564']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:12 GMT']
      etag: [W/"810c8771655aea3dd96485cff8d5e3f4"]
      link: ['<http://gitlab.example.com/api/v4/projects/14/repository/branches?id=14&page=1&per_page=20>;
          rel="first", <http://gitlab.example.com/api/v4/projects/14/repository/branches?id=14&page=1&per_page=20>;
          rel="last"']
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-next-page: ['']
      x-page: ['1']
      x-per-page: ['20']
      x-prev-page: ['']
      x-request-id: [CzTd7eIF4b8]
      x-runtime: ['0.070887']
      x-total: ['1']
      x-total-pages: ['1']
    status: {code: 200, message: OK}
- request:
    body: !!python/unicode '{"ref": "master", "branch": "a"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['32']
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: POST
    uri: http://localhost/api/v4/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '{"name":"a","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000Z","parent_ids":[],"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000Z"},"merged":false,"protected":false,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":false}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['542']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:13 GMT']
      etag: [W/"96ee38cb7ab081b00f3393593e2884b0"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [3jwSBaMl839]
      x-runtime: ['0.948566']
    status: {code: 201, message: Created}
- request:
    body: !!python/unicode '{"ref": "a", "branch": "b"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['27']
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: POST
    uri: http://localhost/api/v4/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '{"name":"b","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000Z","parent_ids":[],"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000Z"},"merged":false,"protected":false,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":false}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['542']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:14 GMT']
      etag: [W/"46f46b5b125a4825bedef26f8201c4d0"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [8MRvSF5GGG]
      x-runtime: ['1.176231']
    status: {code: 201, message: Created}
- request:
    body: !!python/unicode '{"ref": "b", "branch": "c"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['27']
      Content-type: [application/json]
      PRIVATE-TOKEN: [DKkdC5JmKWWZgXZGzg83]
      User-Agent: [python-requests/2.21.0]
    method: POST
    uri: http://localhost/api/v4/projects/14/repository/branches
  response:
    body: {string: !!python/unicode '{"name":"c","commit":{"id":"372573857345320362c6d0bceed107a9d07755f1","short_id":"37257385","created_at":"2019-04-25T12:34:01.000Z","parent_ids":[],"title":"Add
        new file","message":"Add new file","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-04-25T12:34:01.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-04-25T12:34:01.000Z"},"merged":false,"protected":false,"developers_can_push":false,"developers_can_merge":false,"can_push":true,"default":false}'}
    headers:
      cache-control: ['max-age=0, private, must-revalidate']
      connection: [keep-alive]
      content-length: ['542']
      content-type: [application/json]
      date: ['Thu, 25 Apr 2019 12:34:15 GMT']
      etag: [W/"04154932294b8c8a976abc8f08facfa0"]
      server: [nginx]
      strict-transport-security: [max-age=31536000]
      vary: [Origin]
      x-content-type-options: [nosniff]
      x-frame-options: [SAMEORIGIN]
      x-request-id: [UJsLTH8kjV]
      x-runtime: ['1.144539']
    status: {code: 201, message: Created}
version: 1