Codebase list ruby-gitlab / 67eea39
New upstream version 4.16.1 Cédric Boutillier 3 years ago
278 changed file(s) with 1009 addition(s) and 5433 deletion(s). Raw diff Collapse all Expand all
+0
-3
.codeclimate.yml less more
0 plugins:
1 rubocop:
2 enabled: true
+0
-8
.github/FUNDING.yml less more
0 # These are supported funding model platforms
1
2 github: NARKOZ
3 patreon: # Replace with a single Patreon username
4 open_collective: # Replace with a single Open Collective username
5 ko_fi: # Replace with a single Ko-fi username
6 tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
7 custom: # Replace with a single custom sponsorship URL
0 name: CI
1
2 on:
3 push:
4 branches:
5 - master
6 pull_request:
7 branches:
8 - master
9
10 jobs:
11 build:
12 runs-on: ubuntu-latest
13 strategy:
14 matrix:
15 ruby:
16 - 2.5
17 - 2.6
18 - 2.7
19 name: Ruby ${{ matrix.ruby }} test
20 steps:
21 - uses: actions/checkout@v2
22 - name: Set up Ruby ${{ matrix.ruby }}
23 uses: actions/setup-ruby@v1
24 with:
25 ruby-version: ${{ matrix.ruby }}
26 - name: Build and test with Rake
27 run: |
28 gem install bundler --no-document
29 bundle install --jobs 4 --retry 3
30 bundle exec rake
31
32 lint:
33 runs-on: ubuntu-latest
34 name: Rubocop lint
35 steps:
36 - uses: actions/checkout@v2
37 - name: Set up Ruby 2.5
38 uses: actions/setup-ruby@v1
39 with:
40 ruby-version: 2.5
41 - name: Lint with Rubocop
42 run: |
43 gem install bundler --no-document
44 bundle install --jobs 4 --retry 3
45 bundle exec rake rubocop
1313 - name: Set up Ruby 2.7
1414 uses: actions/setup-ruby@v1
1515 with:
16 version: 2.7
16 ruby-version: 2.7
1717 - name: Publish to RubyGems
1818 run: |
1919 mkdir -p $HOME/.gem
+0
-46
.github/workflows/ruby.yml less more
0 name: Ruby
1
2 on:
3 push:
4 branches:
5 - master
6 pull_request:
7 branches:
8 - master
9
10 jobs:
11 build:
12 runs-on: ubuntu-latest
13 strategy:
14 matrix:
15 ruby:
16 - 2.5
17 - 2.6
18 - 2.7
19 name: Ruby ${{ matrix.ruby }} test
20 steps:
21 - uses: actions/checkout@v2
22 - name: Set up Ruby ${{ matrix.ruby }}
23 uses: actions/setup-ruby@v1
24 with:
25 ruby-version: ${{ matrix.ruby }}
26 - name: Build and test with Rake
27 run: |
28 gem install bundler --no-document
29 bundle install --jobs 4 --retry 3
30 bundle exec rake
31
32 lint:
33 runs-on: ubuntu-latest
34 name: Rubocop lint
35 steps:
36 - uses: actions/checkout@v2
37 - name: Set up Ruby 2.5
38 uses: actions/setup-ruby@v1
39 with:
40 ruby-version: 2.5
41 - name: Lint with Rubocop
42 run: |
43 gem install bundler --no-document
44 bundle install --jobs 4 --retry 3
45 bundle exec rake rubocop
44
55 AllCops:
66 TargetRubyVersion: 2.5
7 NewCops: enable
78
89 Layout/LineLength:
910 Max: 123
00 # This configuration was generated by
11 # `rubocop --auto-gen-config`
2 # on 2020-03-12 13:38:06 +0400 using RuboCop version 0.80.1.
2 # on 2020-06-28 04:00:53 UTC using RuboCop version 0.86.0.
33 # The point is for the user to remove these configuration records
44 # one by one as the offenses are removed from the code base.
55 # Note that changes in the inspected code, or installation of new
66 # versions of RuboCop, may require this file to be generated again.
77
88 # Offense count: 4
9 # Configuration parameters: IgnoredMethods.
910 Metrics/AbcSize:
1011 Max: 34
1112
1213 # Offense count: 3
14 # Configuration parameters: IgnoredMethods.
1315 Metrics/CyclomaticComplexity:
14 Max: 12
16 Max: 13
1517
16 # Offense count: 10
18 # Offense count: 8
1719 # Configuration parameters: CountComments, ExcludedMethods.
1820 Metrics/MethodLength:
1921 Max: 34
2931 Max: 6
3032
3133 # Offense count: 1
34 # Configuration parameters: IgnoredMethods.
3235 Metrics/PerceivedComplexity:
3336 Max: 10
3437
+0
-12
.travis.yml less more
0 ---
1 language: ruby
2 rvm:
3 - 2.5
4 - 2.6
5 - 2.7
6
7 jobs:
8 include:
9 - stage: lint
10 rvm: 2.5
11 script: bundle exec rake rubocop
0 FROM ruby:2.6
0 FROM ruby:2.7
11
22 WORKDIR /app
33
00 # Gitlab
11
2 [![Build Status](https://img.shields.io/github/workflow/status/NARKOZ/gitlab/Ruby/master)](https://github.com/NARKOZ/gitlab/actions?query=workflow%3ARuby)
3 [![Maintainability](https://api.codeclimate.com/v1/badges/2e310b334b1b5db4a7e1/maintainability)](https://codeclimate.com/github/NARKOZ/gitlab)
2 [![Build Status](https://img.shields.io/github/workflow/status/NARKOZ/gitlab/CI/master)](https://github.com/NARKOZ/gitlab/actions?query=workflow%3ARuby)
43 [![Inline docs](https://inch-ci.org/github/NARKOZ/gitlab.svg)](https://inch-ci.org/github/NARKOZ/gitlab)
54 [![Gem version](https://img.shields.io/gem/v/gitlab.svg)](https://rubygems.org/gems/gitlab)
65 [![License](https://img.shields.io/badge/license-BSD-red.svg)](https://github.com/NARKOZ/gitlab/blob/master/LICENSE.txt)
44 # ENV['GITLAB_API_PRIVATE_TOKEN'] = ''
55
66 require 'bundler/setup'
7 require 'gitlab'
87 require 'pry'
8 require_relative '../lib/gitlab'
99
1010 Pry.start
0 # frozen_string_literal: true
1
2 class Gitlab::Client
3 # Defines methods related to issues.
4 # @see https://docs.gitlab.com/ee/api/epic_issues.html
5 module EpicIssues
6 # List issues for an epic.
7 # Gets all issues that are assigned to an epic and the authenticated user has access to..
8 # @example
9 # Gitlab.epic_issues(5, 7)
10 # Gitlab.epic_issues(5, 7, { per_page: 40 })
11 #
12 # @param [Integer, String] group The ID or name of a group.
13 # @param [Integer] epic The iid of an epic.
14 # @param [Hash] options A customizable set of options.
15 # @option options [Integer] :page The page number.
16 # @option options [Integer] :per_page The number of results per page.
17 # @return [Array<Gitlab::ObjectifiedHash>]
18 def epic_issues(group, epic, options = {})
19 get("/groups/#{url_encode group}/epics/#{epic}/issues", query: options)
20 end
21 end
22 end
2828 # @return [Gitlab::ObjectifiedHash] MR approval configuration information about the project
2929 def edit_project_merge_request_approvals(project, options = {})
3030 post("/projects/#{url_encode project}/approvals", body: options)
31 end
32
33 # Gets MR Approval Rules for a project
34 #
35 # @example
36 # Gitlab.project_merge_request_approval_rules(1)
37 #
38 # @param [Integer] project The ID of a project.
39 # @return [Gitlab::ObjectifiedHash] MR approval rules for the project
40 def project_merge_request_approval_rules(project)
41 get("/projects/#{url_encode project}/approval_rules")
42 end
43
44 # Create MR Approval Rule for a project
45 #
46 # @example
47 # Gitlab.create_project_merge_request_approval_rule(1, {name: "security", approvals_required: 1})
48 #
49 # @param [Integer] project(required) The ID of a project.
50 # @option options [String] :name(required) The name of the approval rule
51 # @option options [Integer] :approvals_required(required) The number of required approvals for this rule
52 # @option options [Array] :user_ids(optional) The ids of users as approvers
53 # @option options [Array] :group_ids(optional) The ids of groups as approvers
54 # @option options [Array] :protected_branch_ids(optional) The ids of protected branches to scope the rule by
55 # @return [Gitlab::ObjectifiedHash] New MR approval rule
56 def create_project_merge_request_approval_rule(project, options = {})
57 post("/projects/#{url_encode project}/approval_rules", body: options)
58 end
59
60 # Update MR Approval Rule for a project
61 #
62 # @example
63 # Gitlab.update_project_merge_request_approval_rule(1, {name: "security", approvals_required: 2})
64 #
65 # @param [Integer] project(required) The ID of a project.
66 # @param [Integer] approval_rule_id(required) The ID of a project Approval Rule
67 # @option options [String] :name(required) The name of the approval rule
68 # @option options [Integer] :approvals_required(required) The number of required approvals for this rule
69 # @option options [Array] :user_ids(optional) The ids of users as approvers
70 # @option options [Array] :group_ids(optional) The ids of groups as approvers
71 # @option options [Array] :protected_branch_ids(optional) The ids of protected branches to scope the rule by
72 # @return [Gitlab::ObjectifiedHash] Updated MR approval rule
73 def update_project_merge_request_approval_rule(project, approval_rule_id, options = {})
74 put("/projects/#{url_encode project}/approval_rules/#{approval_rule_id}", body: options)
75 end
76
77 # Delete MR Approval Rule for a project
78 #
79 # @example
80 # Gitlab.delete_project_merge_request_approval_rule(1, 1)
81 #
82 # @param [Integer] project(required) The ID of a project.
83 # @param [Integer] approval_rule_id(required) The ID of a approval rule
84 # @return [void] This API call returns an empty response body
85 def delete_project_merge_request_approval_rule(project, approval_rule_id)
86 delete("/projects/#{url_encode project}/approval_rules/#{approval_rule_id}")
3187 end
3288
3389 # Change allowed approvers and approver groups for a project
108164 def unapprove_merge_request(project, merge_request, options = {})
109165 post("/projects/#{url_encode project}/merge_requests/#{merge_request}/unapprove", body: options)
110166 end
167
168 # Get the approval state of merge requests
169 #
170 # @example
171 # Gitlab.merge_request_approval_state(5, 36)
172 #
173 # @param [Integer, String] project The ID or name of a project.
174 # @param [Integer] id The ID of a merge request.
175 # @return [Array<Gitlab::ObjectifiedHash>]
176 def merge_request_approval_state(project, id)
177 get("/projects/#{url_encode project}/merge_requests/#{id}/approval_state")
178 end
111179 end
112180 end
3434 #
3535 # @example
3636 # Gitlab.merge_request(5, 36)
37 #
38 # @param [Integer, String] project The ID or name of a project.
39 # @param [Integer] id The ID of a merge request.
37 # Gitlab.merge_request(5, 36, { include_diverged_commits_count: true })
38 #
39 # @param [Integer, String] project The ID or name of a project.
40 # @param [Integer] id The ID of a merge request.
41 # @option options [Boolean] :render_html If true response includes rendered HTML for title and description.
42 # @option options [Boolean] :include_diverged_commits_count If true response includes the commits behind the target branch.
43 # @option options [Boolean] :include_rebase_in_progress If true response includes whether a rebase operation is in progress.
4044 # @return <Gitlab::ObjectifiedHash]
41 def merge_request(project, id)
42 get("/projects/#{url_encode project}/merge_requests/#{id}")
45 def merge_request(project, id, options = {})
46 get("/projects/#{url_encode project}/merge_requests/#{id}", query: options)
4347 end
4448
4549 # Gets a list of merge request pipelines.
8084 # @option options [String] :source_branch (required) The source branch name.
8185 # @option options [String] :target_branch (required) The target branch name.
8286 # @option options [Integer] :assignee_id (optional) The ID of a user to assign merge request.
87 # @option options [Array<Integer>] :assignee_ids (optional) The ID of the user(s) to assign the MR to. Set to 0 or provide an empty value to unassign all assignees.
88 # @option options [String] :description (optional) Description of MR. Limited to 1,048,576 characters.
8389 # @option options [Integer] :target_project_id (optional) The target project ID.
8490 # @option options [String] :labels (optional) Labels as a comma-separated list.
91 # @option options [Integer] :milestone_id (optional) The global ID of a milestone
92 # @option options [Boolean] :remove_source_branch (optional) Flag indicating if a merge request should remove the source branch when merging
93 # @option options [Boolean] :allow_collaboration (optional) Allow commits from members who can merge to the target branch
94 # @option options [Boolean] :squash (optional) Squash commits into a single commit when merging
8595 # @return [Gitlab::ObjectifiedHash] Information about created merge request.
8696 def create_merge_request(project, title, options = {})
8797 body = { title: title }.merge(options)
114124 # @param [Integer, String] project The ID or name of a project.
115125 # @param [Integer] id The ID of a merge request.
116126 # @param [Hash] options A customizable set of options.
117 # @option options [String] :merge_commit_message Custom merge commit message
127 # @option options [String] :merge_commit_message(optional) Custom merge commit message
128 # @option options [String] :squash_commit_message(optional) Custom squash commit message
129 # @option options [Boolean] :squash(optional) if true the commits will be squashed into a single commit on merge
130 # @option options [Boolean] :should_remove_source_branch(optional) if true removes the source branch
131 # @option options [Boolean] :merge_when_pipeline_succeeds(optional) if true the MR is merged when the pipeline succeeds
132 # @option options [String] :sha(optional) if present, then this SHA must match the HEAD of the source branch, otherwise the merge will fail
118133 # @return [Gitlab::ObjectifiedHash] Information about updated merge request.
119134 def accept_merge_request(project, id, options = {})
120135 put("/projects/#{url_encode project}/merge_requests/#{id}/merge", body: options)
5858 get("/projects/#{url_encode project}/merge_requests/#{merge_request}/notes", query: options)
5959 end
6060 alias merge_request_comments merge_request_notes
61
62 # Gets a list of notes for an epic.
63 #
64 # @example
65 # Gitlab.epic_notes(5, 10)
66 #
67 # @param [Integer] project The ID of a group.
68 # @param [Integer] epic The ID of an epic.
69 # @option options [Integer] :page The page number.
70 # @option options [Integer] :per_page The number of results per page.
71 # @return [Array<Gitlab::ObjectifiedHash>]
72 def epic_notes(group, epic, options = {})
73 get("/groups/#{url_encode group}/epics/#{epic}/notes", query: options)
74 end
6175
6276 # Gets a single wall note.
6377 #
160174 post("/projects/#{url_encode project}/merge_requests/#{merge_request}/notes", body: { body: body })
161175 end
162176 alias create_merge_request_comment create_merge_request_note
177
178 # Creates a new epic note.
179 #
180 # @example
181 # Gitlab.create_epic_note(6, 1, 'Adding a note to my epic.')
182 #
183 # @param [Integer, String] group The ID or name of a group.
184 # @param [Integer] epic The ID of an epic.
185 # @param [String] body The body of a note.
186 # @return [Gitlab::ObjectifiedHash] Information about created note.
187 def create_epic_note(group, epic, body)
188 post("/groups/#{url_encode group}/epics/#{epic}/notes", body: { body: body })
189 end
163190
164191 # Deletes a wall note.
165192 #
0 # frozen_string_literal: true
1
2 class Gitlab::Client
3 # Defines methods related to user snippets.
4 # @see https://docs.gitlab.com/ce/api/snippets.html
5 module UserSnippets
6 # Get a list of the snippets of the current user.
7 #
8 # @example
9 # Gitlab.user_snippets
10 #
11 # @return [Array<Gitlab::ObjectifiedHash>] List of snippets of current user
12 def user_snippets
13 get('/snippets')
14 end
15
16 # Get a single snippet.
17 #
18 # @example
19 # Gitlab.user_snippet(1)
20 #
21 # @param [Integer] id ID of snippet to retrieve.
22 # @return [Gitlab::ObjectifiedHash] Information about the user snippet
23 def user_snippet(id)
24 get("/snippets/#{id}")
25 end
26
27 # Get raw contents of a single snippet.
28 #
29 # @example
30 # Gitlab.user_snippet_raw(1)
31 #
32 # @param [Integer] id ID of snippet to retrieve.
33 # @return [String] User snippet text
34 def user_snippet_raw(id)
35 get("/snippets/#{id}/raw",
36 format: nil,
37 headers: { Accept: 'text/plain' },
38 parser: ::Gitlab::Request::Parser)
39 end
40
41 # Create a new snippet.
42 #
43 # @example
44 # Gitlab.create_user_snippet({ title: 'REST', file_name: 'api.rb', content: 'some code', description: 'Hello World snippet', visibility: 'public'})
45 #
46 # @param [Hash] options A customizable set of options.
47 # @option options [String] :title (required) Title of a snippet.
48 # @option options [String] :file_name (required) Name of a snippet file.
49 # @option options [String] :content (required) Content of a snippet.
50 # @option options [String] :description (optional) Description of a snippet.
51 # @option options [String] :visibility (optional) visibility of a snippet.
52 # @return [Gitlab::ObjectifiedHash] Information about created snippet.
53 def create_user_snippet(options = {})
54 post('/snippets', body: options)
55 end
56
57 # Update an existing snippet.
58 #
59 # @example
60 # Gitlab.edit_user_snippet(34, { file_name: 'README.txt' })
61 # Gitlab.edit_user_snippet(34, { file_name: 'README.txt', title: 'New title' })
62 #
63 # @param [Integer] id ID of snippet to update.
64 # @param [Hash] options A customizable set of options.
65 # @option options [String] :title (optional) Title of a snippet.
66 # @option options [String] :file_name (optional) Name of a snippet file.
67 # @option options [String] :content (optional) Content of a snippet.
68 # @option options [String] :description (optional) Description of a snippet.
69 # @option options [String] :visibility (optional) visibility of a snippet.
70 # @return [Gitlab::ObjectifiedHash] Information about updated snippet.
71 def edit_user_snippet(id, options = {})
72 put("/snippets/#{id}", body: options)
73 end
74
75 # Delete an existing snippet.
76 #
77 # @example
78 # Gitlab.delete_user_snippet(14)
79 #
80 # @param [Integer] id ID of snippet to delete.
81 # @return [void] This API call returns an empty response body.
82 def delete_user_snippet(id)
83 delete("/snippets/#{id}")
84 end
85
86 # List all public snippets.
87 #
88 # @example
89 # Gitlab.public_snippets
90 # Gitlab.public_snippets(per_page: 2, page: 1)
91 #
92 # @param [Hash] options A customizable set of options.
93 # @option options [String] :per_page (optional) Number of snippets to return per page.
94 # @option options [String] :page (optional) Page to retrieve.
95 #
96 # @return [Array<Gitlab::ObjectifiedHash>] List of all public snippets
97 def public_snippets(options = {})
98 get('/snippets/public', query: options)
99 end
100
101 # Get user agent details for a snippet.
102 #
103 # @example
104 # Gitlab.snippet_user_agent_details(1)
105 #
106 # @param [Integer] id ID of snippet to delete.
107 #
108 # @return [Array<Gitlab::ObjectifiedHash>] Details of the user agent
109 def snippet_user_agent_details(id)
110 get("/snippets/#{id}/user_agent_detail")
111 end
112 end
113 end
122122 post('/session', body: { email: email, password: password }, unauthenticated: true)
123123 end
124124
125 # Gets a list of user activities (for admin access only).
126 #
127 # @example
128 # Gitlab.activities
129 #
130 # @param [Hash] options A customizable set of options.
131 # @option options [Integer] :page The page number.
132 # @option options [Integer] :per_page The number of results per page.
133 # @option options [String] :from The start date for paginated results.
134 # @return [Array<Gitlab::ObjectifiedHash>]
135 def activities(options = {})
136 get('/user/activities', query: options)
137 end
138
125139 # Gets a list of user's SSH keys.
126140 #
127141 # @example
224238 #
225239 # @param [String] email Email address
226240 # @param [Integer] user_id The ID of a user.
227 # @return [Gitlab::ObjectifiedHash]
228 def add_email(email, user_id = nil)
241 # @param [Boolean] skip_confirmation Skip confirmation and assume e-mail is verified
242 # @return [Gitlab::ObjectifiedHash]
243 def add_email(email, user_id = nil, skip_confirmation = nil)
229244 url = user_id.to_i.zero? ? '/user/emails' : "/users/#{user_id}/emails"
230 post(url, body: { email: email })
245 if skip_confirmation.nil?
246 post(url, body: { email: email })
247 else
248 post(url, body: { email: email, skip_confirmation: skip_confirmation })
249 end
231250 end
232251
233252 # Delete email
1818 include ContainerRegistry
1919 include Deployments
2020 include Environments
21 include EpicIssues
2122 include Epics
2223 include Events
2324 include Features
6061 include Templates
6162 include Todos
6263 include Users
64 include UserSnippets
6365 include Versions
6466 include Wikis
6567
6262 else
6363 @response.parsed_response
6464 end
65 rescue Gitlab::Error::Parsing
66 # Return stringified response when receiving a
67 # parsing error to avoid obfuscation of the
68 # api error.
69 #
70 # note: The Gitlab API does not always return valid
71 # JSON when there are errors.
72 @response.to_s
6573 end
6674
6775 # Handle error response message in case of nested hashes
8181 def change_help_output!(cmd, output_str)
8282 output_str = +output_str
8383 output_str.gsub!(/#{cmd}\((.*?)\)/m, cmd + ' \1')
84 output_str.gsub!(/\,[\s]*/, ' ')
84 output_str.gsub!(/,\s*/, ' ')
8585
8686 # Ensure @option descriptions are on a single line
8787 output_str.gsub!(/\n\[/, " \[")
8888 output_str.gsub!(/\s(@)/, "\n@")
89 output_str.gsub!(/(\])\n(\:)/, '\1 \2')
90 output_str.gsub!(/(\:.*)(\n)(.*\.)/, '\1 \3')
89 output_str.gsub!(/(\])\n(:)/, '\1 \2')
90 output_str.gsub!(/(:.*)(\n)(.*\.)/, '\1 \3')
9191 output_str.gsub!(/\{(.+)\}/, '"{\1}"')
9292 end
9393 end
66 def initialize(hash)
77 @hash = hash
88 @data = hash.each_with_object({}) do |(key, value), data|
9 value = ObjectifiedHash.new(value) if value.is_a? Hash
9 value = self.class.new(value) if value.is_a? Hash
10 value = value.map { |v| v.is_a?(Hash) ? self.class.new(v) : v } if value.is_a? Array
1011 data[key.to_s] = value
1112 end
1213 end
1314
1415 # @return [Hash] The original hash.
1516 def to_hash
16 @hash
17 hash
1718 end
1819 alias to_h to_hash
1920
2021 # @return [String] Formatted string with the class name, object id and original hash.
2122 def inspect
22 "#<#{self.class}:#{object_id} {hash: #{@hash.inspect}}"
23 "#<#{self.class}:#{object_id} {hash: #{hash.inspect}}"
2324 end
2425
25 # Delegate to ObjectifiedHash.
26 def method_missing(key)
27 @data.key?(key.to_s) ? @data[key.to_s] : super
26 def [](key)
27 data[key]
28 end
29
30 private
31
32 attr_reader :hash, :data
33
34 # Respond to messages for which `self.data` has a key
35 def method_missing(method_name, *args, &block)
36 if data.key?(method_name.to_s)
37 data[method_name.to_s]
38 elsif data.respond_to?(method_name)
39 warn 'WARNING: Please convert ObjectifiedHash object to hash before calling Hash methods on it.'
40 data.send(method_name, *args, &block)
41 else
42 super
43 end
2844 end
2945
3046 def respond_to_missing?(method_name, include_private = false)
31 @hash.keys.map(&:to_sym).include?(method_name.to_sym) || super
47 hash.keys.map(&:to_sym).include?(method_name.to_sym) || super
3248 end
3349 end
3450 end
66 class PageLinks
77 HEADER_LINK = 'Link'
88 DELIM_LINKS = ','
9 LINK_REGEX = /<([^>]+)>; rel=\"([^\"]+)\"/.freeze
9 LINK_REGEX = /<([^>]+)>; rel="([^"]+)"/.freeze
1010 METAS = %w[last next first prev].freeze
1111
1212 attr_accessor(*METAS)
4141 end
4242 end
4343
44 def auto_paginate
45 response = block_given? ? nil : []
46 each_page do |page|
47 if block_given?
48 page.each do |item|
49 yield item
50 end
51 else
52 response += page
53 end
54 end
55 response
44 def lazy_paginate
45 to_enum(:each_page).lazy.flat_map(&:to_ary)
5646 end
5747
58 def paginate_with_limit(limit)
59 response = block_given? ? nil : []
60 count = 0
61 each_page do |page|
62 if block_given?
63 page.each do |item|
64 yield item
65 count += 1
66 break if count >= limit
67 end
68 else
69 response += page[0, limit - count]
70 count = response.length
71 end
72 break if count >= limit
73 end
74 response
48 def auto_paginate(&block)
49 return lazy_paginate.to_a unless block_given?
50
51 lazy_paginate.each(&block)
52 end
53
54 def paginate_with_limit(limit, &block)
55 return lazy_paginate.take(limit).to_a unless block_given?
56
57 lazy_paginate.take(limit).each(&block)
7558 end
7659
7760 def last_page?
8265 def last_page
8366 return nil if @client.nil? || !has_last_page?
8467
85 path = @links.last.sub(/#{@client.endpoint}/, '')
86 @client.get(path)
68 @client.get(client_relative_path(@links.last))
8769 end
8870
8971 def first_page?
9476 def first_page
9577 return nil if @client.nil? || !has_first_page?
9678
97 path = @links.first.sub(/#{@client.endpoint}/, '')
98 @client.get(path)
79 @client.get(client_relative_path(@links.first))
9980 end
10081
10182 def next_page?
10687 def next_page
10788 return nil if @client.nil? || !has_next_page?
10889
109 path = @links.next.sub(/#{@client.endpoint}/, '')
110 @client.get(path)
90 @client.get(client_relative_path(@links.next))
11191 end
11292
11393 def prev_page?
11898 def prev_page
11999 return nil if @client.nil? || !has_prev_page?
120100
121 path = @links.prev.sub(/#{@client.endpoint}/, '')
122 @client.get(path)
101 @client.get(client_relative_path(@links.prev))
102 end
103
104 def client_relative_path(link)
105 client_endpoint_path = URI.parse(@client.endpoint).request_uri # api/v4
106 URI.parse(link).request_uri.sub(client_endpoint_path, '')
123107 end
124108 end
125109 end
00 # frozen_string_literal: true
11
22 module Gitlab
3 VERSION = '4.14.1'
3 VERSION = '4.16.1'
44 end
4141 #
4242 # @return [Array<Symbol>]
4343 def self.actions
44 hidden = /endpoint|private_token|auth_token|user_agent|sudo|get|post|put|\Adelete\z|validate|request_defaults|httparty/
44 hidden =
45 /endpoint|private_token|auth_token|user_agent|sudo|get|post|put|\Adelete\z|validate\z|request_defaults|httparty/
4546 (Gitlab::Client.instance_methods - Object.methods).reject { |e| e[hidden] }
4647 end
4748 end
0 {
1 "id": 1,
2 "username": "raymond_smith",
3 "name": "Raymond Smith",
4 "state": "active",
5 "created_at": "2012-10-22T14:13:35Z",
6 "requested_at": "2012-10-22T14:13:35Z"
7 }
0 {"id":1,"username":"raymond_smith","name":"Raymond Smith","state":"active","created_at":"2012-10-22T14:13:35Z","requested_at":"2012-10-22T14:13:35Z"}
0 [
1 {
2 "id": 1,
3 "username": "raymond_smith",
4 "name": "Raymond Smith",
5 "state": "active",
6 "created_at": "2012-10-22T14:13:35Z",
7 "requested_at": "2012-10-22T14:13:35Z"
8 },
9 {
10 "id": 2,
11 "username": "john_doe",
12 "name": "John Doe",
13 "state": "active",
14 "created_at": "2012-10-22T14:13:35Z",
15 "requested_at": "2012-10-22T14:13:35Z"
16 }
17 ]
0 [{"id":1,"username":"raymond_smith","name":"Raymond Smith","state":"active","created_at":"2012-10-22T14:13:35Z","requested_at":"2012-10-22T14:13:35Z"},{"id":2,"username":"john_doe","name":"John Doe","state":"active","created_at":"2012-10-22T14:13:35Z","requested_at":"2012-10-22T14:13:35Z"}]
0 [{"username":"someuser","last_activity_on":"2020-03-16","last_activity_at":"2020-03-16"}]
0 {
1 "default_projects_limit": 100000,
2 "signup_enabled": true,
3 "id": 1,
4 "default_branch_protection": 2,
5 "restricted_visibility_levels": [],
6 "password_authentication_enabled_for_web": true,
7 "after_sign_out_path": null,
8 "max_attachment_size": 10,
9 "user_oauth_applications": true,
10 "updated_at": "2016-01-04T15:44:55.176Z",
11 "session_expire_delay": 10080,
12 "home_page_url": null,
13 "default_snippet_visibility": "private",
14 "domain_whitelist": [],
15 "domain_blacklist_enabled": false,
16 "domain_blacklist": [],
17 "created_at": "2016-01-04T15:44:55.176Z",
18 "default_project_visibility": "private",
19 "default_group_visibility": "private",
20 "gravatar_enabled": true,
21 "sign_in_text": null,
22 "container_registry_token_expire_delay": 5,
23 "repository_storages": [
24 "default"
25 ],
26 "plantuml_enabled": false,
27 "plantuml_url": null,
28 "terminal_max_session_time": 0,
29 "polling_interval_multiplier": 1,
30 "rsa_key_restriction": 0,
31 "dsa_key_restriction": 0,
32 "ecdsa_key_restriction": 0,
33 "ed25519_key_restriction": 0,
34 "first_day_of_week": 0,
35 "enforce_terms": true,
36 "terms": "Hello world!",
37 "performance_bar_allowed_group_id": 42,
38 "instance_statistics_visibility_private": false,
39 "user_show_add_ssh_key_message": true,
40 "file_template_project_id": 1,
41 "local_markdown_version": 0,
42 "geo_node_allowed_ips": "0.0.0.0/0, ::/0"
43 }
0 {"default_projects_limit":100000,"signup_enabled":true,"id":1,"default_branch_protection":2,"restricted_visibility_levels":[],"password_authentication_enabled_for_web":true,"after_sign_out_path":null,"max_attachment_size":10,"user_oauth_applications":true,"updated_at":"2016-01-04T15:44:55.176Z","session_expire_delay":10080,"home_page_url":null,"default_snippet_visibility":"private","domain_whitelist":[],"domain_blacklist_enabled":false,"domain_blacklist":[],"created_at":"2016-01-04T15:44:55.176Z","default_project_visibility":"private","default_group_visibility":"private","gravatar_enabled":true,"sign_in_text":null,"container_registry_token_expire_delay":5,"repository_storages":["default"],"plantuml_enabled":false,"plantuml_url":null,"terminal_max_session_time":0,"polling_interval_multiplier":1,"rsa_key_restriction":0,"dsa_key_restriction":0,"ecdsa_key_restriction":0,"ed25519_key_restriction":0,"first_day_of_week":0,"enforce_terms":true,"terms":"Hello world!","performance_bar_allowed_group_id":42,"instance_statistics_visibility_private":false,"user_show_add_ssh_key_message":true,"file_template_project_id":1,"local_markdown_version":0,"geo_node_allowed_ips":"0.0.0.0/0, ::/0"}
0 {
1 "id": 1,
2 "username": "raymond_smith",
3 "name": "Raymond Smith",
4 "state": "active",
5 "created_at": "2012-10-22T14:13:35Z",
6 "access_level": 20
7 }
0 {"id":1,"username":"raymond_smith","name":"Raymond Smith","state":"active","created_at":"2012-10-22T14:13:35Z","access_level":20}
0 {
1 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=64&d=identicon"
2 }
0 {"avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=64&d=identicon"}
0 {
1 "id": 1,
2 "name": "project issue board",
3 "project": {
4 "id": 5,
5 "name": "Diaspora Project Site",
6 "name_with_namespace": "Diaspora / Diaspora Project Site",
7 "path": "diaspora-project-site",
8 "path_with_namespace": "diaspora/diaspora-project-site",
9 "http_url_to_repo": "http://example.com/diaspora/diaspora-project-site.git",
10 "web_url": "http://example.com/diaspora/diaspora-project-site"
11 },
12 "milestone": {
13 "id": 12,
14 "title": "10.0"
15 },
16 "lists" : [
17 {
18 "id" : 1,
19 "label" : {
20 "name" : "Testing",
21 "color" : "#F0AD4E",
22 "description" : null
23 },
24 "position" : 1
25 },
26 {
27 "id" : 2,
28 "label" : {
29 "name" : "Ready",
30 "color" : "#FF0000",
31 "description" : null
32 },
33 "position" : 2
34 },
35 {
36 "id" : 3,
37 "label" : {
38 "name" : "Production",
39 "color" : "#FF5F00",
40 "description" : null
41 },
42 "position" : 3
43 }
44 ]
45 }
0 {"id":1,"name":"project issue board","project":{"id":5,"name":"Diaspora Project Site","name_with_namespace":"Diaspora / Diaspora Project Site","path":"diaspora-project-site","path_with_namespace":"diaspora/diaspora-project-site","http_url_to_repo":"http://example.com/diaspora/diaspora-project-site.git","web_url":"http://example.com/diaspora/diaspora-project-site"},"milestone":{"id":12,"title":"10.0"},"lists":[{"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1},{"id":2,"label":{"name":"Ready","color":"#FF0000","description":null},"position":2},{"id":3,"label":{"name":"Production","color":"#FF5F00","description":null},"position":3}]}
0 { "id" : 1, "label" : { "name" : "Testing", "color" : "#F0AD4E", "description" : null }, "position" : 1 }
0 {"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1}
0 [ { "id" : 1, "label" : { "name" : "Testing", "color" : "#F0AD4E", "description" : null }, "position" : 1 }, { "id" : 2, "label" : { "name" : "Ready", "color" : "#FF0000", "description" : null }, "position" : 2 }, { "id" : 3, "label" : { "name" : "Production", "color" : "#FF5F00", "description" : null }, "position" : 3 } ]
0 [{"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1},{"id":2,"label":{"name":"Ready","color":"#FF0000","description":null},"position":2},{"id":3,"label":{"name":"Production","color":"#FF5F00","description":null},"position":3}]
0 [ { "id" : 1, "lists" : [ { "id" : 1, "label" : { "name" : "Testing", "color" : "#F0AD4E", "description" : null }, "position" : 1 }, { "id" : 2, "label" : { "name" : "Ready", "color" : "#FF0000", "description" : null }, "position" : 2 }, { "id" : 3, "label" : { "name" : "Production", "color" : "#FF5F00", "description" : null }, "position" : 3 } ] } ]
0 [{"id":1,"lists":[{"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1},{"id":2,"label":{"name":"Ready","color":"#FF0000","description":null},"position":2},{"id":3,"label":{"name":"Production","color":"#FF5F00","description":null},"position":3}]}]
0 {"name":"api","commit":{"id":"f7dd067490fe57505f7226c3b54d3127d2f7fd46","parents":[{"id":"949b1df930bedace1dbd755aaa4a82e8c451a616"}],"tree":"f8c4b21c036339f92fcc5482aa28a41250553b27","message":"API: expose issues project id","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-07-25T04:22:21-07:00","committed_date":"2012-07-25T04:22:21-07:00"},"protected": true}
0 {"name":"api","commit":{"id":"f7dd067490fe57505f7226c3b54d3127d2f7fd46","parents":[{"id":"949b1df930bedace1dbd755aaa4a82e8c451a616"}],"tree":"f8c4b21c036339f92fcc5482aa28a41250553b27","message":"API: expose issues project id","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-07-25T04:22:21-07:00","committed_date":"2012-07-25T04:22:21-07:00"},"protected":true}
0 {
1 "branch_name": "api"
2 }
0 {"branch_name":"api"}
0 [{"name":"api","commit":{"id":"f7dd067490fe57505f7226c3b54d3127d2f7fd46","parents":[{"id":"949b1df930bedace1dbd755aaa4a82e8c451a616"}],"tree":"f8c4b21c036339f92fcc5482aa28a41250553b27","message":"API: expose issues project id","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-07-25T04:22:21-07:00","committed_date":"2012-07-25T04:22:21-07:00"}},{"name":"dashboard-feed","commit":{"id":"f8f6ff065eccc6ede4d35ed87a09bb962b84ca25","parents":[{"id":"2cf8010792c3075824ee27d0f037aeb178cbbf7e"}],"tree":"e17f2157143d550891d4669c10b7446e4739bc6d","message":"add projects atom feed","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-05-31T23:42:02-07:00","committed_date":"2012-05-31T23:42:02-07:00"}},{"name":"master","commit":{"id":"2cf8010792c3075824ee27d0f037aeb178cbbf7e","parents":[{"id":"af226ae9c9af406c8a0e0bbdf364563495c2f432"},{"id":"e851cb07762aa464aae10e8b4b28de87c1a6f925"}],"tree":"6c6845838039f01723d91f395a1d2fa1dcc82522","message":"Merge pull request #868 from SaitoWu/bugfix/encoding\n\nBugfix/encoding","author":{"name":"Dmitriy Zaporozhets","email":"dmitriy.zaporozhets@gmail.com"},"committer":{"name":"Dmitriy Zaporozhets","email":"dmitriy.zaporozhets@gmail.com"},"authored_date":"2012-05-30T00:24:43-07:00","committed_date":"2012-05-30T00:24:43-07:00"}},{"name":"preview_notes","commit":{"id":"3749e0d99ac6bfbc65889b1b7a5310e14e7fe89a","parents":[{"id":"2483181f2c3d4ea7d2c68147b19bc07fc3937b0c"}],"tree":"f8c56161b0d6561568f088df9961362eb1ece88b","message":"pass project_id to notes preview path","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-08-09T23:46:27-07:00","committed_date":"2012-08-09T23:46:27-07:00"}},{"name":"refactoring","commit":{"id":"7c7761099cae83f59fe5780340e100be890847b2","parents":[{"id":"058d80b3363dd4fc4417ca4f60f76119188a2470"}],"tree":"d7d4a94c700dc0e84ee943019213d2358a49c413","message":"fix deprecation warnings","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-05-29T07:16:28-07:00","committed_date":"2012-05-29T07:16:28-07:00"}}]
0 [{"name":"api","commit":{"id":"f7dd067490fe57505f7226c3b54d3127d2f7fd46","parents":[{"id":"949b1df930bedace1dbd755aaa4a82e8c451a616"}],"tree":"f8c4b21c036339f92fcc5482aa28a41250553b27","message":"API: expose issues project id","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-07-25T04:22:21-07:00","committed_date":"2012-07-25T04:22:21-07:00"}},{"name":"dashboard-feed","commit":{"id":"f8f6ff065eccc6ede4d35ed87a09bb962b84ca25","parents":[{"id":"2cf8010792c3075824ee27d0f037aeb178cbbf7e"}],"tree":"e17f2157143d550891d4669c10b7446e4739bc6d","message":"add projects atom feed","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-05-31T23:42:02-07:00","committed_date":"2012-05-31T23:42:02-07:00"}},{"name":"master","commit":{"id":"2cf8010792c3075824ee27d0f037aeb178cbbf7e","parents":[{"id":"af226ae9c9af406c8a0e0bbdf364563495c2f432"},{"id":"e851cb07762aa464aae10e8b4b28de87c1a6f925"}],"tree":"6c6845838039f01723d91f395a1d2fa1dcc82522","message":"Merge pull request #868 from SaitoWu/bugfix/encoding\n\nBugfix/encoding","author":{"name":"Dmitriy Zaporozhets","email":"dmitriy.zaporozhets@gmail.com"},"committer":{"name":"Dmitriy Zaporozhets","email":"dmitriy.zaporozhets@gmail.com"},"authored_date":"2012-05-30T00:24:43-07:00","committed_date":"2012-05-30T00:24:43-07:00"}},{"name":"preview_notes","commit":{"id":"3749e0d99ac6bfbc65889b1b7a5310e14e7fe89a","parents":[{"id":"2483181f2c3d4ea7d2c68147b19bc07fc3937b0c"}],"tree":"f8c56161b0d6561568f088df9961362eb1ece88b","message":"pass project_id to notes preview path","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-08-09T23:46:27-07:00","committed_date":"2012-08-09T23:46:27-07:00"}},{"name":"refactoring","commit":{"id":"7c7761099cae83f59fe5780340e100be890847b2","parents":[{"id":"058d80b3363dd4fc4417ca4f60f76119188a2470"}],"tree":"d7d4a94c700dc0e84ee943019213d2358a49c413","message":"fix deprecation warnings","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-05-29T07:16:28-07:00","committed_date":"2012-05-29T07:16:28-07:00"}}]
0 {
1 "message":"Deploy in progress",
2 "starts_at":"2016-08-24T23:21:16.078Z",
3 "ends_at":"2016-08-26T23:21:16.080Z",
4 "color":"#cecece",
5 "font":"#FFFFFF",
6 "id":1,
7 "active":false
8 }
0 {"message":"Deploy in progress","starts_at":"2016-08-24T23:21:16.078Z","ends_at":"2016-08-26T23:21:16.080Z","color":"#cecece","font":"#FFFFFF","id":1,"active":false}
0 [
1 {
2 "message":"Example broadcast message",
3 "starts_at":"2016-08-24T23:21:16.078Z",
4 "ends_at":"2016-08-26T23:21:16.080Z",
5 "color":"#E75E40",
6 "font":"#FFFFFF",
7 "id":1,
8 "active": false
9 }
10 ]
0 [{"message":"Example broadcast message","starts_at":"2016-08-24T23:21:16.078Z","ends_at":"2016-08-26T23:21:16.080Z","color":"#E75E40","font":"#FFFFFF","id":1,"active":false}]
0 {
1 "commit": {
2 "author_email": "admin@example.com",
3 "author_name": "Administrator",
4 "created_at": "2015-12-24T16:51:14.000+01:00",
5 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
6 "message": "Test the CI integration.",
7 "short_id": "0ff3ae19",
8 "title": "Test the CI integration."
9 },
10 "coverage": null,
11 "created_at": "2015-12-24T15:51:21.880Z",
12 "download_url": null,
13 "finished_at": "2015-12-24T17:54:31.198Z",
14 "id": 8,
15 "name": "rubocop",
16 "ref": "master",
17 "runner": null,
18 "stage": "test",
19 "started_at": "2015-12-24T17:54:30.733Z",
20 "status": "failed",
21 "tag": false,
22 "user": {
23 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
24 "bio": null,
25 "created_at": "2015-12-21T13:14:24.077Z",
26 "id": 1,
27 "is_admin": true,
28 "linkedin": "",
29 "name": "John Smith",
30 "skype": "",
31 "state": "active",
32 "twitter": "",
33 "username": "root",
34 "web_url": "http://gitlab.dev/u/root",
35 "website_url": ""
36 }
37 }
0 {"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.880Z","download_url":null,"finished_at":"2015-12-24T17:54:31.198Z","id":8,"name":"rubocop","ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:30.733Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"is_admin":true,"linkedin":"","name":"John Smith","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/u/root","website_url":""}}
spec/fixtures/build_artifacts.json less more
Binary diff not shown
0 {
1 "commit": {
2 "author_email": "admin@example.com",
3 "author_name": "John Smith",
4 "created_at": "2015-12-24T16:51:14.000+01:00",
5 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
6 "message": "Test the CI integration.",
7 "short_id": "0ff3ae19",
8 "title": "Test the CI integration."
9 },
10 "coverage": null,
11 "created_at": "2016-01-11T10:13:33.506Z",
12 "download_url": null,
13 "finished_at": "2016-01-11T10:14:09.526Z",
14 "id": 69,
15 "name": "rubocop",
16 "ref": "master",
17 "runner": null,
18 "stage": "test",
19 "started_at": null,
20 "status": "canceled",
21 "tag": false,
22 "user": null
23 }
0 {"commit":{"author_email":"admin@example.com","author_name":"John Smith","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2016-01-11T10:13:33.506Z","download_url":null,"finished_at":"2016-01-11T10:14:09.526Z","id":69,"name":"rubocop","ref":"master","runner":null,"stage":"test","started_at":null,"status":"canceled","tag":false,"user":null}
0 {
1 "commit": {
2 "author_email": "admin@example.com",
3 "author_name": "John Smith",
4 "created_at": "2015-12-24T16:51:14.000+01:00",
5 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
6 "message": "Test the CI integration.",
7 "short_id": "0ff3ae19",
8 "title": "Test the CI integration."
9 },
10 "coverage": null,
11 "download_url": null,
12 "id": 69,
13 "name": "rubocop",
14 "ref": "master",
15 "runner": null,
16 "stage": "test",
17 "created_at": "2016-01-11T10:13:33.506Z",
18 "started_at": "2016-01-11T10:13:33.506Z",
19 "finished_at": "2016-01-11T10:15:10.506Z",
20 "status": "failed",
21 "tag": false,
22 "user": null
23 }
0 {"commit":{"author_email":"admin@example.com","author_name":"John Smith","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"download_url":null,"id":69,"name":"rubocop","ref":"master","runner":null,"stage":"test","created_at":"2016-01-11T10:13:33.506Z","started_at":"2016-01-11T10:13:33.506Z","finished_at":"2016-01-11T10:15:10.506Z","status":"failed","tag":false,"user":null}
0 {
1 "commit": {
2 "author_email": "admin@example.com",
3 "author_name": "John Smith",
4 "created_at": "2015-12-24T16:51:14.000+01:00",
5 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
6 "message": "Test the CI integration.",
7 "short_id": "0ff3ae19",
8 "title": "Test the CI integration."
9 },
10 "coverage": null,
11 "created_at": "2016-01-11T10:13:33.506Z",
12 "download_url": null,
13 "finished_at": null,
14 "id": 69,
15 "name": "rubocop",
16 "ref": "master",
17 "runner": null,
18 "stage": "test",
19 "started_at": null,
20 "status": "pending",
21 "tag": false,
22 "user": null
23 }
0 {"commit":{"author_email":"admin@example.com","author_name":"John Smith","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2016-01-11T10:13:33.506Z","download_url":null,"finished_at":null,"id":69,"name":"rubocop","ref":"master","runner":null,"stage":"test","started_at":null,"status":"pending","tag":false,"user":null}
0 [
1 {
2 "commit": {
3 "author_email": "admin@example.com",
4 "author_name": "Administrator",
5 "created_at": "2015-12-24T16:51:14.000+01:00",
6 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
7 "message": "Test the CI integration.",
8 "short_id": "0ff3ae19",
9 "title": "Test the CI integration."
10 },
11 "coverage": null,
12 "created_at": "2015-12-24T15:51:21.802Z",
13 "download_url": null,
14 "finished_at": "2015-12-24T17:54:27.895Z",
15 "id": 7,
16 "name": "teaspoon",
17 "ref": "master",
18 "runner": null,
19 "stage": "test",
20 "started_at": "2015-12-24T17:54:27.722Z",
21 "status": "failed",
22 "tag": false,
23 "user": {
24 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
25 "bio": null,
26 "created_at": "2015-12-21T13:14:24.077Z",
27 "id": 1,
28 "is_admin": true,
29 "linkedin": "",
30 "name": "Administrator",
31 "skype": "",
32 "state": "active",
33 "twitter": "",
34 "username": "root",
35 "web_url": "http://gitlab.dev/u/root",
36 "website_url": ""
37 }
38 },
39 {
40 "commit": {
41 "author_email": "admin@example.com",
42 "author_name": "Administrator",
43 "created_at": "2015-12-24T16:51:14.000+01:00",
44 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
45 "message": "Test the CI integration.",
46 "short_id": "0ff3ae19",
47 "title": "Test the CI integration."
48 },
49 "coverage": null,
50 "created_at": "2015-12-24T15:51:21.727Z",
51 "download_url": null,
52 "finished_at": "2015-12-24T17:54:24.921Z",
53 "id": 6,
54 "name": "spinach:other",
55 "ref": "master",
56 "runner": null,
57 "stage": "test",
58 "started_at": "2015-12-24T17:54:24.729Z",
59 "status": "failed",
60 "tag": false,
61 "user": {
62 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
63 "bio": null,
64 "created_at": "2015-12-21T13:14:24.077Z",
65 "id": 1,
66 "is_admin": true,
67 "linkedin": "",
68 "name": "Administrator",
69 "skype": "",
70 "state": "active",
71 "twitter": "",
72 "username": "root",
73 "web_url": "http://gitlab.dev/u/root",
74 "website_url": ""
75 }
76 }
77 ]
0 [{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.802Z","download_url":null,"finished_at":"2015-12-24T17:54:27.895Z","id":7,"name":"teaspoon","ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:27.722Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"is_admin":true,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/u/root","website_url":""}},{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.727Z","download_url":null,"finished_at":"2015-12-24T17:54:24.921Z","id":6,"name":"spinach:other","ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:24.729Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"is_admin":true,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/u/root","website_url":""}}]
0 [
1 {
2 "commit": {
3 "author_email": "admin@example.com",
4 "author_name": "Administrator",
5 "created_at": "2015-12-24T16:51:14.000+01:00",
6 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
7 "message": "Test the CI integration.",
8 "short_id": "0ff3ae19",
9 "title": "Test the CI integration."
10 },
11 "coverage": null,
12 "created_at": "2016-01-11T10:13:33.506Z",
13 "download_url": null,
14 "finished_at": "2016-01-11T10:14:09.526Z",
15 "id": 69,
16 "name": "rubocop",
17 "ref": "master",
18 "runner": null,
19 "stage": "test",
20 "started_at": null,
21 "status": "canceled",
22 "tag": false,
23 "user": null
24 },
25 {
26 "commit": {
27 "author_email": "admin@example.com",
28 "author_name": "Administrator",
29 "created_at": "2015-12-24T16:51:14.000+01:00",
30 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
31 "message": "Test the CI integration.",
32 "short_id": "0ff3ae19",
33 "title": "Test the CI integration."
34 },
35 "coverage": null,
36 "created_at": "2015-12-24T15:51:21.957Z",
37 "download_url": null,
38 "finished_at": "2015-12-24T17:54:33.913Z",
39 "id": 9,
40 "name": "brakeman",
41 "ref": "master",
42 "runner": null,
43 "stage": "test",
44 "started_at": "2015-12-24T17:54:33.727Z",
45 "status": "failed",
46 "tag": false,
47 "user": {
48 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
49 "bio": null,
50 "created_at": "2015-12-21T13:14:24.077Z",
51 "id": 1,
52 "is_admin": true,
53 "linkedin": "",
54 "name": "Administrator",
55 "skype": "",
56 "state": "active",
57 "twitter": "",
58 "username": "root",
59 "web_url": "http://gitlab.dev/u/root",
60 "website_url": ""
61 }
62 }
63 ]
0 [{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2016-01-11T10:13:33.506Z","download_url":null,"finished_at":"2016-01-11T10:14:09.526Z","id":69,"name":"rubocop","ref":"master","runner":null,"stage":"test","started_at":null,"status":"canceled","tag":false,"user":null},{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.957Z","download_url":null,"finished_at":"2015-12-24T17:54:33.913Z","id":9,"name":"brakeman","ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:33.727Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"is_admin":true,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/u/root","website_url":""}}]
0
1 {
2 "commit": {
3 "id": "12d65c8dd2b2676fa3ac47d955accc085a37a9c1",
4 "short_id": "12d65c8dd2b",
5 "title": "JS fix",
6 "author_name": "Dmitriy Zaporozhets",
7 "author_email": "dmitriy.zaporozhets@gmail.com",
8 "created_at": "2014-02-27T10:27:00+02:00"
9 },
10 "commits": [{
11 "id": "12d65c8dd2b2676fa3ac47d955accc085a37a9c1",
12 "short_id": "12d65c8dd2b",
13 "title": "JS fix",
14 "author_name": "Dmitriy Zaporozhets",
15 "author_email": "dmitriy.zaporozhets@gmail.com",
16 "created_at": "2014-02-27T10:27:00+02:00"
17 }],
18 "diffs": [{
19 "old_path": "files/js/application.js",
20 "new_path": "files/js/application.js",
21 "a_mode": null,
22 "b_mode": "100644",
23 "diff": "--- a/files/js/application.js\n+++ b/files/js/application.js\n@@ -24,8 +24,10 @@\n //= require g.raphael-min\n //= require g.bar-min\n //= require branch-graph\n-//= require highlightjs.min\n-//= require ace/ace\n //= require_tree .\n //= require d3\n //= require underscore\n+\n+function fix() { \n+ alert(\"Fixed\")\n+}",
24 "new_file": false,
25 "renamed_file": false,
26 "deleted_file": false
27 }],
28 "compare_timeout": false,
29 "compare_same_ref": false
30 }
0 {"commit":{"id":"12d65c8dd2b2676fa3ac47d955accc085a37a9c1","short_id":"12d65c8dd2b","title":"JS fix","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2014-02-27T10:27:00+02:00"},"commits":[{"id":"12d65c8dd2b2676fa3ac47d955accc085a37a9c1","short_id":"12d65c8dd2b","title":"JS fix","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2014-02-27T10:27:00+02:00"}],"diffs":[{"old_path":"files/js/application.js","new_path":"files/js/application.js","a_mode":null,"b_mode":"100644","diff":"--- a/files/js/application.js\n+++ b/files/js/application.js\n@@ -24,8 +24,10 @@\n //= require g.raphael-min\n //= require g.bar-min\n //= require branch-graph\n-//= require highlightjs.min\n-//= require ace/ace\n //= require_tree .\n //= require d3\n //= require underscore\n+\n+function fix() { \n+ alert(\"Fixed\")\n+}","new_file":false,"renamed_file":false,"deleted_file":false}],"compare_timeout":false,"compare_same_ref":false}
0 [{
1 "name": "Dmitriy Zaporozhets",
2 "email": "dmitriy.zaporozhets@gmail.com",
3 "commits": 117,
4 "additions": 2097,
5 "deletions": 517
6 }, {
7 "name": "Jacob Vosmaer",
8 "email": "contact@jacobvosmaer.nl",
9 "commits": 33,
10 "additions": 338,
11 "deletions": 244
12 }]
0 [{"name":"Dmitriy Zaporozhets","email":"dmitriy.zaporozhets@gmail.com","commits":117,"additions":2097,"deletions":517},{"name":"Jacob Vosmaer","email":"contact@jacobvosmaer.nl","commits":33,"additions":338,"deletions":244}]
0 {
1 "source_issue": {
2 "id": 83,
3 "iid": 11,
4 "project_id": 4,
5 "created_at": "2016-01-07T12:44:33.959Z",
6 "title": "Issues with auth",
7 "state": "opened",
8 "assignees": [],
9 "assignee": null,
10 "labels": [
11 "bug"
12 ],
13 "author": {
14 "name": "Alexandra Bashirian",
15 "avatar_url": null,
16 "state": "active",
17 "web_url": "https://gitlab.example.com/eileen.lowe",
18 "id": 18,
19 "username": "eileen.lowe"
20 },
21 "description": null,
22 "updated_at": "2016-01-07T12:44:33.959Z",
23 "milestone": null,
24 "subscribed": true,
25 "user_notes_count": 0,
26 "due_date": null,
27 "web_url": "http://example.com/example/example/issues/11",
28 "confidential": false,
29 "weight": null
30 },
31 "target_issue": {
32 "id": 84,
33 "iid": 14,
34 "project_id": 4,
35 "created_at": "2016-01-07T12:44:33.959Z",
36 "title": "Issues with auth",
37 "state": "opened",
38 "assignees": [],
39 "assignee": null,
40 "labels": [
41 "bug"
42 ],
43 "author": {
44 "name": "Alexandra Bashirian",
45 "avatar_url": null,
46 "state": "active",
47 "web_url": "https://gitlab.example.com/eileen.lowe",
48 "id": 18,
49 "username": "eileen.lowe"
50 },
51 "description": null,
52 "updated_at": "2016-01-07T12:44:33.959Z",
53 "milestone": null,
54 "subscribed": true,
55 "user_notes_count": 0,
56 "due_date": null,
57 "web_url": "http://example.com/example/example/issues/14",
58 "confidential": false,
59 "weight": null
60 }
61 }
0 {"source_issue":{"id":83,"iid":11,"project_id":4,"created_at":"2016-01-07T12:44:33.959Z","title":"Issues with auth","state":"opened","assignees":[],"assignee":null,"labels":["bug"],"author":{"name":"Alexandra Bashirian","avatar_url":null,"state":"active","web_url":"https://gitlab.example.com/eileen.lowe","id":18,"username":"eileen.lowe"},"description":null,"updated_at":"2016-01-07T12:44:33.959Z","milestone":null,"subscribed":true,"user_notes_count":0,"due_date":null,"web_url":"http://example.com/example/example/issues/11","confidential":false,"weight":null},"target_issue":{"id":84,"iid":14,"project_id":4,"created_at":"2016-01-07T12:44:33.959Z","title":"Issues with auth","state":"opened","assignees":[],"assignee":null,"labels":["bug"],"author":{"name":"Alexandra Bashirian","avatar_url":null,"state":"active","web_url":"https://gitlab.example.com/eileen.lowe","id":18,"username":"eileen.lowe"},"description":null,"updated_at":"2016-01-07T12:44:33.959Z","milestone":null,"subscribed":true,"user_notes_count":0,"due_date":null,"web_url":"http://example.com/example/example/issues/14","confidential":false,"weight":null}}
0 {"id":1,"title":"This is a snippet","file_name":"test.txt","description":"Hello World snippet","visibility":"internal","author":{"id":1,"username":"john_smith","email":"john@example.com","name":"John Smith","state":"active","created_at":"2012-05-23T08:00:58Z"},"expires_at":null,"updated_at":"2012-06-28T10:52:04Z","created_at":"2012-06-28T10:52:04Z","project_id":null,"web_url":"http://example.com/snippets/1","raw_url":"http://example.com/snippets/1/raw"}
0 {
1 "id": 1,
2 "username": "raymond_smith",
3 "name": "Raymond Smith",
4 "state": "active",
5 "created_at": "2012-10-22T14:13:35Z",
6 "access_level": 30
7 }
0 {"id":1,"username":"raymond_smith","name":"Raymond Smith","state":"active","created_at":"2012-10-22T14:13:35Z","access_level":30}
0 {
1 "source_issue": {
2 "id": 83,
3 "iid": 11,
4 "project_id": 4,
5 "created_at": "2016-01-07T12:44:33.959Z",
6 "title": "Issues with auth",
7 "state": "opened",
8 "assignees": [],
9 "assignee": null,
10 "labels": [
11 "bug"
12 ],
13 "author": {
14 "name": "Alexandra Bashirian",
15 "avatar_url": null,
16 "state": "active",
17 "web_url": "https://gitlab.example.com/eileen.lowe",
18 "id": 18,
19 "username": "eileen.lowe"
20 },
21 "description": null,
22 "updated_at": "2016-01-07T12:44:33.959Z",
23 "milestone": null,
24 "subscribed": true,
25 "user_notes_count": 0,
26 "due_date": null,
27 "web_url": "http://example.com/example/example/issues/11",
28 "confidential": false,
29 "weight": null
30 },
31 "target_issue": {
32 "id": 84,
33 "iid": 14,
34 "project_id": 4,
35 "created_at": "2016-01-07T12:44:33.959Z",
36 "title": "Issues with auth",
37 "state": "opened",
38 "assignees": [],
39 "assignee": null,
40 "labels": [
41 "bug"
42 ],
43 "author": {
44 "name": "Alexandra Bashirian",
45 "avatar_url": null,
46 "state": "active",
47 "web_url": "https://gitlab.example.com/eileen.lowe",
48 "id": 18,
49 "username": "eileen.lowe"
50 },
51 "description": null,
52 "updated_at": "2016-01-07T12:44:33.959Z",
53 "milestone": null,
54 "subscribed": true,
55 "user_notes_count": 0,
56 "due_date": null,
57 "web_url": "http://example.com/example/example/issues/14",
58 "confidential": false,
59 "weight": null
60 }
61 }
0 {"source_issue":{"id":83,"iid":11,"project_id":4,"created_at":"2016-01-07T12:44:33.959Z","title":"Issues with auth","state":"opened","assignees":[],"assignee":null,"labels":["bug"],"author":{"name":"Alexandra Bashirian","avatar_url":null,"state":"active","web_url":"https://gitlab.example.com/eileen.lowe","id":18,"username":"eileen.lowe"},"description":null,"updated_at":"2016-01-07T12:44:33.959Z","milestone":null,"subscribed":true,"user_notes_count":0,"due_date":null,"web_url":"http://example.com/example/example/issues/11","confidential":false,"weight":null},"target_issue":{"id":84,"iid":14,"project_id":4,"created_at":"2016-01-07T12:44:33.959Z","title":"Issues with auth","state":"opened","assignees":[],"assignee":null,"labels":["bug"],"author":{"name":"Alexandra Bashirian","avatar_url":null,"state":"active","web_url":"https://gitlab.example.com/eileen.lowe","id":18,"username":"eileen.lowe"},"description":null,"updated_at":"2016-01-07T12:44:33.959Z","milestone":null,"subscribed":true,"user_notes_count":0,"due_date":null,"web_url":"http://example.com/example/example/issues/14","confidential":false,"weight":null}}
0 {
1 "id": 42,
2 "iid": 2,
3 "ref": "master",
4 "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
5 "created_at": "2016-08-11T11:32:35.444Z",
6 "user": {
7 "name": "Administrator",
8 "username": "root",
9 "id": 1,
10 "state": "active",
11 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
12 "web_url": "http://localhost:3000/root"
13 },
14 "environment": {
15 "id": 9,
16 "name": "production",
17 "external_url": "https://about.gitlab.com"
18 },
19 "deployable": {
20 "id": 664,
21 "status": "success",
22 "stage": "deploy",
23 "name": "deploy",
24 "ref": "master",
25 "tag": false,
26 "coverage": null,
27 "created_at": "2016-08-11T11:32:24.456Z",
28 "started_at": null,
29 "finished_at": "2016-08-11T11:32:35.145Z",
30 "user": {
31 "name": "Administrator",
32 "username": "root",
33 "id": 1,
34 "state": "active",
35 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
36 "web_url": "http://localhost:3000/root",
37 "created_at": "2016-08-11T07:09:20.351Z",
38 "bio": null,
39 "location": null,
40 "skype": "",
41 "linkedin": "",
42 "twitter": "",
43 "website_url": ""
44 },
45 "commit": {
46 "id": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
47 "short_id": "a91957a8",
48 "title": "Merge branch 'rename-readme' into 'master'\r",
49 "author_name": "Administrator",
50 "author_email": "admin@example.com",
51 "created_at": "2016-08-11T13:28:26.000+02:00",
52 "message": "Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2"
53 },
54 "runner": null
55 }
56 }
0 {"id":42,"iid":2,"ref":"master","sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","created_at":"2016-08-11T11:32:35.444Z","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"environment":{"id":9,"name":"production","external_url":"https://about.gitlab.com"},"deployable":{"id":664,"status":"success","stage":"deploy","name":"deploy","ref":"master","tag":false,"coverage":null,"created_at":"2016-08-11T11:32:24.456Z","started_at":null,"finished_at":"2016-08-11T11:32:35.145Z","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root","created_at":"2016-08-11T07:09:20.351Z","bio":null,"location":null,"skype":"","linkedin":"","twitter":"","website_url":""},"commit":{"id":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","short_id":"a91957a8","title":"Merge branch 'rename-readme' into 'master'\r","author_name":"Administrator","author_email":"admin@example.com","created_at":"2016-08-11T13:28:26.000+02:00","message":"Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2"},"runner":null}}
0 [
1 {
2 "created_at": "2016-08-11T07:36:40.222Z",
3 "deployable": {
4 "commit": {
5 "author_email": "admin@example.com",
6 "author_name": "Administrator",
7 "created_at": "2016-08-11T09:36:01.000+02:00",
8 "id": "99d03678b90d914dbb1b109132516d71a4a03ea8",
9 "message": "Merge branch 'new-title' into 'master'\r\n\r\nUpdate README\r\n\r\n\r\n\r\nSee merge request !1",
10 "short_id": "99d03678",
11 "title": "Merge branch 'new-title' into 'master'\r"
12 },
13 "coverage": null,
14 "created_at": "2016-08-11T07:36:27.357Z",
15 "finished_at": "2016-08-11T07:36:39.851Z",
16 "id": 657,
17 "name": "deploy",
18 "ref": "master",
19 "runner": null,
20 "stage": "deploy",
21 "started_at": null,
22 "status": "success",
23 "tag": false,
24 "user": {
25 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
26 "bio": null,
27 "created_at": "2016-08-11T07:09:20.351Z",
28 "id": 1,
29 "linkedin": "",
30 "location": null,
31 "name": "Administrator",
32 "skype": "",
33 "state": "active",
34 "twitter": "",
35 "username": "root",
36 "web_url": "http://localhost:3000/root",
37 "website_url": ""
38 }
39 },
40 "environment": {
41 "external_url": "https://about.gitlab.com",
42 "id": 9,
43 "name": "production"
44 },
45 "id": 41,
46 "iid": 1,
47 "ref": "master",
48 "sha": "99d03678b90d914dbb1b109132516d71a4a03ea8",
49 "user": {
50 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
51 "id": 1,
52 "name": "Administrator",
53 "state": "active",
54 "username": "root",
55 "web_url": "http://localhost:3000/root"
56 }
57 },
58 {
59 "created_at": "2016-08-11T11:32:35.444Z",
60 "deployable": {
61 "commit": {
62 "author_email": "admin@example.com",
63 "author_name": "Administrator",
64 "created_at": "2016-08-11T13:28:26.000+02:00",
65 "id": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
66 "message": "Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2",
67 "short_id": "a91957a8",
68 "title": "Merge branch 'rename-readme' into 'master'\r"
69 },
70 "coverage": null,
71 "created_at": "2016-08-11T11:32:24.456Z",
72 "finished_at": "2016-08-11T11:32:35.145Z",
73 "id": 664,
74 "name": "deploy",
75 "ref": "master",
76 "runner": null,
77 "stage": "deploy",
78 "started_at": null,
79 "status": "success",
80 "tag": false,
81 "user": {
82 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
83 "bio": null,
84 "created_at": "2016-08-11T07:09:20.351Z",
85 "id": 1,
86 "linkedin": "",
87 "location": null,
88 "name": "Administrator",
89 "skype": "",
90 "state": "active",
91 "twitter": "",
92 "username": "root",
93 "web_url": "http://localhost:3000/root",
94 "website_url": ""
95 }
96 },
97 "environment": {
98 "external_url": "https://about.gitlab.com",
99 "id": 9,
100 "name": "production"
101 },
102 "id": 42,
103 "iid": 2,
104 "ref": "master",
105 "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
106 "user": {
107 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
108 "id": 1,
109 "name": "Administrator",
110 "state": "active",
111 "username": "root",
112 "web_url": "http://localhost:3000/root"
113 }
114 }
115 ]
0 [{"created_at":"2016-08-11T07:36:40.222Z","deployable":{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2016-08-11T09:36:01.000+02:00","id":"99d03678b90d914dbb1b109132516d71a4a03ea8","message":"Merge branch 'new-title' into 'master'\r\n\r\nUpdate README\r\n\r\n\r\n\r\nSee merge request !1","short_id":"99d03678","title":"Merge branch 'new-title' into 'master'\r"},"coverage":null,"created_at":"2016-08-11T07:36:27.357Z","finished_at":"2016-08-11T07:36:39.851Z","id":657,"name":"deploy","ref":"master","runner":null,"stage":"deploy","started_at":null,"status":"success","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2016-08-11T07:09:20.351Z","id":1,"linkedin":"","location":null,"name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://localhost:3000/root","website_url":""}},"environment":{"external_url":"https://about.gitlab.com","id":9,"name":"production"},"id":41,"iid":1,"ref":"master","sha":"99d03678b90d914dbb1b109132516d71a4a03ea8","user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","id":1,"name":"Administrator","state":"active","username":"root","web_url":"http://localhost:3000/root"}},{"created_at":"2016-08-11T11:32:35.444Z","deployable":{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2016-08-11T13:28:26.000+02:00","id":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","message":"Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2","short_id":"a91957a8","title":"Merge branch 'rename-readme' into 'master'\r"},"coverage":null,"created_at":"2016-08-11T11:32:24.456Z","finished_at":"2016-08-11T11:32:35.145Z","id":664,"name":"deploy","ref":"master","runner":null,"stage":"deploy","started_at":null,"status":"success","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2016-08-11T07:09:20.351Z","id":1,"linkedin":"","location":null,"name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://localhost:3000/root","website_url":""}},"environment":{"external_url":"https://about.gitlab.com","id":9,"name":"production"},"id":42,"iid":2,"ref":"master","sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","id":1,"name":"Administrator","state":"active","username":"root","web_url":"http://localhost:3000/root"}}]
0 {
1 "name": "Binary",
2 "content": "# This file is a template, and might need editing before it works on your project.\n# This Dockerfile installs a compiled binary into a bare system.\n# You must either commit your compiled binary into source control (not recommended)\n# or build the binary first as part of a CI/CD pipeline.\n\nFROM buildpack-deps:jessie\n\nWORKDIR /usr/local/bin\n\n# Change `app` to whatever your binary is called\nAdd app .\nCMD [\"./app\"]\n"
3 }
4
0 {"name":"Binary","content":"# This file is a template, and might need editing before it works on your project.\n# This Dockerfile installs a compiled binary into a bare system.\n# You must either commit your compiled binary into source control (not recommended)\n# or build the binary first as part of a CI/CD pipeline.\n\nFROM buildpack-deps:jessie\n\nWORKDIR /usr/local/bin\n\n# Change `app` to whatever your binary is called\nAdd app .\nCMD [\"./app\"]\n"}
0 [
1 {
2 "key": "Binary",
3 "name": "Binary"
4 },
5 {
6 "key": "Binary-alpine",
7 "name": "Binary-alpine"
8 },
9 {
10 "key": "Binary-scratch",
11 "name": "Binary-scratch"
12 },
13 {
14 "key": "Golang",
15 "name": "Golang"
16 },
17 {
18 "key": "Golang-alpine",
19 "name": "Golang-alpine"
20 },
21 {
22 "key": "Golang-scratch",
23 "name": "Golang-scratch"
24 },
25 {
26 "key": "HTTPd",
27 "name": "HTTPd"
28 },
29 {
30 "key": "Node",
31 "name": "Node"
32 },
33 {
34 "key": "Node-alpine",
35 "name": "Node-alpine"
36 },
37 {
38 "key": "OpenJDK",
39 "name": "OpenJDK"
40 },
41 {
42 "key": "OpenJDK-alpine",
43 "name": "OpenJDK-alpine"
44 },
45 {
46 "key": "PHP",
47 "name": "PHP"
48 },
49 {
50 "key": "Python",
51 "name": "Python"
52 },
53 {
54 "key": "Python-alpine",
55 "name": "Python-alpine"
56 },
57 {
58 "key": "Python2",
59 "name": "Python2"
60 },
61 {
62 "key": "Ruby",
63 "name": "Ruby"
64 },
65 {
66 "key": "Ruby-alpine",
67 "name": "Ruby-alpine"
68 }
69 ]
0 [{"key":"Binary","name":"Binary"},{"key":"Binary-alpine","name":"Binary-alpine"},{"key":"Binary-scratch","name":"Binary-scratch"},{"key":"Golang","name":"Golang"},{"key":"Golang-alpine","name":"Golang-alpine"},{"key":"Golang-scratch","name":"Golang-scratch"},{"key":"HTTPd","name":"HTTPd"},{"key":"Node","name":"Node"},{"key":"Node-alpine","name":"Node-alpine"},{"key":"OpenJDK","name":"OpenJDK"},{"key":"OpenJDK-alpine","name":"OpenJDK-alpine"},{"key":"PHP","name":"PHP"},{"key":"Python","name":"Python"},{"key":"Python-alpine","name":"Python-alpine"},{"key":"Python2","name":"Python2"},{"key":"Ruby","name":"Ruby"},{"key":"Ruby-alpine","name":"Ruby-alpine"}]
0 {
1 "id": 12,
2 "name": "staging",
3 "slug": "staging-cb247rv",
4 "external_url": "https://staging.example.gitlab.com"
5 }
0 {"id":12,"name":"staging","slug":"staging-cb247rv","external_url":"https://staging.example.gitlab.com"}
0 [
1 {
2 "id": 1,
3 "name": "review/fix-foo",
4 "slug": "review-fix-foo-dfjre3",
5 "external_url": "https://review-fix-foo-dfjre3.example.gitlab.com"
6 },
7 {
8 "id": 12,
9 "name": "review/fix-bar",
10 "slug": "review-fix-bar-dbwr18",
11 "external_url": "https://review-fix-bar-dbwr18.example.gitlab.com"
12 }
13 ]
0 [{"id":1,"name":"review/fix-foo","slug":"review-fix-foo-dfjre3","external_url":"https://review-fix-foo-dfjre3.example.gitlab.com"},{"id":12,"name":"review/fix-bar","slug":"review-fix-bar-dbwr18","external_url":"https://review-fix-bar-dbwr18.example.gitlab.com"}]
0 {
1 "id": 30,
2 "iid": 5,
3 "group_id": 7,
4 "title": "Ea cupiditate dolores ut vero consequatur quasi veniam voluptatem et non.",
5 "description": "Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.",
6 "state": "opened",
7 "web_url": "http://localhost:3001/groups/test/-/epics/5",
8 "reference": "&5",
9 "author":{
10 "id": 7,
11 "name": "Pamella Huel",
12 "username": "arnita",
13 "state": "active",
14 "avatar_url": "http://www.gravatar.com/avatar/a2f5c6fcef64c9c69cb8779cb292be1b?s=80&d=identicon",
15 "web_url": "http://localhost:3001/arnita"
16 },
17 "start_date": null,
18 "start_date_is_fixed": false,
19 "start_date_fixed": null,
20 "start_date_from_inherited_source": null,
21 "due_date": "2018-07-31",
22 "due_date_is_fixed": false,
23 "due_date_fixed": null,
24 "due_date_from_inherited_source": "2018-07-31",
25 "created_at": "2018-07-17T13:36:22.770Z",
26 "updated_at": "2018-07-18T12:22:05.239Z",
27 "closed_at": "2018-08-18T12:22:05.239Z",
28 "labels": [],
29 "upvotes": 4,
30 "downvotes": 0,
31 "subscribed": true
32 }
33
0 {"id":30,"iid":5,"group_id":7,"title":"Ea cupiditate dolores ut vero consequatur quasi veniam voluptatem et non.","description":"Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.","state":"opened","web_url":"http://localhost:3001/groups/test/-/epics/5","reference":"&5","author":{"id":7,"name":"Pamella Huel","username":"arnita","state":"active","avatar_url":"http://www.gravatar.com/avatar/a2f5c6fcef64c9c69cb8779cb292be1b?s=80&d=identicon","web_url":"http://localhost:3001/arnita"},"start_date":null,"start_date_is_fixed":false,"start_date_fixed":null,"start_date_from_inherited_source":null,"due_date":"2018-07-31","due_date_is_fixed":false,"due_date_fixed":null,"due_date_from_inherited_source":"2018-07-31","created_at":"2018-07-17T13:36:22.770Z","updated_at":"2018-07-18T12:22:05.239Z","closed_at":"2018-08-18T12:22:05.239Z","labels":[],"upvotes":4,"downvotes":0,"subscribed":true}
0 [{"id":1,"project_id":1,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":null,"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z","epic_iid":3,"epic":{"id":2,"iid":3,"title":"Culpa eius recusandae suscipit","group_id":7}},{"id":6,"project_id":2,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":null,"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z","epic_iid":3,"epic":{"id":2,"iid":3,"title":"Culpa eius recusandae suscipit","group_id":7}},{"id":12,"project_id":3,"title":"Veniam et tempore quidem eum reprehenderit cupiditate non aut velit eaque.","description":null,"labels":[],"milestone":null,"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z","epic_iid":3,"epic":{"id":2,"iid":3,"title":"Culpa eius recusandae suscipit","group_id":7}},{"id":21,"project_id":1,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":null,"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z","epic_iid":3,"epic":{"id":2,"iid":3,"title":"Culpa eius recusandae suscipit","group_id":7}},{"id":26,"project_id":2,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":null,"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z","epic_iid":3,"epic":{"id":2,"iid":3,"title":"Culpa eius recusandae suscipit","group_id":7}},{"id":32,"project_id":3,"title":"Deserunt tenetur impedit est beatae voluptas voluptas quaerat quisquam.","description":null,"labels":[],"milestone":null,"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z","epic_iid":3,"epic":{"id":2,"iid":3,"title":"Culpa eius recusandae suscipit","group_id":7}}]
0 [
1 {
2 "id": 29,
3 "iid": 4,
4 "group_id": 7,
5 "title": "Accusamus iste et ullam ratione voluptatem omnis debitis dolor est.",
6 "description": "Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.",
7 "state": "opened",
8 "web_url": "http://localhost:3001/groups/test/-/epics/4",
9 "reference": "&4",
10 "author": {
11 "id": 10,
12 "name": "Lu Mayer",
13 "username": "kam",
14 "state": "active",
15 "avatar_url": "http://www.gravatar.com/avatar/018729e129a6f31c80a6327a30196823?s=80&d=identicon",
16 "web_url": "http://localhost:3001/kam"
17 },
18 "start_date": null,
19 "start_date_is_fixed": false,
20 "start_date_fixed": null,
21 "start_date_from_inherited_source": null,
22 "due_date": "2018-07-31",
23 "due_date_is_fixed": false,
24 "due_date_fixed": null,
25 "due_date_from_inherited_source": "2018-07-31",
26 "created_at": "2018-07-17T13:36:22.770Z",
27 "updated_at": "2018-07-18T12:22:05.239Z",
28 "closed_at": "2018-08-18T12:22:05.239Z",
29 "labels": [],
30 "upvotes": 4,
31 "downvotes": 0
32 }
33 ]
34
0 [{"id":29,"iid":4,"group_id":7,"title":"Accusamus iste et ullam ratione voluptatem omnis debitis dolor est.","description":"Molestias dolorem eos vitae expedita impedit necessitatibus quo voluptatum.","state":"opened","web_url":"http://localhost:3001/groups/test/-/epics/4","reference":"&4","author":{"id":10,"name":"Lu Mayer","username":"kam","state":"active","avatar_url":"http://www.gravatar.com/avatar/018729e129a6f31c80a6327a30196823?s=80&d=identicon","web_url":"http://localhost:3001/kam"},"start_date":null,"start_date_is_fixed":false,"start_date_fixed":null,"start_date_from_inherited_source":null,"due_date":"2018-07-31","due_date_is_fixed":false,"due_date_fixed":null,"due_date_from_inherited_source":"2018-07-31","created_at":"2018-07-17T13:36:22.770Z","updated_at":"2018-07-18T12:22:05.239Z","closed_at":"2018-08-18T12:22:05.239Z","labels":[],"upvotes":4,"downvotes":0}]
0 {"message": "409 Already exists"}
0 {"message":"409 Already exists"}
0 {"message": "404 Project Not Found"}
0 {"message":"404 Project Not Found"}
0 {
1 "name": "new_library",
2 "state": "conditional",
3 "gates": [
4 {
5 "key": "boolean",
6 "value": false
7 },
8 {
9 "key": "percentage_of_time",
10 "value": 30
11 }
12 ]
13 }
0 {"name":"new_library","state":"conditional","gates":[{"key":"boolean","value":false},{"key":"percentage_of_time","value":30}]}
0 [
1 {
2 "name": "experimental_feature",
3 "state": "off",
4 "gates": [
5 {
6 "key": "boolean",
7 "value": false
8 }
9 ]
10 },
11 {
12 "name": "new_library",
13 "state": "on",
14 "gates": [
15 {
16 "key": "boolean",
17 "value": true
18 }
19 ]
20 }
21 ]
0 [{"name":"experimental_feature","state":"off","gates":[{"key":"boolean","value":false}]},{"name":"new_library","state":"on","gates":[{"key":"boolean","value":true}]}]
0 [
1 {
2 "commit": {
3 "id": "d42409d56517157c48bf3bd97d3f75974dde19fb",
4 "message": "Add feature\n\nalso fix bug\n",
5 "parent_ids": [
6 "cc6e14f9328fa6d7b5a0d3c30dc2002a3f2a3822"
7 ],
8 "authored_date": "2015-12-18T08:12:22.000Z",
9 "author_name": "John Doe",
10 "author_email": "john.doe@example.com",
11 "committed_date": "2015-12-18T08:12:22.000Z",
12 "committer_name": "John Doe",
13 "committer_email": "john.doe@example.com"
14 },
15 "lines": [
16 "require 'fileutils'",
17 "require 'open3'"
18 ]
19 }
20 ]
21
22
0 [{"commit":{"id":"d42409d56517157c48bf3bd97d3f75974dde19fb","message":"Add feature\n\nalso fix bug\n","parent_ids":["cc6e14f9328fa6d7b5a0d3c30dc2002a3f2a3822"],"authored_date":"2015-12-18T08:12:22.000Z","author_name":"John Doe","author_email":"john.doe@example.com","committed_date":"2015-12-18T08:12:22.000Z","committer_name":"John Doe","committer_email":"john.doe@example.com"},"lines":["require 'fileutils'","require 'open3'"]}]
0 {"file_name":"README.md", "file_path":"README.md", "size":"19", "encoding":"base64", "content":"VGhpcyBpcyBhICpSRUFETUUqIQ==\n", "ref":"master", "blob_id":"0eba9dff767611060181e0423a1de2941d27efc8", "commit_id":"eb38397cb6ae669219e6bc18ad19981fff18ea29"}
0 {"file_name":"README.md","file_path":"README.md","size":"19","encoding":"base64","content":"VGhpcyBpcyBhICpSRUFETUUqIQ==\n","ref":"master","blob_id":"0eba9dff767611060181e0423a1de2941d27efc8","commit_id":"eb38397cb6ae669219e6bc18ad19981fff18ea29"}
0 {
1 "name": "Ruby",
2 "content": "*.gem\n*.rbc\n/.config\n/coverage/\n/InstalledFiles\n/pkg/\n/spec/reports/\n/spec/examples.txt\n/test/tmp/\n/test/version_tmp/\n/tmp/\n\n# Used by dotenv library to load environment variables.\n# .env\n\n## Specific to RubyMotion:\n.dat*\n.repl_history\nbuild/\n*.bridgesupport\nbuild-iPhoneOS/\nbuild-iPhoneSimulator/\n\n## Specific to RubyMotion (use of CocoaPods):\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\n# vendor/Pods/\n\n## Documentation cache and generated files:\n/.yardoc/\n/_yardoc/\n/doc/\n/rdoc/\n\n## Environment normalization:\n/.bundle/\n/vendor/bundle\n/lib/bundler/man/\n\n# for a library or gem, you might want to ignore these files since the code is\n# intended to run in multiple environments; otherwise, check them in:\n# Gemfile.lock\n# .ruby-version\n# .ruby-gemset\n\n# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:\n.rvmrc\n"
3 }
0 {"name":"Ruby","content":"*.gem\n*.rbc\n/.config\n/coverage/\n/InstalledFiles\n/pkg/\n/spec/reports/\n/spec/examples.txt\n/test/tmp/\n/test/version_tmp/\n/tmp/\n\n# Used by dotenv library to load environment variables.\n# .env\n\n## Specific to RubyMotion:\n.dat*\n.repl_history\nbuild/\n*.bridgesupport\nbuild-iPhoneOS/\nbuild-iPhoneSimulator/\n\n## Specific to RubyMotion (use of CocoaPods):\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\n# vendor/Pods/\n\n## Documentation cache and generated files:\n/.yardoc/\n/_yardoc/\n/doc/\n/rdoc/\n\n## Environment normalization:\n/.bundle/\n/vendor/bundle\n/lib/bundler/man/\n\n# for a library or gem, you might want to ignore these files since the code is\n# intended to run in multiple environments; otherwise, check them in:\n# Gemfile.lock\n# .ruby-version\n# .ruby-gemset\n\n# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:\n.rvmrc\n"}
0 [
1 {
2 "key": "Actionscript",
3 "name": "Actionscript"
4 },
5 {
6 "key": "Ada",
7 "name": "Ada"
8 },
9 {
10 "key": "Agda",
11 "name": "Agda"
12 },
13 {
14 "key": "Android",
15 "name": "Android"
16 },
17 {
18 "key": "AppEngine",
19 "name": "AppEngine"
20 },
21 {
22 "key": "AppceleratorTitanium",
23 "name": "AppceleratorTitanium"
24 },
25 {
26 "key": "ArchLinuxPackages",
27 "name": "ArchLinuxPackages"
28 },
29 {
30 "key": "Autotools",
31 "name": "Autotools"
32 },
33 {
34 "key": "C",
35 "name": "C"
36 },
37 {
38 "key": "C++",
39 "name": "C++"
40 },
41 {
42 "key": "CFWheels",
43 "name": "CFWheels"
44 },
45 {
46 "key": "CMake",
47 "name": "CMake"
48 },
49 {
50 "key": "CUDA",
51 "name": "CUDA"
52 },
53 {
54 "key": "CakePHP",
55 "name": "CakePHP"
56 },
57 {
58 "key": "ChefCookbook",
59 "name": "ChefCookbook"
60 },
61 {
62 "key": "Clojure",
63 "name": "Clojure"
64 },
65 {
66 "key": "CodeIgniter",
67 "name": "CodeIgniter"
68 },
69 {
70 "key": "CommonLisp",
71 "name": "CommonLisp"
72 },
73 {
74 "key": "Composer",
75 "name": "Composer"
76 },
77 {
78 "key": "Concrete5",
79 "name": "Concrete5"
80 }
81 ]
0 [{"key":"Actionscript","name":"Actionscript"},{"key":"Ada","name":"Ada"},{"key":"Agda","name":"Agda"},{"key":"Android","name":"Android"},{"key":"AppEngine","name":"AppEngine"},{"key":"AppceleratorTitanium","name":"AppceleratorTitanium"},{"key":"ArchLinuxPackages","name":"ArchLinuxPackages"},{"key":"Autotools","name":"Autotools"},{"key":"C","name":"C"},{"key":"C++","name":"C++"},{"key":"CFWheels","name":"CFWheels"},{"key":"CMake","name":"CMake"},{"key":"CUDA","name":"CUDA"},{"key":"CakePHP","name":"CakePHP"},{"key":"ChefCookbook","name":"ChefCookbook"},{"key":"Clojure","name":"Clojure"},{"key":"CodeIgniter","name":"CodeIgniter"},{"key":"CommonLisp","name":"CommonLisp"},{"key":"Composer","name":"Composer"},{"key":"Concrete5","name":"Concrete5"}]
0 {
1 "name": "Ruby",
2 "content": "# This file is a template, and might need editing before it works on your project.\n# Official language image. Look for the different tagged releases at:\n# https://hub.docker.com/r/library/ruby/tags/\nimage: \"ruby:2.3\"\n\n# Pick zero or more services to be used on all builds.\n# Only needed when using a docker container to run your tests in.\n# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service\nservices:\n - mysql:latest\n - redis:latest\n - postgres:latest\n\nvariables:\n POSTGRES_DB: database_name\n\n# Cache gems in between builds\ncache:\n paths:\n - vendor/ruby\n\n# This is a basic example for a gem or script which doesn't use\n# services such as redis or postgres\nbefore_script:\n - ruby -v # Print out ruby version for debugging\n # Uncomment next line if your rails app needs a JS runtime:\n # - apt-get update -q && apt-get install nodejs -yqq\n - gem install bundler --no-ri --no-rdoc # Bundler is not installed with the image\n - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby\n\n# Optional - Delete if not using `rubocop`\nrubocop:\n script:\n - rubocop\n\nrspec:\n script:\n - rspec spec\n\nrails:\n variables:\n DATABASE_URL: \"postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB\"\n script:\n - bundle exec rake db:migrate\n - bundle exec rake db:seed\n - bundle exec rake test\n"
3 }
0 {"name":"Ruby","content":"# This file is a template, and might need editing before it works on your project.\n# Official language image. Look for the different tagged releases at:\n# https://hub.docker.com/r/library/ruby/tags/\nimage: \"ruby:2.3\"\n\n# Pick zero or more services to be used on all builds.\n# Only needed when using a docker container to run your tests in.\n# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service\nservices:\n - mysql:latest\n - redis:latest\n - postgres:latest\n\nvariables:\n POSTGRES_DB: database_name\n\n# Cache gems in between builds\ncache:\n paths:\n - vendor/ruby\n\n# This is a basic example for a gem or script which doesn't use\n# services such as redis or postgres\nbefore_script:\n - ruby -v # Print out ruby version for debugging\n # Uncomment next line if your rails app needs a JS runtime:\n # - apt-get update -q && apt-get install nodejs -yqq\n - gem install bundler --no-ri --no-rdoc # Bundler is not installed with the image\n - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby\n\n# Optional - Delete if not using `rubocop`\nrubocop:\n script:\n - rubocop\n\nrspec:\n script:\n - rspec spec\n\nrails:\n variables:\n DATABASE_URL: \"postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB\"\n script:\n - bundle exec rake db:migrate\n - bundle exec rake db:seed\n - bundle exec rake test\n"}
0 [
1 {
2 "key": "Android",
3 "name": "Android"
4 },
5 {
6 "key": "Auto-DevOps",
7 "name": "Auto-DevOps"
8 },
9 {
10 "key": "Bash",
11 "name": "Bash"
12 },
13 {
14 "key": "C++",
15 "name": "C++"
16 },
17 {
18 "key": "Chef",
19 "name": "Chef"
20 },
21 {
22 "key": "Clojure",
23 "name": "Clojure"
24 },
25 {
26 "key": "Crystal",
27 "name": "Crystal"
28 },
29 {
30 "key": "Django",
31 "name": "Django"
32 },
33 {
34 "key": "Docker",
35 "name": "Docker"
36 },
37 {
38 "key": "Elixir",
39 "name": "Elixir"
40 },
41 {
42 "key": "Go",
43 "name": "Go"
44 },
45 {
46 "key": "Gradle",
47 "name": "Gradle"
48 },
49 {
50 "key": "Grails",
51 "name": "Grails"
52 },
53 {
54 "key": "Julia",
55 "name": "Julia"
56 },
57 {
58 "key": "LaTeX",
59 "name": "LaTeX"
60 },
61 {
62 "key": "Laravel",
63 "name": "Laravel"
64 },
65 {
66 "key": "Maven",
67 "name": "Maven"
68 },
69 {
70 "key": "Mono",
71 "name": "Mono"
72 },
73 {
74 "key": "Nodejs",
75 "name": "Nodejs"
76 },
77 {
78 "key": "OpenShift",
79 "name": "OpenShift"
80 }
81 ]
0 [{"key":"Android","name":"Android"},{"key":"Auto-DevOps","name":"Auto-DevOps"},{"key":"Bash","name":"Bash"},{"key":"C++","name":"C++"},{"key":"Chef","name":"Chef"},{"key":"Clojure","name":"Clojure"},{"key":"Crystal","name":"Crystal"},{"key":"Django","name":"Django"},{"key":"Docker","name":"Docker"},{"key":"Elixir","name":"Elixir"},{"key":"Go","name":"Go"},{"key":"Gradle","name":"Gradle"},{"key":"Grails","name":"Grails"},{"key":"Julia","name":"Julia"},{"key":"LaTeX","name":"LaTeX"},{"key":"Laravel","name":"Laravel"},{"key":"Maven","name":"Maven"},{"key":"Mono","name":"Mono"},{"key":"Nodejs","name":"Nodejs"},{"key":"OpenShift","name":"OpenShift"}]
0 {"id": 10, "name": "GitLab-Group", "path": "gitlab-group", "owner_id": 6, "projects": [
1 {
2 "id": 9,
3 "name": "mojito",
4 "description": null,
5 "default_branch": "master",
6 "owner": {
7 "id": 6,
8 "username": "jose",
9 "email": "jose@abc.com",
10 "name": "Jose Jose",
11 "blocked": false,
12 "created_at": "2013-02-06T06:54:06Z"
13 },
14 "path": "mojito",
15 "path_with_namespace": "gitlab-group/mojito",
16 "issues_enabled": true,
17 "merge_requests_enabled": true,
18 "wall_enabled": true,
19 "wiki_enabled": true,
20 "created_at": "2013-02-06T16:59:15Z",
21 "namespace": {
22 "created_at": "2013-02-06T16:58:22Z",
23 "id": 10,
24 "name": "GitLab-Group",
25 "owner_id": 6,
26 "path": "gitlab-group",
27 "updated_at": "2013-02-06T16:58:22Z"
28 }
29 },
30 {
31 "id": 10,
32 "name": "gitlabhq",
33 "description": null,
34 "default_branch": null,
35 "owner": {
36 "id": 6,
37 "username": "randx",
38 "email": "randx@github.com",
39 "name": "Dmitry Z",
40 "blocked": false,
41 "created_at": "2013-02-06T06:54:06Z"
42 },
43 "path": "gitlabhq",
44 "path_with_namespace": "gitlab-group/gitlabhq",
45 "issues_enabled": true,
46 "merge_requests_enabled": true,
47 "wall_enabled": true,
48 "wiki_enabled": true,
49 "created_at": "2013-02-06T17:02:31Z",
50 "namespace": {
51 "created_at": "2013-02-06T16:58:22Z",
52 "id": 10,
53 "name": "GitLab-Group",
54 "owner_id": 6,
55 "path": "gitlab-group",
56 "updated_at": "2013-02-06T16:58:22Z"
57 }
58 }
59 ]}
0 {"id":10,"name":"GitLab-Group","path":"gitlab-group","owner_id":6,"projects":[{"id":9,"name":"mojito","description":null,"default_branch":"master","owner":{"id":6,"username":"jose","email":"jose@abc.com","name":"Jose Jose","blocked":false,"created_at":"2013-02-06T06:54:06Z"},"path":"mojito","path_with_namespace":"gitlab-group/mojito","issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2013-02-06T16:59:15Z","namespace":{"created_at":"2013-02-06T16:58:22Z","id":10,"name":"GitLab-Group","owner_id":6,"path":"gitlab-group","updated_at":"2013-02-06T16:58:22Z"}},{"id":10,"name":"gitlabhq","description":null,"default_branch":null,"owner":{"id":6,"username":"randx","email":"randx@github.com","name":"Dmitry Z","blocked":false,"created_at":"2013-02-06T06:54:06Z"},"path":"gitlabhq","path_with_namespace":"gitlab-group/gitlabhq","issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2013-02-06T17:02:31Z","namespace":{"created_at":"2013-02-06T16:58:22Z","id":10,"name":"GitLab-Group","owner_id":6,"path":"gitlab-group","updated_at":"2013-02-06T16:58:22Z"}}]}
0 {"cn":"all","group_access":50,"provider":"ldap"}
0 {"cn":"all","group_access":50,"provider":"ldap"}
0 {
1 "id": 1,
2 "name": "group issue board",
3 "group": {
4 "id": 5,
5 "name": "Documentcloud",
6 "path": "documentcloud",
7 "owner_id": null,
8 "created_at": "2018-05-07T06:52:45.788Z",
9 "updated_at": "2018-07-03T06:48:17.005Z",
10 "description": "Consequatur aut a aperiam ut.",
11 "avatar": {
12 "url": null
13 },
14 "membership_lock": false,
15 "share_with_group_lock": false,
16 "visibility_level": 20,
17 "request_access_enabled": false,
18 "ldap_sync_status": "ready",
19 "ldap_sync_error": null,
20 "ldap_sync_last_update_at": null,
21 "ldap_sync_last_successful_update_at": null,
22 "ldap_sync_last_sync_at": null,
23 "lfs_enabled": null,
24 "parent_id": null,
25 "shared_runners_minutes_limit": null,
26 "repository_size_limit": null,
27 "require_two_factor_authentication": false,
28 "two_factor_grace_period": 48,
29 "plan_id": null,
30 "project_creation_level": 2,
31 "runners_token": "rgeeL-nv4wa9YdRvuMid"
32 },
33 "milestone": {
34 "id": 12,
35 "title": "10.0"
36 },
37 "lists" : [
38 {
39 "id" : 1,
40 "label" : {
41 "name" : "Testing",
42 "color" : "#F0AD4E",
43 "description" : null
44 },
45 "position" : 1
46 },
47 {
48 "id" : 2,
49 "label" : {
50 "name" : "Ready",
51 "color" : "#FF0000",
52 "description" : null
53 },
54 "position" : 2
55 },
56 {
57 "id" : 3,
58 "label" : {
59 "name" : "Production",
60 "color" : "#FF5F00",
61 "description" : null
62 },
63 "position" : 3
64 }
65 ]
66 }
0 {"id":1,"name":"group issue board","group":{"id":5,"name":"Documentcloud","path":"documentcloud","owner_id":null,"created_at":"2018-05-07T06:52:45.788Z","updated_at":"2018-07-03T06:48:17.005Z","description":"Consequatur aut a aperiam ut.","avatar":{"url":null},"membership_lock":false,"share_with_group_lock":false,"visibility_level":20,"request_access_enabled":false,"ldap_sync_status":"ready","ldap_sync_error":null,"ldap_sync_last_update_at":null,"ldap_sync_last_successful_update_at":null,"ldap_sync_last_sync_at":null,"lfs_enabled":null,"parent_id":null,"shared_runners_minutes_limit":null,"repository_size_limit":null,"require_two_factor_authentication":false,"two_factor_grace_period":48,"plan_id":null,"project_creation_level":2,"runners_token":"rgeeL-nv4wa9YdRvuMid"},"milestone":{"id":12,"title":"10.0"},"lists":[{"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1},{"id":2,"label":{"name":"Ready","color":"#FF0000","description":null},"position":2},{"id":3,"label":{"name":"Production","color":"#FF5F00","description":null},"position":3}]}
0 {
1 "id" : 1,
2 "label" : {
3 "name" : "Testing",
4 "color" : "#F0AD4E",
5 "description" : null
6 },
7 "position" : 1
8 }
0 {"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1}
0 [
1 {
2 "id" : 1,
3 "label" : {
4 "name" : "Testing",
5 "color" : "#F0AD4E",
6 "description" : null
7 },
8 "position" : 1
9 },
10 {
11 "id" : 2,
12 "label" : {
13 "name" : "Ready",
14 "color" : "#FF0000",
15 "description" : null
16 },
17 "position" : 2
18 },
19 {
20 "id" : 3,
21 "label" : {
22 "name" : "Production",
23 "color" : "#FF5F00",
24 "description" : null
25 },
26 "position" : 3
27 }
28 ]
0 [{"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1},{"id":2,"label":{"name":"Ready","color":"#FF0000","description":null},"position":2},{"id":3,"label":{"name":"Production","color":"#FF5F00","description":null},"position":3}]
0 [
1 {
2 "id": 1,
3 "name": "group issue board",
4 "group": {
5 "id": 5,
6 "name": "Documentcloud",
7 "path": "documentcloud",
8 "owner_id": null,
9 "created_at": "2018-05-07T06:52:45.788Z",
10 "updated_at": "2018-07-03T06:48:17.005Z",
11 "description": "Consequatur aut a aperiam ut.",
12 "avatar": {
13 "url": null
14 },
15 "membership_lock": false,
16 "share_with_group_lock": false,
17 "visibility_level": 20,
18 "request_access_enabled": false,
19 "ldap_sync_status": "ready",
20 "ldap_sync_error": null,
21 "ldap_sync_last_update_at": null,
22 "ldap_sync_last_successful_update_at": null,
23 "ldap_sync_last_sync_at": null,
24 "lfs_enabled": null,
25 "parent_id": null,
26 "shared_runners_minutes_limit": null,
27 "repository_size_limit": null,
28 "require_two_factor_authentication": false,
29 "two_factor_grace_period": 48,
30 "plan_id": null,
31 "project_creation_level": 2,
32 "runners_token": "rgeeL-nv4wa9YdRvuMid"
33 },
34 "milestone": {
35 "id": 12,
36 "title": "10.0"
37 },
38 "lists" : [
39 {
40 "id" : 1,
41 "label" : {
42 "name" : "Testing",
43 "color" : "#F0AD4E",
44 "description" : null
45 },
46 "position" : 1
47 },
48 {
49 "id" : 2,
50 "label" : {
51 "name" : "Ready",
52 "color" : "#FF0000",
53 "description" : null
54 },
55 "position" : 2
56 },
57 {
58 "id" : 3,
59 "label" : {
60 "name" : "Production",
61 "color" : "#FF5F00",
62 "description" : null
63 },
64 "position" : 3
65 }
66 ]
67 }
68 ]
0 [{"id":1,"name":"group issue board","group":{"id":5,"name":"Documentcloud","path":"documentcloud","owner_id":null,"created_at":"2018-05-07T06:52:45.788Z","updated_at":"2018-07-03T06:48:17.005Z","description":"Consequatur aut a aperiam ut.","avatar":{"url":null},"membership_lock":false,"share_with_group_lock":false,"visibility_level":20,"request_access_enabled":false,"ldap_sync_status":"ready","ldap_sync_error":null,"ldap_sync_last_update_at":null,"ldap_sync_last_successful_update_at":null,"ldap_sync_last_sync_at":null,"lfs_enabled":null,"parent_id":null,"shared_runners_minutes_limit":null,"repository_size_limit":null,"require_two_factor_authentication":false,"two_factor_grace_period":48,"plan_id":null,"project_creation_level":2,"runners_token":"rgeeL-nv4wa9YdRvuMid"},"milestone":{"id":12,"title":"10.0"},"lists":[{"id":1,"label":{"name":"Testing","color":"#F0AD4E","description":null},"position":1},{"id":2,"label":{"name":"Ready","color":"#FF0000","description":null},"position":2},{"id":3,"label":{"name":"Production","color":"#FF5F00","description":null},"position":3}]}]
0 {"id":42,"name":"Gitlab-Group","path":"gitlab-group","created_at":"2016-02-24T20:16:42.906Z","updated_at":"2016-02-24T20:16:42.906Z"}
0 {"id":42,"name":"Gitlab-Group","path":"gitlab-group","created_at":"2016-02-24T20:16:42.906Z","updated_at":"2016-02-24T20:16:42.906Z"}
0 {
1 "id": 1,
2 "name": "Foobar Group",
3 "path": "foo-bar",
4 "description": "An interesting group",
5 "visibility": "public",
6 "lfs_enabled": true,
7 "avatar_url": "http://gitlab.example.com/uploads/group/avatar/1/foo.jpg",
8 "web_url": "http://gitlab.example.com/groups/foo-bar",
9 "request_access_enabled": false,
10 "full_name": "Foobar Group",
11 "full_path": "foo-bar",
12 "parent_id": 123
13 }
0 {"id":1,"name":"Foobar Group","path":"foo-bar","description":"An interesting group","visibility":"public","lfs_enabled":true,"avatar_url":"http://gitlab.example.com/uploads/group/avatar/1/foo.jpg","web_url":"http://gitlab.example.com/groups/foo-bar","request_access_enabled":false,"full_name":"Foobar Group","full_path":"foo-bar","parent_id":123}
0 [
1 {
2 "project_id" : 4,
3 "milestone" : {
4 "due_date" : null,
5 "project_id" : 4,
6 "state" : "closed",
7 "description" : "Rerum est voluptatem provident consequuntur molestias similique ipsum dolor.",
8 "iid" : 3,
9 "id" : 11,
10 "title" : "v3.0",
11 "created_at" : "2016-01-04T15:31:39.788Z",
12 "updated_at" : "2016-01-04T15:31:39.788Z"
13 },
14 "author" : {
15 "state" : "active",
16 "web_url" : "https://gitlab.example.com/root",
17 "avatar_url" : null,
18 "username" : "root",
19 "id" : 1,
20 "name" : "Administrator"
21 },
22 "description" : "Omnis vero earum sunt corporis dolor et placeat.",
23 "state" : "closed",
24 "iid" : 1,
25 "assignees" : [{
26 "avatar_url" : null,
27 "web_url" : "https://gitlab.example.com/lennie",
28 "state" : "active",
29 "username" : "lennie",
30 "id" : 9,
31 "name" : "Dr. Luella Kovacek"
32 }],
33 "assignee" : {
34 "avatar_url" : null,
35 "web_url" : "https://gitlab.example.com/lennie",
36 "state" : "active",
37 "username" : "lennie",
38 "id" : 9,
39 "name" : "Dr. Luella Kovacek"
40 },
41 "labels" : [],
42 "id" : 41,
43 "title" : "Ut commodi ullam eos dolores perferendis nihil sunt.",
44 "updated_at" : "2016-01-04T15:31:46.176Z",
45 "created_at" : "2016-01-04T15:31:46.176Z",
46 "closed_at" : null,
47 "user_notes_count": 1,
48 "due_date": null,
49 "web_url": "http://example.com/example/example/issues/1",
50 "time_stats": {
51 "time_estimate": 0,
52 "total_time_spent": 0,
53 "human_time_estimate": null,
54 "human_total_time_spent": null
55 },
56 "confidential": false,
57 "discussion_locked": false
58 },
59 {
60 "project_id" : 4,
61 "milestone" : {
62 "due_date" : null,
63 "project_id" : 4,
64 "state" : "closed",
65 "description" : "Rerum est voluptatem provident consequuntur molestias similique ipsum dolor.",
66 "iid" : 3,
67 "id" : 11,
68 "title" : "v3.0",
69 "created_at" : "2016-01-04T15:31:39.788Z",
70 "updated_at" : "2016-01-04T15:31:39.788Z"
71 },
72 "author" : {
73 "state" : "active",
74 "web_url" : "https://gitlab.example.com/root",
75 "avatar_url" : null,
76 "username" : "root",
77 "id" : 1,
78 "name" : "Administrator"
79 },
80 "description" : "different",
81 "state" : "closed",
82 "iid" : 1,
83 "assignees" : [{
84 "avatar_url" : null,
85 "web_url" : "https://gitlab.example.com/lennie",
86 "state" : "active",
87 "username" : "lennie",
88 "id" : 9,
89 "name" : "Dr. Luella Kovacek"
90 }],
91 "assignee" : {
92 "avatar_url" : null,
93 "web_url" : "https://gitlab.example.com/lennie",
94 "state" : "active",
95 "username" : "lennie",
96 "id" : 9,
97 "name" : "Dr. Luella Kovacek"
98 },
99 "labels" : [],
100 "id" : 41,
101 "title" : "different",
102 "updated_at" : "2016-01-04T15:31:46.176Z",
103 "created_at" : "2016-01-04T15:31:46.176Z",
104 "closed_at" : null,
105 "user_notes_count": 1,
106 "due_date": null,
107 "web_url": "http://example.com/example/example/issues/1",
108 "time_stats": {
109 "time_estimate": 0,
110 "total_time_spent": 0,
111 "human_time_estimate": null,
112 "human_total_time_spent": null
113 },
114 "confidential": false,
115 "discussion_locked": false
116 }
117 ]
0 [{"project_id":4,"milestone":{"due_date":null,"project_id":4,"state":"closed","description":"Rerum est voluptatem provident consequuntur molestias similique ipsum dolor.","iid":3,"id":11,"title":"v3.0","created_at":"2016-01-04T15:31:39.788Z","updated_at":"2016-01-04T15:31:39.788Z"},"author":{"state":"active","web_url":"https://gitlab.example.com/root","avatar_url":null,"username":"root","id":1,"name":"Administrator"},"description":"Omnis vero earum sunt corporis dolor et placeat.","state":"closed","iid":1,"assignees":[{"avatar_url":null,"web_url":"https://gitlab.example.com/lennie","state":"active","username":"lennie","id":9,"name":"Dr. Luella Kovacek"}],"assignee":{"avatar_url":null,"web_url":"https://gitlab.example.com/lennie","state":"active","username":"lennie","id":9,"name":"Dr. Luella Kovacek"},"labels":[],"id":41,"title":"Ut commodi ullam eos dolores perferendis nihil sunt.","updated_at":"2016-01-04T15:31:46.176Z","created_at":"2016-01-04T15:31:46.176Z","closed_at":null,"user_notes_count":1,"due_date":null,"web_url":"http://example.com/example/example/issues/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"confidential":false,"discussion_locked":false},{"project_id":4,"milestone":{"due_date":null,"project_id":4,"state":"closed","description":"Rerum est voluptatem provident consequuntur molestias similique ipsum dolor.","iid":3,"id":11,"title":"v3.0","created_at":"2016-01-04T15:31:39.788Z","updated_at":"2016-01-04T15:31:39.788Z"},"author":{"state":"active","web_url":"https://gitlab.example.com/root","avatar_url":null,"username":"root","id":1,"name":"Administrator"},"description":"different","state":"closed","iid":1,"assignees":[{"avatar_url":null,"web_url":"https://gitlab.example.com/lennie","state":"active","username":"lennie","id":9,"name":"Dr. Luella Kovacek"}],"assignee":{"avatar_url":null,"web_url":"https://gitlab.example.com/lennie","state":"active","username":"lennie","id":9,"name":"Dr. Luella Kovacek"},"labels":[],"id":41,"title":"different","updated_at":"2016-01-04T15:31:46.176Z","created_at":"2016-01-04T15:31:46.176Z","closed_at":null,"user_notes_count":1,"due_date":null,"web_url":"http://example.com/example/example/issues/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"confidential":false,"discussion_locked":false}]
0 {
1 "name": "Backlog",
2 "color": "#DD10AA",
3 "open_issues_count": 72,
4 "closed_issues_count": 72,
5 "open_merge_requests_count": 4,
6 "subscribed": true
7 }
0 {"name":"Backlog","color":"#DD10AA","open_issues_count":72,"closed_issues_count":72,"open_merge_requests_count":4,"subscribed":true}
0 {
1 "name": "Backlog",
2 "color": "#DD10AA",
3 "open_issues_count": 72,
4 "closed_issues_count": 72,
5 "open_merge_requests_count": 4,
6 "subscribed": false
7 }
0 {"name":"Backlog","color":"#DD10AA","open_issues_count":72,"closed_issues_count":72,"open_merge_requests_count":4,"subscribed":false}
0 [
1 {
2 "name": "Backlog",
3 "color": "#DD10AA",
4 "open_issues_count": 72,
5 "closed_issues_count": 72,
6 "open_merge_requests_count": 4,
7 "subscribed": true
8 },
9 {
10 "name": "Documentation",
11 "color": "#1E80DD",
12 "open_issues_count": 42,
13 "closed_issues_count": 42,
14 "open_merge_requests_count": 6,
15 "subscribed": true
16 }
17 ]
0 [{"name":"Backlog","color":"#DD10AA","open_issues_count":72,"closed_issues_count":72,"open_merge_requests_count":4,"subscribed":true},{"name":"Documentation","color":"#1E80DD","open_issues_count":42,"closed_issues_count":42,"open_merge_requests_count":6,"subscribed":true}]
0 [{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}]
0 [{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}]
0 {"id":1,"group_id":3,"title":"3.0","description":"","due_date":"2012-10-22","closed":false,"updated_at":"2012-09-17T10:15:31Z","created_at":"2012-09-17T10:15:31Z"}
0 {"id":1,"group_id":3,"title":"3.0","description":"","due_date":"2012-10-22","closed":false,"updated_at":"2012-09-17T10:15:31Z","created_at":"2012-09-17T10:15:31Z"}
0 [{"id":1,"project_id":3,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":6,"project_id":3,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":12,"project_id":3,"title":"Veniam et tempore quidem eum reprehenderit cupiditate non aut velit eaque.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":21,"project_id":3,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":26,"project_id":3,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":32,"project_id":3,"title":"Deserunt tenetur impedit est beatae voluptas voluptas quaerat quisquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"}]
0 [{"id":1,"project_id":3,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":6,"project_id":3,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":12,"project_id":3,"title":"Veniam et tempore quidem eum reprehenderit cupiditate non aut velit eaque.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":21,"project_id":3,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":26,"project_id":3,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":32,"project_id":3,"title":"Deserunt tenetur impedit est beatae voluptas voluptas quaerat quisquam.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"}]
0 [{"id":1,"iid":1,"project_id":1,"title":"lorem ipsum","description":"","state":"opened","created_at":"2017-03-24T12:23:53.918Z","updated_at":"2017-03-24T12:23:53.918Z","target_branch":"master","source_branch":"def","upvotes":0,"downvotes":0,"author":{"name":"John Doe","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoen"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"aec123d1775790b2347fdd684b5ba613fdeb994b","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/2"},{"id":2,"iid":2,"project_id":1,"title":"ipsum lorem","description":"","state":"opened","created_at":"2017-03-24T12:23:24.662Z","updated_at":"2017-03-24T12:23:33.522Z","target_branch":"master","source_branch":"test1","upvotes":0,"downvotes":0,"author":{"name":"Joren","username":"jdoe","id":1,"state":"active","":"","web_url":"https://gitlab.com/jdoe"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"3ee44c9b40deddae596f838b97523c6f010fd80d","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/1"}]
0 [{"id":1,"iid":1,"project_id":1,"title":"lorem ipsum","description":"","state":"opened","created_at":"2017-03-24T12:23:53.918Z","updated_at":"2017-03-24T12:23:53.918Z","target_branch":"master","source_branch":"def","upvotes":0,"downvotes":0,"author":{"name":"John Doe","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoen"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"aec123d1775790b2347fdd684b5ba613fdeb994b","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/2"},{"id":2,"iid":2,"project_id":1,"title":"ipsum lorem","description":"","state":"opened","created_at":"2017-03-24T12:23:24.662Z","updated_at":"2017-03-24T12:23:33.522Z","target_branch":"master","source_branch":"test1","upvotes":0,"downvotes":0,"author":{"name":"Joren","username":"jdoe","id":1,"state":"active","":"","web_url":"https://gitlab.com/jdoe"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"3ee44c9b40deddae596f838b97523c6f010fd80d","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/1"}]
0 [{"id":1,"group_id":3,"title":"3.0","description":"","due_date":"2012-10-22","closed":false,"updated_at":"2012-09-17T10:15:31Z","created_at":"2012-09-17T10:15:31Z"}]
0 [{"id":1,"group_id":3,"title":"3.0","description":"","due_date":"2012-10-22","closed":false,"updated_at":"2012-09-17T10:15:31Z","created_at":"2012-09-17T10:15:31Z"}]
0 [
1 {
2 "id": 4,
3 "description": null,
4 "default_branch": "master",
5 "public": false,
6 "visibility_level": 0,
7 "ssh_url_to_repo": "git@example.com:diaspora/diaspora-client.git",
8 "http_url_to_repo": "http://example.com/diaspora/diaspora-client.git",
9 "web_url": "http://example.com/diaspora/diaspora-client",
10 "tag_list": [
11 "example",
12 "disapora client"
13 ],
14 "owner": {
15 "id": 3,
16 "name": "Diaspora",
17 "created_at": "2013-09-30T13: 46: 02Z"
18 },
19 "name": "Diaspora Client",
20 "name_with_namespace": "Diaspora / Diaspora Client",
21 "path": "diaspora-client",
22 "path_with_namespace": "diaspora/diaspora-client",
23 "issues_enabled": true,
24 "merge_requests_enabled": true,
25 "builds_enabled": true,
26 "wiki_enabled": true,
27 "snippets_enabled": false,
28 "created_at": "2013-09-30T13: 46: 02Z",
29 "last_activity_at": "2013-09-30T13: 46: 02Z",
30 "creator_id": 3,
31 "namespace": {
32 "created_at": "2013-09-30T13: 46: 02Z",
33 "description": "",
34 "id": 3,
35 "name": "Diaspora",
36 "owner_id": 1,
37 "path": "diaspora",
38 "updated_at": "2013-09-30T13: 46: 02Z"
39 },
40 "archived": false,
41 "avatar_url": "http://example.com/uploads/project/avatar/4/uploads/avatar.png"
42 }
43 ]
0 [{"id":4,"description":null,"default_branch":"master","public":false,"visibility_level":0,"ssh_url_to_repo":"git@example.com:diaspora/diaspora-client.git","http_url_to_repo":"http://example.com/diaspora/diaspora-client.git","web_url":"http://example.com/diaspora/diaspora-client","tag_list":["example","disapora client"],"owner":{"id":3,"name":"Diaspora","created_at":"2013-09-30T13: 46: 02Z"},"name":"Diaspora Client","name_with_namespace":"Diaspora / Diaspora Client","path":"diaspora-client","path_with_namespace":"diaspora/diaspora-client","issues_enabled":true,"merge_requests_enabled":true,"builds_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"created_at":"2013-09-30T13: 46: 02Z","last_activity_at":"2013-09-30T13: 46: 02Z","creator_id":3,"namespace":{"created_at":"2013-09-30T13: 46: 02Z","description":"","id":3,"name":"Diaspora","owner_id":1,"path":"diaspora","updated_at":"2013-09-30T13: 46: 02Z"},"archived":false,"avatar_url":"http://example.com/uploads/project/avatar/4/uploads/avatar.png"}]
0 [{"id": 5,"name": "Five-Group","path": "five-group","owner_id": 2},{"id": 8,"name": "Eight Group","path": "eight-group","owner_id": 6}
1 ]
0 [{"id":5,"name":"Five-Group","path":"five-group","owner_id":2},{"id":8,"name":"Eight Group","path":"eight-group","owner_id":6}]
0 [
1 {
2 "id": 1,
3 "name": "Foobar Group",
4 "path": "foo-bar",
5 "description": "An interesting group",
6 "visibility": "public",
7 "lfs_enabled": true,
8 "avatar_url": "http://gitlab.example.com/uploads/group/avatar/1/foo.jpg",
9 "web_url": "http://gitlab.example.com/groups/foo-bar",
10 "request_access_enabled": false,
11 "full_name": "Foobar Group",
12 "full_path": "foo-bar",
13 "parent_id": 123
14 }
15 ]
0 [{"id":1,"name":"Foobar Group","path":"foo-bar","description":"An interesting group","visibility":"public","lfs_enabled":true,"avatar_url":"http://gitlab.example.com/uploads/group/avatar/1/foo.jpg","web_url":"http://gitlab.example.com/groups/foo-bar","request_access_enabled":false,"full_name":"Foobar Group","full_path":"foo-bar","parent_id":123}]
0 [{"id": 3,"name": "ThreeGroup","path": "threegroup","owner_id": 1},{"id": 5,"name": "Five-Group","path": "five-group","owner_id": 2},{"id": 8,"name": "Eight Group","path": "eight-group","owner_id": 6}
1 ]
0 [{"id":3,"name":"ThreeGroup","path":"threegroup","owner_id":1},{"id":5,"name":"Five-Group","path":"five-group","owner_id":2},{"id":8,"name":"Eight Group","path":"eight-group","owner_id":6}]
0 {
1 "status": "invalid",
2 "errors": [
3 "variables config should be a hash of key value pairs"
4 ]
5 }
0 {"status":"invalid","errors":["variables config should be a hash of key value pairs"]}
0 {
1 "id": 4,
2 "name": "blowfish",
3 "user": {
4 "name": "Administrator",
5 "username": "root",
6 "id": 1,
7 "state": "active",
8 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
9 "web_url": "http://gitlab.example.com/root"
10 },
11 "created_at": "2016-06-15T10:09:34.206Z",
12 "updated_at": "2016-06-15T10:09:34.206Z",
13 "awardable_id": 80,
14 "awardable_type": "Issue"
15 }
0 {"id":4,"name":"blowfish","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2016-06-15T10:09:34.206Z","updated_at":"2016-06-15T10:09:34.206Z","awardable_id":80,"awardable_type":"Issue"}
0 [
1 {
2 "id": 4,
3 "name": "1234",
4 "user": {
5 "name": "Administrator",
6 "username": "root",
7 "id": 1,
8 "state": "active",
9 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
10 "web_url": "http://gitlab.example.com/root"
11 },
12 "created_at": "2016-06-15T10:09:34.206Z",
13 "updated_at": "2016-06-15T10:09:34.206Z",
14 "awardable_id": 80,
15 "awardable_type": "Issue"
16 },
17 {
18 "id": 1,
19 "name": "microphone",
20 "user": {
21 "name": "User 4",
22 "username": "user4",
23 "id": 26,
24 "state": "active",
25 "avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
26 "web_url": "http://gitlab.example.com/user4"
27 },
28 "created_at": "2016-06-15T10:09:34.177Z",
29 "updated_at": "2016-06-15T10:09:34.177Z",
30 "awardable_id": 80,
31 "awardable_type": "Issue"
32 }
33 ]
0 [{"id":4,"name":"1234","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2016-06-15T10:09:34.206Z","updated_at":"2016-06-15T10:09:34.206Z","awardable_id":80,"awardable_type":"Issue"},{"id":1,"name":"microphone","user":{"name":"User 4","username":"user4","id":26,"state":"active","avatar_url":"http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon","web_url":"http://gitlab.example.com/user4"},"created_at":"2016-06-15T10:09:34.177Z","updated_at":"2016-06-15T10:09:34.177Z","awardable_id":80,"awardable_type":"Issue"}]
0 {
1 "commit": {
2 "author_email": "admin@example.com",
3 "author_name": "Administrator",
4 "created_at": "2015-12-24T16:51:14.000+01:00",
5 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
6 "message": "Test the CI integration.",
7 "short_id": "0ff3ae19",
8 "title": "Test the CI integration."
9 },
10 "coverage": null,
11 "created_at": "2015-12-24T15:51:21.880Z",
12 "artifacts_file": null,
13 "finished_at": "2015-12-24T17:54:31.198Z",
14 "id": 8,
15 "name": "rubocop",
16 "pipeline": {
17 "id": 6,
18 "ref": "master",
19 "sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
20 "status": "pending"
21 },
22 "ref": "master",
23 "runner": null,
24 "stage": "test",
25 "started_at": "2015-12-24T17:54:30.733Z",
26 "status": "failed",
27 "tag": false,
28 "user": {
29 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
30 "bio": null,
31 "created_at": "2015-12-21T13:14:24.077Z",
32 "id": 1,
33 "linkedin": "",
34 "name": "Administrator",
35 "skype": "",
36 "state": "active",
37 "twitter": "",
38 "username": "root",
39 "web_url": "http://gitlab.dev/root",
40 "website_url": ""
41 }
42 }
0 {"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.880Z","artifacts_file":null,"finished_at":"2015-12-24T17:54:31.198Z","id":8,"name":"rubocop","pipeline":{"id":6,"ref":"master","sha":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","status":"pending"},"ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:30.733Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/root","website_url":""}}
0 [
1 {
2 "commit": {
3 "author_email": "admin@example.com",
4 "author_name": "Administrator",
5 "created_at": "2015-12-24T16:51:14.000+01:00",
6 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
7 "message": "Test the CI integration.",
8 "short_id": "0ff3ae19",
9 "title": "Test the CI integration."
10 },
11 "coverage": null,
12 "created_at": "2015-12-24T15:51:21.802Z",
13 "artifacts_file": {
14 "filename": "artifacts.zip",
15 "size": 1000
16 },
17 "finished_at": "2015-12-24T17:54:27.895Z",
18 "id": 7,
19 "name": "teaspoon",
20 "pipeline": {
21 "id": 6,
22 "ref": "master",
23 "sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
24 "status": "pending"
25 },
26 "ref": "master",
27 "runner": null,
28 "stage": "test",
29 "started_at": "2015-12-24T17:54:27.722Z",
30 "status": "failed",
31 "tag": false,
32 "user": {
33 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
34 "bio": null,
35 "created_at": "2015-12-21T13:14:24.077Z",
36 "id": 1,
37 "linkedin": "",
38 "name": "Administrator",
39 "skype": "",
40 "state": "active",
41 "twitter": "",
42 "username": "root",
43 "web_url": "http://gitlab.dev/root",
44 "website_url": ""
45 }
46 },
47 {
48 "commit": {
49 "author_email": "admin@example.com",
50 "author_name": "Administrator",
51 "created_at": "2015-12-24T16:51:14.000+01:00",
52 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
53 "message": "Test the CI integration.",
54 "short_id": "0ff3ae19",
55 "title": "Test the CI integration."
56 },
57 "coverage": null,
58 "created_at": "2015-12-24T15:51:21.727Z",
59 "artifacts_file": null,
60 "finished_at": "2015-12-24T17:54:24.921Z",
61 "id": 6,
62 "name": "spinach:other",
63 "pipeline": {
64 "id": 6,
65 "ref": "master",
66 "sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
67 "status": "pending"
68 },
69 "ref": "master",
70 "runner": null,
71 "stage": "test",
72 "started_at": "2015-12-24T17:54:24.729Z",
73 "status": "failed",
74 "tag": false,
75 "user": {
76 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
77 "bio": null,
78 "created_at": "2015-12-21T13:14:24.077Z",
79 "id": 1,
80 "linkedin": "",
81 "name": "Administrator",
82 "skype": "",
83 "state": "active",
84 "twitter": "",
85 "username": "root",
86 "web_url": "http://gitlab.dev/root",
87 "website_url": ""
88 }
89 }
90 ]
0 [{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.802Z","artifacts_file":{"filename":"artifacts.zip","size":1000},"finished_at":"2015-12-24T17:54:27.895Z","id":7,"name":"teaspoon","pipeline":{"id":6,"ref":"master","sha":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","status":"pending"},"ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:27.722Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/root","website_url":""}},{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.727Z","artifacts_file":null,"finished_at":"2015-12-24T17:54:24.921Z","id":6,"name":"spinach:other","pipeline":{"id":6,"ref":"master","sha":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","status":"pending"},"ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:24.729Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/root","website_url":""}}]
0 {"id":1,"title":"narkoz@helium","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkUsh42Nh1yefGd1jbSELn5XsY8p5Oxmau0/1HqHnjuYOaj5X+kHccFDwtmtg9Ox8ua/+WptNsiE8IUwsD3zKgEjajgwq3gMeeFdxfXwM+tEvHOOMV9meRrgRWGYCToPbT6sR7/YMAYa7cPqWSpx/oZhYfz4XtoMv3ZZT1fZMmx3MY3HwXwW8j+obJyN2K4LN0TFi9RPgWWYn0DCyb9OccmABimt3i74WoJ/OT8r6/7swce8+OSe0Q2wBhyTtvxg2vtUcoek8Af+EZaUMBwSEzEsocOCzwQvjF5XUk5o7dJ8nP8W3RE60JWX57t16eQm7lBmumLYfszpn2isd6W7a1 narkoz@helium"}
0 {"id":1,"title":"narkoz@helium","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkUsh42Nh1yefGd1jbSELn5XsY8p5Oxmau0/1HqHnjuYOaj5X+kHccFDwtmtg9Ox8ua/+WptNsiE8IUwsD3zKgEjajgwq3gMeeFdxfXwM+tEvHOOMV9meRrgRWGYCToPbT6sR7/YMAYa7cPqWSpx/oZhYfz4XtoMv3ZZT1fZMmx3MY3HwXwW8j+obJyN2K4LN0TFi9RPgWWYn0DCyb9OccmABimt3i74WoJ/OT8r6/7swce8+OSe0Q2wBhyTtvxg2vtUcoek8Af+EZaUMBwSEzEsocOCzwQvjF5XUk5o7dJ8nP8W3RE60JWX57t16eQm7lBmumLYfszpn2isd6W7a1 narkoz@helium"}
0 [{"id":1,"title":"narkoz@helium","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkUsh42Nh1yefGd1jbSELn5XsY8p5Oxmau0/1HqHnjuYOaj5X+kHccFDwtmtg9Ox8ua/+WptNsiE8IUwsD3zKgEjajgwq3gMeeFdxfXwM+tEvHOOMV9meRrgRWGYCToPbT6sR7/YMAYa7cPqWSpx/oZhYfz4XtoMv3ZZT1fZMmx3MY3HwXwW8j+obJyN2K4LN0TFi9RPgWWYn0DCyb9OccmABimt3i74WoJ/OT8r6/7swce8+OSe0Q2wBhyTtvxg2vtUcoek8Af+EZaUMBwSEzEsocOCzwQvjF5XUk5o7dJ8nP8W3RE60JWX57t16eQm7lBmumLYfszpn2isd6W7a1 narkoz@helium"}]
0 [{"id":1,"title":"narkoz@helium","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkUsh42Nh1yefGd1jbSELn5XsY8p5Oxmau0/1HqHnjuYOaj5X+kHccFDwtmtg9Ox8ua/+WptNsiE8IUwsD3zKgEjajgwq3gMeeFdxfXwM+tEvHOOMV9meRrgRWGYCToPbT6sR7/YMAYa7cPqWSpx/oZhYfz4XtoMv3ZZT1fZMmx3MY3HwXwW8j+obJyN2K4LN0TFi9RPgWWYn0DCyb9OccmABimt3i74WoJ/OT8r6/7swce8+OSe0Q2wBhyTtvxg2vtUcoek8Af+EZaUMBwSEzEsocOCzwQvjF5XUk5o7dJ8nP8W3RE60JWX57t16eQm7lBmumLYfszpn2isd6W7a1 narkoz@helium"}]
0 {"name": "Backlog", "color": "#DD10AA", "subscribed": true}
0 {"name":"Backlog","color":"#DD10AA","subscribed":true}
0 {"name": "Backlog", "color": "#DD10AA", "subscribed": false}
0 {"name":"Backlog","color":"#DD10AA","subscribed":false}
0 [{"name": "Backlog", "color": "#DD10AA"},{"name": "Documentation", "color": "#1E80DD"}]
0 [{"name":"Backlog","color":"#DD10AA"},{"name":"Documentation","color":"#1E80DD"}]
0 {
1 "key": "mit",
2 "name": "MIT License",
3 "nickname": null,
4 "popular": true,
5 "html_url": "http://choosealicense.com/licenses/mit/",
6 "source_url": "https://opensource.org/licenses/MIT",
7 "description": "A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.",
8 "conditions": [
9 "include-copyright"
10 ],
11 "permissions": [
12 "commercial-use",
13 "modifications",
14 "distribution",
15 "private-use"
16 ],
17 "limitations": [
18 "liability",
19 "warranty"
20 ],
21 "content": "MIT License\n\nCopyright (c) 2018 [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
22 }
0 {"key":"mit","name":"MIT License","nickname":null,"popular":true,"html_url":"http://choosealicense.com/licenses/mit/","source_url":"https://opensource.org/licenses/MIT","description":"A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.","conditions":["include-copyright"],"permissions":["commercial-use","modifications","distribution","private-use"],"limitations":["liability","warranty"],"content":"MIT License\n\nCopyright (c) 2018 [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"}
0 {
1 "key": "mit",
2 "name": "MIT License",
3 "nickname": null,
4 "featured": true,
5 "html_url": "http://choosealicense.com/licenses/mit/",
6 "source_url": "http://opensource.org/licenses/MIT",
7 "description": "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.",
8 "conditions": [
9 "include-copyright"
10 ],
11 "permissions": [
12 "commercial-use",
13 "modifications",
14 "distribution",
15 "private-use"
16 ],
17 "limitations": [
18 "no-liability"
19 ],
20 "content": "The MIT License (MIT)\n\nCopyright (c) 2016 John Doe\n [...]"
21 }
0 {"key":"mit","name":"MIT License","nickname":null,"featured":true,"html_url":"http://choosealicense.com/licenses/mit/","source_url":"http://opensource.org/licenses/MIT","description":"A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.","conditions":["include-copyright"],"permissions":["commercial-use","modifications","distribution","private-use"],"limitations":["no-liability"],"content":"The MIT License (MIT)\n\nCopyright (c) 2016 John Doe\n [...]"}
0 [
1 {
2 "key": "apache-2.0",
3 "name": "Apache License 2.0",
4 "nickname": null,
5 "featured": true,
6 "html_url": "http://choosealicense.com/licenses/apache-2.0/",
7 "source_url": "http://www.apache.org/licenses/LICENSE-2.0.html",
8 "description": "A permissive license that also provides an express grant of patent rights from contributors to users.",
9 "conditions": [
10 "include-copyright",
11 "document-changes"
12 ],
13 "permissions": [
14 "commercial-use",
15 "modifications",
16 "distribution",
17 "patent-use",
18 "private-use"
19 ],
20 "limitations": [
21 "trademark-use",
22 "no-liability"
23 ],
24 "content": " Apache License\n Version 2.0, January 2004\n [...]"
25 },
26 {
27 "key": "gpl-3.0",
28 "name": "GNU General Public License v3.0",
29 "nickname": "GNU GPLv3",
30 "featured": true,
31 "html_url": "http://choosealicense.com/licenses/gpl-3.0/",
32 "source_url": "http://www.gnu.org/licenses/gpl-3.0.txt",
33 "description": "The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license.",
34 "conditions": [
35 "include-copyright",
36 "document-changes",
37 "disclose-source",
38 "same-license"
39 ],
40 "permissions": [
41 "commercial-use",
42 "modifications",
43 "distribution",
44 "patent-use",
45 "private-use"
46 ],
47 "limitations": [
48 "no-liability"
49 ],
50 "content": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n [...]"
51 },
52 {
53 "key": "mit",
54 "name": "MIT License",
55 "nickname": null,
56 "featured": true,
57 "html_url": "http://choosealicense.com/licenses/mit/",
58 "source_url": "http://opensource.org/licenses/MIT",
59 "description": "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.",
60 "conditions": [
61 "include-copyright"
62 ],
63 "permissions": [
64 "commercial-use",
65 "modifications",
66 "distribution",
67 "private-use"
68 ],
69 "limitations": [
70 "no-liability"
71 ],
72 "content": "The MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n [...]"
73 }
74 ]
0 [{"key":"apache-2.0","name":"Apache License 2.0","nickname":null,"featured":true,"html_url":"http://choosealicense.com/licenses/apache-2.0/","source_url":"http://www.apache.org/licenses/LICENSE-2.0.html","description":"A permissive license that also provides an express grant of patent rights from contributors to users.","conditions":["include-copyright","document-changes"],"permissions":["commercial-use","modifications","distribution","patent-use","private-use"],"limitations":["trademark-use","no-liability"],"content":" Apache License\n Version 2.0, January 2004\n [...]"},{"key":"gpl-3.0","name":"GNU General Public License v3.0","nickname":"GNU GPLv3","featured":true,"html_url":"http://choosealicense.com/licenses/gpl-3.0/","source_url":"http://www.gnu.org/licenses/gpl-3.0.txt","description":"The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license.","conditions":["include-copyright","document-changes","disclose-source","same-license"],"permissions":["commercial-use","modifications","distribution","patent-use","private-use"],"limitations":["no-liability"],"content":" GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n [...]"},{"key":"mit","name":"MIT License","nickname":null,"featured":true,"html_url":"http://choosealicense.com/licenses/mit/","source_url":"http://opensource.org/licenses/MIT","description":"A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.","conditions":["include-copyright"],"permissions":["commercial-use","modifications","distribution","private-use"],"limitations":["no-liability"],"content":"The MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n [...]"}]
0 { "html": "<p dir=\"auto\">Hello world! <gl-emoji title=\"party popper\" data-name=\"tada\" data-unicode-version=\"6.0\">🎉</gl-emoji></p>" }
0 {"html":"<p dir=\"auto\">Hello world! <gl-emoji title=\"party popper\" data-name=\"tada\" data-unicode-version=\"6.0\">🎉</gl-emoji></p>"}
0 {
1 "id": "1a0b36b3cdad1d2ee32457c102a8c0b7056fa863",
2 "short_id": "1a0b36b3",
3 "title": "Initial commit",
4 "created_at": "2014-02-27T08:03:18.000Z",
5 "parent_ids": [],
6 "message": "Initial commit\n",
7 "author_name": "Dmitriy Zaporozhets",
8 "author_email": "dmitriy.zaporozhets@gmail.com",
9 "authored_date": "2014-02-27T08:03:18.000Z",
10 "committer_name": "Dmitriy Zaporozhets",
11 "committer_email": "dmitriy.zaporozhets@gmail.com",
12 "committed_date": "2014-02-27T08:03:18.000Z"
13 }
0 {"id":"1a0b36b3cdad1d2ee32457c102a8c0b7056fa863","short_id":"1a0b36b3","title":"Initial commit","created_at":"2014-02-27T08:03:18.000Z","parent_ids":[],"message":"Initial commit\n","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","authored_date":"2014-02-27T08:03:18.000Z","committer_name":"Dmitriy Zaporozhets","committer_email":"dmitriy.zaporozhets@gmail.com","committed_date":"2014-02-27T08:03:18.000Z"}
0 {"id":1,"iid":1,"project_id":3,"title":"Approvals API","description":"Test","state":"opened","created_at":"2016-06-08T00:19:52.638Z","updated_at":"2016-06-08T21:20:42.470Z","merge_status":"cannot_be_merged","approvals_required":2,"approvals_left":2,"approved_by":[],"approvers":[{"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"}}],"approver_groups":[{"group":{"id":5,"name":"group1","path":"group1","description":"","visibility":"public","lfs_enabled":false,"avatar_url":null,"web_url":"http://localhost/groups/group1","request_access_enabled":false,"full_name":"group1","full_path":"group1","parent_id":null,"ldap_cn":null,"ldap_access":null}}]}
0 {
1 "id": 5,
2 "iid": 5,
3 "project_id": 1,
4 "title": "Approvals API",
5 "description": "Test",
6 "state": "opened",
7 "created_at": "2016-06-08T00:19:52.638Z",
8 "updated_at": "2016-06-08T21:20:42.470Z",
9 "merge_status": "can_be_merged",
10 "approvals_required": 2,
11 "approvals_missing": 2,
12 "approved_by": [],
13 "approvers": [
14 {
15 "user": {
16 "name": "Administrator",
17 "username": "root",
18 "id": 1,
19 "state": "active",
20 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon",
21 "web_url": "http://localhost:3000/u/root"
22 }
23 }
24 ],
25 "approver_groups": [
26 {
27 "group": {
28 "id": 5,
29 "name": "group1",
30 "path": "group1",
31 "description": "",
32 "visibility": "public",
33 "lfs_enabled": false,
34 "avatar_url": null,
35 "web_url": "http://localhost/groups/group1",
36 "request_access_enabled": false,
37 "full_name": "group1",
38 "full_path": "group1",
39 "parent_id": null,
40 "ldap_cn": null,
41 "ldap_access": null
42 }
43 }
44 ]
45 }
0 {"id":5,"iid":5,"project_id":1,"title":"Approvals API","description":"Test","state":"opened","created_at":"2016-06-08T00:19:52.638Z","updated_at":"2016-06-08T21:20:42.470Z","merge_status":"can_be_merged","approvals_required":2,"approvals_missing":2,"approved_by":[],"approvers":[{"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/u/root"}}],"approver_groups":[{"group":{"id":5,"name":"group1","path":"group1","description":"","visibility":"public","lfs_enabled":false,"avatar_url":null,"web_url":"http://localhost/groups/group1","request_access_enabled":false,"full_name":"group1","full_path":"group1","parent_id":null,"ldap_cn":null,"ldap_access":null}}]}
0 {
1 "id": 4,
2 "name": "blowfish",
3 "user": {
4 "name": "Administrator",
5 "username": "root",
6 "id": 1,
7 "state": "active",
8 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
9 "web_url": "http://gitlab.example.com/root"
10 },
11 "created_at": "2016-06-15T10:09:34.206Z",
12 "updated_at": "2016-06-15T10:09:34.206Z",
13 "awardable_id": 80,
14 "awardable_type": "MergeRequest"
15 }
0 {"id":4,"name":"blowfish","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2016-06-15T10:09:34.206Z","updated_at":"2016-06-15T10:09:34.206Z","awardable_id":80,"awardable_type":"MergeRequest"}
0 [
1 {
2 "id": 4,
3 "name": "1234",
4 "user": {
5 "name": "Administrator",
6 "username": "root",
7 "id": 1,
8 "state": "active",
9 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
10 "web_url": "http://gitlab.example.com/root"
11 },
12 "created_at": "2016-06-15T10:09:34.206Z",
13 "updated_at": "2016-06-15T10:09:34.206Z",
14 "awardable_id": 80,
15 "awardable_type": "MergeRequest"
16 },
17 {
18 "id": 1,
19 "name": "microphone",
20 "user": {
21 "name": "User 4",
22 "username": "user4",
23 "id": 26,
24 "state": "active",
25 "avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
26 "web_url": "http://gitlab.example.com/user4"
27 },
28 "created_at": "2016-06-15T10:09:34.177Z",
29 "updated_at": "2016-06-15T10:09:34.177Z",
30 "awardable_id": 80,
31 "awardable_type": "MergeRequest"
32 }
33 ]
0 [{"id":4,"name":"1234","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2016-06-15T10:09:34.206Z","updated_at":"2016-06-15T10:09:34.206Z","awardable_id":80,"awardable_type":"MergeRequest"},{"id":1,"name":"microphone","user":{"name":"User 4","username":"user4","id":26,"state":"active","avatar_url":"http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon","web_url":"http://gitlab.example.com/user4"},"created_at":"2016-06-15T10:09:34.177Z","updated_at":"2016-06-15T10:09:34.177Z","awardable_id":80,"awardable_type":"MergeRequest"}]
0 {"id":2,"iid":5,"project_id":3,"title":"Uncovered","description":"","state":"opened","created_at":"2015-03-15T23:15:13.292+01:00","updated_at":"2015-03-15T23:15:14.132+01:00","target_branch":"master","source_branch":"uncovered","upvotes":0,"downvotes":0,"author":{"name":"Dominik Sander","username":"dsander","id":1,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/7f01734389dd6730d076ddee04838bd3?s=40\u0026d=identicon"},"assignee":null,"source_project_id":6,"target_project_id":6,"labels":[],"milestone":null,"changes":[{"old_path":"lib/omniauth/builder.rb","new_path":"lib/omniauth/builder.rb","a_mode":"100644","b_mode":"100644","diff":"--- a/lib/omniauth/builder.rb\n+++ b/lib/omniauth/builder.rb\n@@ -7,11 +7,13 @@ module OmniAuth\n else\n @app = app\n super(\u0026block)\n+ two = 1 # woah! uncovered\n @ins \u003c\u003c @app\n end\n end\n \n def rack14?\n+ one = 2 # thats oke!\n Rack.release.split('.')[1].to_i \u003e= 4\n end\n ","new_file":false,"renamed_file":false,"deleted_file":false}]}
0 {"id":2,"iid":5,"project_id":3,"title":"Uncovered","description":"","state":"opened","created_at":"2015-03-15T23:15:13.292+01:00","updated_at":"2015-03-15T23:15:14.132+01:00","target_branch":"master","source_branch":"uncovered","upvotes":0,"downvotes":0,"author":{"name":"Dominik Sander","username":"dsander","id":1,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/7f01734389dd6730d076ddee04838bd3?s=40&d=identicon"},"assignee":null,"source_project_id":6,"target_project_id":6,"labels":[],"milestone":null,"changes":[{"old_path":"lib/omniauth/builder.rb","new_path":"lib/omniauth/builder.rb","a_mode":"100644","b_mode":"100644","diff":"--- a/lib/omniauth/builder.rb\n+++ b/lib/omniauth/builder.rb\n@@ -7,11 +7,13 @@ module OmniAuth\n else\n @app = app\n super(&block)\n+ two = 1 # woah! uncovered\n @ins << @app\n end\n end\n \n def rack14?\n+ one = 2 # thats oke!\n Rack.release.split('.')[1].to_i >= 4\n end\n ","new_file":false,"renamed_file":false,"deleted_file":false}]}
0 [{"id":1,"iid":1,"project_id":5,"title":"Merge request 1 issue 1","description":"","state":"opened","created_at":"2017-04-06T08:03:36.163Z","updated_at":"2017-04-06T08:03:57.087Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/1"},{"id":2,"iid":2,"project_id":5,"title":"Merge request 1 issue 2","description":"","state":"opened","created_at":"2017-04-06T08:03:44.023Z","updated_at":"2017-04-06T08:03:44.023Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":426047,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/2"}]
0 [{"id":1,"iid":1,"project_id":5,"title":"Merge request 1 issue 1","description":"","state":"opened","created_at":"2017-04-06T08:03:36.163Z","updated_at":"2017-04-06T08:03:57.087Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/1"},{"id":2,"iid":2,"project_id":5,"title":"Merge request 1 issue 2","description":"","state":"opened","created_at":"2017-04-06T08:03:44.023Z","updated_at":"2017-04-06T08:03:44.023Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":426047,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/2"}]
0 [{"note":"this is the 1st comment on the 2merge merge request","author":{"id":11,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}},{"note":"another discussion point on the 2merge request","author":{"id":12,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}}]
0 [{"note":"this is the 1st comment on the 2merge merge request","author":{"id":11,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}},{"note":"another discussion point on the 2merge request","author":{"id":12,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}}]
0 [{"id":"a2da7552f26d5b46a6a09bb8b7b066e3a102be7d","short_id":"a2da7552","title": "piyo","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T18:02:31.000+09:00","message":"fuga"},{"id":"3ce509590f37dbce5b877c3e1c78bd3903493170","short_id":"3ce50959","title":"hoge","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T17:53:46.000+09:00","message":"Hoge"}]
0 [{"id":"a2da7552f26d5b46a6a09bb8b7b066e3a102be7d","short_id":"a2da7552","title":"piyo","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T18:02:31.000+09:00","message":"fuga"},{"id":"3ce509590f37dbce5b877c3e1c78bd3903493170","short_id":"3ce50959","title":"hoge","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T17:53:46.000+09:00","message":"Hoge"}]
0 {
1 "id": 110,
2 "head_commit_sha": "33e2ee8579fda5bc36accc9c6fbd0b4fefda9e30",
3 "base_commit_sha": "eeb57dffe83deb686a60a71c16c32f71046868fd",
4 "start_commit_sha": "eeb57dffe83deb686a60a71c16c32f71046868fd",
5 "created_at": "2016-07-26T14:44:48.926Z",
6 "merge_request_id": 105,
7 "state": "collected",
8 "real_size": "1",
9 "commits": [{
10 "id": "33e2ee8579fda5bc36accc9c6fbd0b4fefda9e30",
11 "short_id": "33e2ee85",
12 "title": "Change year to 2018",
13 "author_name": "Administrator",
14 "author_email": "admin@example.com",
15 "created_at": "2016-07-26T17:44:29.000+03:00",
16 "message": "Change year to 2018"
17 }, {
18 "id": "aa24655de48b36335556ac8a3cd8bb521f977cbd",
19 "short_id": "aa24655d",
20 "title": "Update LICENSE",
21 "author_name": "Administrator",
22 "author_email": "admin@example.com",
23 "created_at": "2016-07-25T17:21:53.000+03:00",
24 "message": "Update LICENSE"
25 }, {
26 "id": "3eed087b29835c48015768f839d76e5ea8f07a24",
27 "short_id": "3eed087b",
28 "title": "Add license",
29 "author_name": "Administrator",
30 "author_email": "admin@example.com",
31 "created_at": "2016-07-25T17:21:20.000+03:00",
32 "message": "Add license"
33 }],
34 "diffs": [{
35 "old_path": "LICENSE",
36 "new_path": "LICENSE",
37 "a_mode": "0",
38 "b_mode": "100644",
39 "diff": "--- /dev/null\n+++ b/LICENSE\n@@ -0,0 +1,21 @@\n+The MIT License (MIT)\n+\n+Copyright (c) 2018 Administrator\n+\n+Permission is hereby granted, free of charge, to any person obtaining a copy\n+of this software and associated documentation files (the \"Software\"), to deal\n+in the Software without restriction, including without limitation the rights\n+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+copies of the Software, and to permit persons to whom the Software is\n+furnished to do so, subject to the following conditions:\n+\n+The above copyright notice and this permission notice shall be included in all\n+copies or substantial portions of the Software.\n+\n+THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+SOFTWARE.\n",
40 "new_file": true,
41 "renamed_file": false,
42 "deleted_file": false
43 }]
44 }
0 {"id":110,"head_commit_sha":"33e2ee8579fda5bc36accc9c6fbd0b4fefda9e30","base_commit_sha":"eeb57dffe83deb686a60a71c16c32f71046868fd","start_commit_sha":"eeb57dffe83deb686a60a71c16c32f71046868fd","created_at":"2016-07-26T14:44:48.926Z","merge_request_id":105,"state":"collected","real_size":"1","commits":[{"id":"33e2ee8579fda5bc36accc9c6fbd0b4fefda9e30","short_id":"33e2ee85","title":"Change year to 2018","author_name":"Administrator","author_email":"admin@example.com","created_at":"2016-07-26T17:44:29.000+03:00","message":"Change year to 2018"},{"id":"aa24655de48b36335556ac8a3cd8bb521f977cbd","short_id":"aa24655d","title":"Update LICENSE","author_name":"Administrator","author_email":"admin@example.com","created_at":"2016-07-25T17:21:53.000+03:00","message":"Update LICENSE"},{"id":"3eed087b29835c48015768f839d76e5ea8f07a24","short_id":"3eed087b","title":"Add license","author_name":"Administrator","author_email":"admin@example.com","created_at":"2016-07-25T17:21:20.000+03:00","message":"Add license"}],"diffs":[{"old_path":"LICENSE","new_path":"LICENSE","a_mode":"0","b_mode":"100644","diff":"--- /dev/null\n+++ b/LICENSE\n@@ -0,0 +1,21 @@\n+The MIT License (MIT)\n+\n+Copyright (c) 2018 Administrator\n+\n+Permission is hereby granted, free of charge, to any person obtaining a copy\n+of this software and associated documentation files (the \"Software\"), to deal\n+in the Software without restriction, including without limitation the rights\n+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+copies of the Software, and to permit persons to whom the Software is\n+furnished to do so, subject to the following conditions:\n+\n+The above copyright notice and this permission notice shall be included in all\n+copies or substantial portions of the Software.\n+\n+THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+SOFTWARE.\n","new_file":true,"renamed_file":false,"deleted_file":false}]}
0 [{
1 "id": 110,
2 "head_commit_sha": "33e2ee8579fda5bc36accc9c6fbd0b4fefda9e30",
3 "base_commit_sha": "eeb57dffe83deb686a60a71c16c32f71046868fd",
4 "start_commit_sha": "eeb57dffe83deb686a60a71c16c32f71046868fd",
5 "created_at": "2016-07-26T14:44:48.926Z",
6 "merge_request_id": 105,
7 "state": "collected",
8 "real_size": "1"
9 }, {
10 "id": 108,
11 "head_commit_sha": "3eed087b29835c48015768f839d76e5ea8f07a24",
12 "base_commit_sha": "eeb57dffe83deb686a60a71c16c32f71046868fd",
13 "start_commit_sha": "eeb57dffe83deb686a60a71c16c32f71046868fd",
14 "created_at": "2016-07-25T14:21:33.028Z",
15 "merge_request_id": 105,
16 "state": "collected",
17 "real_size": "1"
18 }]
0 [{"id":110,"head_commit_sha":"33e2ee8579fda5bc36accc9c6fbd0b4fefda9e30","base_commit_sha":"eeb57dffe83deb686a60a71c16c32f71046868fd","start_commit_sha":"eeb57dffe83deb686a60a71c16c32f71046868fd","created_at":"2016-07-26T14:44:48.926Z","merge_request_id":105,"state":"collected","real_size":"1"},{"id":108,"head_commit_sha":"3eed087b29835c48015768f839d76e5ea8f07a24","base_commit_sha":"eeb57dffe83deb686a60a71c16c32f71046868fd","start_commit_sha":"eeb57dffe83deb686a60a71c16c32f71046868fd","created_at":"2016-07-25T14:21:33.028Z","merge_request_id":105,"state":"collected","real_size":"1"}]
0 {
1 "id": "7d66bf19bf835e6a4666130544ba1b5c343fc705",
2 "individual_note": false,
3 "notes": [
4 {
5 "id": 1758,
6 "type": "DiffNote",
7 "body": "test test",
8 "attachment": null,
9 "author": {
10 "id": 1,
11 "name": "Dominik Sander",
12 "username": "dsander",
13 "state": "active",
14 "avatar_url": "https://secure.gravatar.com/avatar/7f017343sf43896ddee04838bd3?s=80&d=identicon",
15 "web_url": "https://example.com/dsander"
16 },
17 "created_at": "2018-05-22T22:00:18.858+02:00",
18 "updated_at": "2018-05-22T22:00:18.858+02:00",
19 "system": false,
20 "noteable_id": 208,
21 "noteable_type": "MergeRequest",
22 "position": {
23 "base_sha": "fb60b1f9e3005a4ec8e039c4ec16b6d36f8e75c9",
24 "start_sha": "3c14868ce2ffbf3294ff8c0de828fd1a0e545aae",
25 "head_sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
26 "old_path": "spec/omniauth/form_spec.rb",
27 "new_path": "spec/omniauth/form_spec.rb",
28 "position_type": "text",
29 "old_line": 5,
30 "new_line": null
31 },
32 "resolvable": true,
33 "resolved": false,
34 "resolved_by": null,
35 "noteable_iid": 13
36 }
37 ]
38 }
0 {"id":"7d66bf19bf835e6a4666130544ba1b5c343fc705","individual_note":false,"notes":[{"id":1758,"type":"DiffNote","body":"test test","attachment":null,"author":{"id":1,"name":"Dominik Sander","username":"dsander","state":"active","avatar_url":"https://secure.gravatar.com/avatar/7f017343sf43896ddee04838bd3?s=80&d=identicon","web_url":"https://example.com/dsander"},"created_at":"2018-05-22T22:00:18.858+02:00","updated_at":"2018-05-22T22:00:18.858+02:00","system":false,"noteable_id":208,"noteable_type":"MergeRequest","position":{"base_sha":"fb60b1f9e3005a4ec8e039c4ec16b6d36f8e75c9","start_sha":"3c14868ce2ffbf3294ff8c0de828fd1a0e545aae","head_sha":"7d938cb8ac15788d71f4b67c035515a160ea76d8","old_path":"spec/omniauth/form_spec.rb","new_path":"spec/omniauth/form_spec.rb","position_type":"text","old_line":5,"new_line":null},"resolvable":true,"resolved":false,"resolved_by":null,"noteable_iid":13}]}
0 {
1 "id": 1775,
2 "type": "DiffNote",
3 "body": "much note",
4 "attachment": null,
5 "author": {
6 "id": 1,
7 "name": "Dominik Sander",
8 "username": "dsander",
9 "state": "active",
10 "avatar_url": "https://secure.gravatar.com/avatar/7f017343sf43896ddee04838bd3?s=80&d=identicon",
11 "web_url": "https://example.com/dsander"
12 },
13 "created_at": "2018-05-23T22:21:46.993+02:00",
14 "updated_at": "2018-05-23T22:21:46.993+02:00",
15 "system": false,
16 "noteable_id": 208,
17 "noteable_type": "MergeRequest",
18 "position": {
19 "base_sha": "fb60b1f9e3005a4ec8e039c4ec16b6d36f8e75c9",
20 "start_sha": "3c14868ce2ffbf3294ff8c0de828fd1a0e545aae",
21 "head_sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
22 "old_path": "spec/omniauth/form_spec.rb",
23 "new_path": "spec/omniauth/form_spec.rb",
24 "position_type": "text",
25 "old_line": 9,
26 "new_line": null
27 },
28 "resolvable": true,
29 "resolved": false,
30 "resolved_by": null,
31 "noteable_iid": 13
32 }
0 {"id":1775,"type":"DiffNote","body":"much note","attachment":null,"author":{"id":1,"name":"Dominik Sander","username":"dsander","state":"active","avatar_url":"https://secure.gravatar.com/avatar/7f017343sf43896ddee04838bd3?s=80&d=identicon","web_url":"https://example.com/dsander"},"created_at":"2018-05-23T22:21:46.993+02:00","updated_at":"2018-05-23T22:21:46.993+02:00","system":false,"noteable_id":208,"noteable_type":"MergeRequest","position":{"base_sha":"fb60b1f9e3005a4ec8e039c4ec16b6d36f8e75c9","start_sha":"3c14868ce2ffbf3294ff8c0de828fd1a0e545aae","head_sha":"7d938cb8ac15788d71f4b67c035515a160ea76d8","old_path":"spec/omniauth/form_spec.rb","new_path":"spec/omniauth/form_spec.rb","position_type":"text","old_line":9,"new_line":null},"resolvable":true,"resolved":false,"resolved_by":null,"noteable_iid":13}
0 [
1 {
2 "id": "7d66bf19bf835e6a4666130544ba1b5c343fc705",
3 "individual_note": false,
4 "notes": [
5 {
6 "id": 1758,
7 "type": "DiffNote",
8 "body": "test test",
9 "attachment": null,
10 "author": {
11 "id": 1,
12 "name": "Dominik Sander",
13 "username": "dsander",
14 "state": "active",
15 "avatar_url": "https://secure.gravatar.com/avatar/7f017343sf43896ddee04838bd3?s=80&d=identicon",
16 "web_url": "https://example.com/dsander"
17 },
18 "created_at": "2018-05-22T22:00:18.858+02:00",
19 "updated_at": "2018-05-22T22:00:18.858+02:00",
20 "system": false,
21 "noteable_id": 208,
22 "noteable_type": "MergeRequest",
23 "position": {
24 "base_sha": "fb60b1f9e3005a4ec8e039c4ec16b6d36f8e75c9",
25 "start_sha": "3c14868ce2ffbf3294ff8c0de828fd1a0e545aae",
26 "head_sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
27 "old_path": "spec/omniauth/form_spec.rb",
28 "new_path": "spec/omniauth/form_spec.rb",
29 "position_type": "text",
30 "old_line": 5,
31 "new_line": null
32 },
33 "resolvable": true,
34 "resolved": false,
35 "resolved_by": null,
36 "noteable_iid": 13
37 }
38 ]
39 }
40 ]
0 [{"id":"7d66bf19bf835e6a4666130544ba1b5c343fc705","individual_note":false,"notes":[{"id":1758,"type":"DiffNote","body":"test test","attachment":null,"author":{"id":1,"name":"Dominik Sander","username":"dsander","state":"active","avatar_url":"https://secure.gravatar.com/avatar/7f017343sf43896ddee04838bd3?s=80&d=identicon","web_url":"https://example.com/dsander"},"created_at":"2018-05-22T22:00:18.858+02:00","updated_at":"2018-05-22T22:00:18.858+02:00","system":false,"noteable_id":208,"noteable_type":"MergeRequest","position":{"base_sha":"fb60b1f9e3005a4ec8e039c4ec16b6d36f8e75c9","start_sha":"3c14868ce2ffbf3294ff8c0de828fd1a0e545aae","head_sha":"7d938cb8ac15788d71f4b67c035515a160ea76d8","old_path":"spec/omniauth/form_spec.rb","new_path":"spec/omniauth/form_spec.rb","position_type":"text","old_line":5,"new_line":null},"resolvable":true,"resolved":false,"resolved_by":null,"noteable_iid":13}]}]
0 [{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}]
0 [{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}]
0 [{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":2,"email":"john2@example.com","name":"John Smith 2","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith 2","blocked":false,"created_at":"2012-10-19T05:56:14Z"}},{"id":2,"target_branch":"master","source_branch":"api","project_id":2,"title":"New feature 2","closed":false,"merged":false,"author":{"id":2,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":4,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}]
0 [{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":2,"email":"john2@example.com","name":"John Smith 2","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith 2","blocked":false,"created_at":"2012-10-19T05:56:14Z"}},{"id":2,"target_branch":"master","source_branch":"api","project_id":2,"title":"New feature 2","closed":false,"merged":false,"author":{"id":2,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":4,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}]
0 [{"id":1,"project_id":3,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":6,"project_id":3,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":12,"project_id":3,"title":"Veniam et tempore quidem eum reprehenderit cupiditate non aut velit eaque.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":21,"project_id":3,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":26,"project_id":3,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":32,"project_id":3,"title":"Deserunt tenetur impedit est beatae voluptas voluptas quaerat quisquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"}]
0 [{"id":1,"project_id":3,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":6,"project_id":3,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":12,"project_id":3,"title":"Veniam et tempore quidem eum reprehenderit cupiditate non aut velit eaque.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":21,"project_id":3,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":26,"project_id":3,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":32,"project_id":3,"title":"Deserunt tenetur impedit est beatae voluptas voluptas quaerat quisquam.","description":null,"labels":[],"milestone":{"id":1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"}]
0 [{"id":1,"iid":1,"project_id":1,"title":"lorem ipsum","description":"","state":"opened","created_at":"2017-03-24T12:23:53.918Z","updated_at":"2017-03-24T12:23:53.918Z","target_branch":"master","source_branch":"def","upvotes":0,"downvotes":0,"author":{"name":"John Doe","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoen"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"aec123d1775790b2347fdd684b5ba613fdeb994b","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/2"},{"id":2,"iid":2,"project_id":1,"title":"ipsum lorem","description":"","state":"opened","created_at":"2017-03-24T12:23:24.662Z","updated_at":"2017-03-24T12:23:33.522Z","target_branch":"master","source_branch":"test1","upvotes":0,"downvotes":0,"author":{"name":"Joren","username":"jdoe","id":1,"state":"active","":"","web_url":"https://gitlab.com/jdoe"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"3ee44c9b40deddae596f838b97523c6f010fd80d","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/1"}]
0 [{"id":1,"iid":1,"project_id":1,"title":"lorem ipsum","description":"","state":"opened","created_at":"2017-03-24T12:23:53.918Z","updated_at":"2017-03-24T12:23:53.918Z","target_branch":"master","source_branch":"def","upvotes":0,"downvotes":0,"author":{"name":"John Doe","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoen"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"aec123d1775790b2347fdd684b5ba613fdeb994b","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/2"},{"id":2,"iid":2,"project_id":1,"title":"ipsum lorem","description":"","state":"opened","created_at":"2017-03-24T12:23:24.662Z","updated_at":"2017-03-24T12:23:33.522Z","target_branch":"master","source_branch":"test1","upvotes":0,"downvotes":0,"author":{"name":"Joren","username":"jdoe","id":1,"state":"active","":"","web_url":"https://gitlab.com/jdoe"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"3ee44c9b40deddae596f838b97523c6f010fd80d","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/1"}]
0 [{"id": 1, "path": "john", "kind": "user"}]
0 [{"id":1,"path":"john","kind":"user"}]
0 {
1 "error": "content is missing"
2 }
0 {"error":"content is missing"}
0 {"id":1201,"body":"The solution is rather tricky","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"created_at":"2012-11-27T19:16:44Z"}
0 {"id":1201,"body":"The solution is rather tricky","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"created_at":"2012-11-27T19:16:44Z"}
0 {
1 "id": 4,
2 "name": "mood_bubble_lightning",
3 "user": {
4 "name": "User 4",
5 "username": "user4",
6 "id": 26,
7 "state": "active",
8 "avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
9 "web_url": "http://gitlab.example.com/user4"
10 },
11 "created_at": "2016-06-15T10:09:34.197Z",
12 "updated_at": "2016-06-15T10:09:34.197Z",
13 "awardable_id": 1,
14 "awardable_type": "Note"
15 }
0 {"id":4,"name":"mood_bubble_lightning","user":{"name":"User 4","username":"user4","id":26,"state":"active","avatar_url":"http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon","web_url":"http://gitlab.example.com/user4"},"created_at":"2016-06-15T10:09:34.197Z","updated_at":"2016-06-15T10:09:34.197Z","awardable_id":1,"awardable_type":"Note"}
0 [
1 {
2 "id": 2,
3 "name": "mood_bubble_lightning",
4 "user": {
5 "name": "User 4",
6 "username": "user4",
7 "id": 26,
8 "state": "active",
9 "avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
10 "web_url": "http://gitlab.example.com/user4"
11 },
12 "created_at": "2016-06-15T10:09:34.197Z",
13 "updated_at": "2016-06-15T10:09:34.197Z",
14 "awardable_id": 1,
15 "awardable_type": "Note"
16 }
17 ]
0 [{"id":2,"name":"mood_bubble_lightning","user":{"name":"User 4","username":"user4","id":26,"state":"active","avatar_url":"http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon","web_url":"http://gitlab.example.com/user4"},"created_at":"2016-06-15T10:09:34.197Z","updated_at":"2016-06-15T10:09:34.197Z","awardable_id":1,"awardable_type":"Note"}]
0 [{"id":1201,"body":"The solution is rather tricky","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"created_at":"2012-11-27T19:16:44Z"},{"id":1207,"body":"I know, right?","author":{"id":1,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-09-17T09:42:03Z"},"created_at":"2012-11-27T19:58:21Z"}]
0 [{"id":1201,"body":"The solution is rather tricky","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"created_at":"2012-11-27T19:16:44Z"},{"id":1207,"body":"I know, right?","author":{"id":1,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-09-17T09:42:03Z"},"created_at":"2012-11-27T19:58:21Z"}]
0 [
1 {
2 "id": 1,
3 "name": "John Doe1",
4 "username": "user1",
5 "state": "active",
6 "avatar_url": "http://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=80&d=identicon",
7 "web_url": "http://localhost/user1"
8 },
9 {
10 "id": 2,
11 "name": "John Doe2",
12 "username": "user2",
13 "state": "active",
14 "avatar_url": "http://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=80&d=identicon",
15 "web_url": "http://localhost/user2"
16 }
17 ]
0 [{"id":1,"name":"John Doe1","username":"user1","state":"active","avatar_url":"http://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=80&d=identicon","web_url":"http://localhost/user1"},{"id":2,"name":"John Doe2","username":"user2","state":"active","avatar_url":"http://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=80&d=identicon","web_url":"http://localhost/user2"}]
0 [
1 {
2 "id": 1,
3 "name": "John Doe1",
4 "username": "user1",
5 "state": "active",
6 "avatar_url": "http://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=80&d=identicon",
7 "web_url": "http://localhost/user1"
8 },
9 {
10 "id": 5,
11 "name": "John Doe5",
12 "username": "user5",
13 "state": "active",
14 "avatar_url": "http://www.gravatar.com/avatar/4aea8cf834ed91844a2da4ff7ae6b491?s=80&d=identicon",
15 "web_url": "http://localhost/user5"
16 }
17 ]
0 [{"id":1,"name":"John Doe1","username":"user1","state":"active","avatar_url":"http://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=80&d=identicon","web_url":"http://localhost/user1"},{"id":5,"name":"John Doe5","username":"user5","state":"active","avatar_url":"http://www.gravatar.com/avatar/4aea8cf834ed91844a2da4ff7ae6b491?s=80&d=identicon","web_url":"http://localhost/user5"}]
0 {
1 "id": 46,
2 "status": "success",
3 "ref": "master",
4 "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
5 "before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
6 "tag": false,
7 "yaml_errors": null,
8 "user": {
9 "name": "Administrator",
10 "username": "root",
11 "id": 1,
12 "state": "active",
13 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
14 "web_url": "http://localhost:3000/root"
15 },
16 "created_at": "2016-08-11T11:28:34.085Z",
17 "updated_at": "2016-08-11T11:32:35.169Z",
18 "started_at": null,
19 "finished_at": "2016-08-11T11:32:35.145Z",
20 "committed_at": null,
21 "duration": null
22 }
0 {"id":46,"status":"success","ref":"master","sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","before_sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","tag":false,"yaml_errors":null,"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"created_at":"2016-08-11T11:28:34.085Z","updated_at":"2016-08-11T11:32:35.169Z","started_at":null,"finished_at":"2016-08-11T11:32:35.145Z","committed_at":null,"duration":null}
0 {
1 "id": 46,
2 "status": "canceled",
3 "ref": "master",
4 "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
5 "before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
6 "tag": false,
7 "yaml_errors": null,
8 "user": {
9 "name": "Administrator",
10 "username": "root",
11 "id": 1,
12 "state": "active",
13 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
14 "web_url": "http://localhost:3000/root"
15 },
16 "created_at": "2016-08-11T11:28:34.085Z",
17 "updated_at": "2016-08-11T11:32:35.169Z",
18 "started_at": null,
19 "finished_at": "2016-08-11T11:32:35.145Z",
20 "committed_at": null,
21 "duration": null
22 }
0 {"id":46,"status":"canceled","ref":"master","sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","before_sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","tag":false,"yaml_errors":null,"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"created_at":"2016-08-11T11:28:34.085Z","updated_at":"2016-08-11T11:32:35.169Z","started_at":null,"finished_at":"2016-08-11T11:32:35.145Z","committed_at":null,"duration":null}
0 {
1 "id": 61,
2 "sha": "384c444e840a515b23f21915ee5766b87068a70d",
3 "ref": "master",
4 "status": "pending",
5 "before_sha": "0000000000000000000000000000000000000000",
6 "tag": false,
7 "yaml_errors": null,
8 "user": {
9 "name": "Administrator",
10 "username": "root",
11 "id": 1,
12 "state": "active",
13 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
14 "web_url": "http://localhost:3000/root"
15 },
16 "created_at": "2016-11-04T09:36:13.747Z",
17 "updated_at": "2016-11-04T09:36:13.977Z",
18 "started_at": null,
19 "finished_at": null,
20 "committed_at": null,
21 "duration": null
22 }
0 {"id":61,"sha":"384c444e840a515b23f21915ee5766b87068a70d","ref":"master","status":"pending","before_sha":"0000000000000000000000000000000000000000","tag":false,"yaml_errors":null,"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"created_at":"2016-11-04T09:36:13.747Z","updated_at":"2016-11-04T09:36:13.977Z","started_at":null,"finished_at":null,"committed_at":null,"duration":null}
0 [
1 {
2 "commit": {
3 "author_email": "admin@example.com",
4 "author_name": "Administrator",
5 "created_at": "2015-12-24T16:51:14.000+01:00",
6 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
7 "message": "Test the CI integration.",
8 "short_id": "0ff3ae19",
9 "title": "Test the CI integration."
10 },
11 "coverage": null,
12 "created_at": "2015-12-24T15:51:21.802Z",
13 "artifacts_file": {
14 "filename": "artifacts.zip",
15 "size": 1000
16 },
17 "finished_at": "2015-12-24T17:54:27.895Z",
18 "id": 7,
19 "name": "teaspoon",
20 "pipeline": {
21 "id": 6,
22 "ref": "master",
23 "sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
24 "status": "pending"
25 },
26 "ref": "master",
27 "runner": null,
28 "stage": "test",
29 "started_at": "2015-12-24T17:54:27.722Z",
30 "status": "failed",
31 "tag": false,
32 "user": {
33 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
34 "bio": null,
35 "created_at": "2015-12-21T13:14:24.077Z",
36 "id": 1,
37 "linkedin": "",
38 "name": "Administrator",
39 "skype": "",
40 "state": "active",
41 "twitter": "",
42 "username": "root",
43 "web_url": "http://gitlab.dev/root",
44 "website_url": ""
45 }
46 },
47 {
48 "commit": {
49 "author_email": "admin@example.com",
50 "author_name": "Administrator",
51 "created_at": "2015-12-24T16:51:14.000+01:00",
52 "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
53 "message": "Test the CI integration.",
54 "short_id": "0ff3ae19",
55 "title": "Test the CI integration."
56 },
57 "coverage": null,
58 "created_at": "2015-12-24T15:51:21.727Z",
59 "artifacts_file": null,
60 "finished_at": "2015-12-24T17:54:24.921Z",
61 "id": 6,
62 "name": "spinach:other",
63 "pipeline": {
64 "id": 6,
65 "ref": "master",
66 "sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
67 "status": "pending"
68 },
69 "ref": "master",
70 "runner": null,
71 "stage": "test",
72 "started_at": "2015-12-24T17:54:24.729Z",
73 "status": "failed",
74 "tag": false,
75 "user": {
76 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
77 "bio": null,
78 "created_at": "2015-12-21T13:14:24.077Z",
79 "id": 1,
80 "linkedin": "",
81 "name": "Administrator",
82 "skype": "",
83 "state": "active",
84 "twitter": "",
85 "username": "root",
86 "web_url": "http://gitlab.dev/root",
87 "website_url": ""
88 }
89 }
90 ]
0 [{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.802Z","artifacts_file":{"filename":"artifacts.zip","size":1000},"finished_at":"2015-12-24T17:54:27.895Z","id":7,"name":"teaspoon","pipeline":{"id":6,"ref":"master","sha":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","status":"pending"},"ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:27.722Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/root","website_url":""}},{"commit":{"author_email":"admin@example.com","author_name":"Administrator","created_at":"2015-12-24T16:51:14.000+01:00","id":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","message":"Test the CI integration.","short_id":"0ff3ae19","title":"Test the CI integration."},"coverage":null,"created_at":"2015-12-24T15:51:21.727Z","artifacts_file":null,"finished_at":"2015-12-24T17:54:24.921Z","id":6,"name":"spinach:other","pipeline":{"id":6,"ref":"master","sha":"0ff3ae198f8601a285adcf5c0fff204ee6fba5fd","status":"pending"},"ref":"master","runner":null,"stage":"test","started_at":"2015-12-24T17:54:24.729Z","status":"failed","tag":false,"user":{"avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","bio":null,"created_at":"2015-12-21T13:14:24.077Z","id":1,"linkedin":"","name":"Administrator","skype":"","state":"active","twitter":"","username":"root","web_url":"http://gitlab.dev/root","website_url":""}}]
0 {
1 "id": 46,
2 "status": "pending",
3 "ref": "master",
4 "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
5 "before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
6 "tag": false,
7 "yaml_errors": null,
8 "user": {
9 "name": "Administrator",
10 "username": "root",
11 "id": 1,
12 "state": "active",
13 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
14 "web_url": "http://localhost:3000/root"
15 },
16 "created_at": "2016-08-11T11:28:34.085Z",
17 "updated_at": "2016-08-11T11:32:35.169Z",
18 "started_at": null,
19 "finished_at": "2016-08-11T11:32:35.145Z",
20 "committed_at": null,
21 "duration": null
22 }
0 {"id":46,"status":"pending","ref":"master","sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","before_sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","tag":false,"yaml_errors":null,"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"created_at":"2016-08-11T11:28:34.085Z","updated_at":"2016-08-11T11:32:35.169Z","started_at":null,"finished_at":"2016-08-11T11:32:35.145Z","committed_at":null,"duration":null}
0 {
1 "id": 13,
2 "description": "Test schedule pipeline",
3 "ref": "master",
4 "cron": "* * * * *",
5 "cron_timezone": "Asia/Tokyo",
6 "next_run_at": "2017-05-19T13:41:00.000Z",
7 "active": true,
8 "created_at": "2017-05-19T13:31:08.849Z",
9 "updated_at": "2017-05-19T13:40:17.727Z",
10 "last_pipeline": {
11 "id": 332,
12 "sha": "0e788619d0b5ec17388dffb973ecd505946156db",
13 "ref": "master",
14 "status": "pending"
15 },
16 "owner": {
17 "name": "Administrator",
18 "username": "root",
19 "id": 1,
20 "state": "active",
21 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
22 "web_url": "https://gitlab.example.com/root"
23 },
24 "variables": [
25 {
26 "key": "TEST_VARIABLE_1",
27 "value": "TEST_1"
28 }
29 ]
30 }
31
0 {"id":13,"description":"Test schedule pipeline","ref":"master","cron":"* * * * *","cron_timezone":"Asia/Tokyo","next_run_at":"2017-05-19T13:41:00.000Z","active":true,"created_at":"2017-05-19T13:31:08.849Z","updated_at":"2017-05-19T13:40:17.727Z","last_pipeline":{"id":332,"sha":"0e788619d0b5ec17388dffb973ecd505946156db","ref":"master","status":"pending"},"owner":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"},"variables":[{"key":"TEST_VARIABLE_1","value":"TEST_1"}]}
0 {
1 "id": 14,
2 "description": "Build packages",
3 "ref": "master",
4 "cron": "0 1 * * 5",
5 "cron_timezone": "UTC",
6 "next_run_at": "2017-05-26T01:00:00.000Z",
7 "active": true,
8 "created_at": "2017-05-19T13:43:08.169Z",
9 "updated_at": "2017-05-19T13:43:08.169Z",
10 "last_pipeline": null,
11 "owner": {
12 "name": "Administrator",
13 "username": "root",
14 "id": 1,
15 "state": "active",
16 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
17 "web_url": "https://gitlab.example.com/root"
18 }
19 }
20
0 {"id":14,"description":"Build packages","ref":"master","cron":"0 1 * * 5","cron_timezone":"UTC","next_run_at":"2017-05-26T01:00:00.000Z","active":true,"created_at":"2017-05-19T13:43:08.169Z","updated_at":"2017-05-19T13:43:08.169Z","last_pipeline":null,"owner":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"}}
0 {
1 "id": 13,
2 "description": "Test schedule pipeline",
3 "ref": "master",
4 "cron": "0 2 * * *",
5 "cron_timezone": "Asia/Tokyo",
6 "next_run_at": "2017-05-19T17:00:00.000Z",
7 "active": true,
8 "created_at": "2017-05-19T13:31:08.849Z",
9 "updated_at": "2017-05-19T13:44:16.135Z",
10 "last_pipeline": {
11 "id": 332,
12 "sha": "0e788619d0b5ec17388dffb973ecd505946156db",
13 "ref": "master",
14 "status": "pending"
15 },
16 "owner": {
17 "name": "Administrator",
18 "username": "root",
19 "id": 1,
20 "state": "active",
21 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
22 "web_url": "https://gitlab.example.com/root"
23 }
24 }
25
0 {"id":13,"description":"Test schedule pipeline","ref":"master","cron":"0 2 * * *","cron_timezone":"Asia/Tokyo","next_run_at":"2017-05-19T17:00:00.000Z","active":true,"created_at":"2017-05-19T13:31:08.849Z","updated_at":"2017-05-19T13:44:16.135Z","last_pipeline":{"id":332,"sha":"0e788619d0b5ec17388dffb973ecd505946156db","ref":"master","status":"pending"},"owner":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"}}
0 {
1 "key": "NEW_VARIABLE",
2 "value": "new value"
3 }
4
0 {"key":"NEW_VARIABLE","value":"new value"}
0 {
1 "key": "NEW_VARIABLE",
2 "value": "update value"
3 }
4
0 {"key":"NEW_VARIABLE","value":"update value"}
0 [
1 {
2 "id": 13,
3 "description": "Test schedule pipeline",
4 "ref": "master",
5 "cron": "* * * * *",
6 "cron_timezone": "Asia/Tokyo",
7 "next_run_at": "2017-05-19T13:41:00.000Z",
8 "active": true,
9 "created_at": "2017-05-19T13:31:08.849Z",
10 "updated_at": "2017-05-19T13:40:17.727Z",
11 "owner": {
12 "name": "Administrator",
13 "username": "root",
14 "id": 1,
15 "state": "active",
16 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
17 "web_url": "https://gitlab.example.com/root"
18 }
19 }
20 ]
21
0 [{"id":13,"description":"Test schedule pipeline","ref":"master","cron":"* * * * *","cron_timezone":"Asia/Tokyo","next_run_at":"2017-05-19T13:41:00.000Z","active":true,"created_at":"2017-05-19T13:31:08.849Z","updated_at":"2017-05-19T13:40:17.727Z","owner":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"}}]
0 [
1 {
2 "id": 47,
3 "status": "pending",
4 "ref": "new-pipeline",
5 "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
6 "before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
7 "tag": false,
8 "yaml_errors": null,
9 "user": {
10 "name": "Administrator",
11 "username": "root",
12 "id": 1,
13 "state": "active",
14 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
15 "web_url": "http://localhost:3000/root"
16 },
17 "created_at": "2016-08-16T10:23:19.007Z",
18 "updated_at": "2016-08-16T10:23:19.216Z",
19 "started_at": null,
20 "finished_at": null,
21 "committed_at": null,
22 "duration": null
23 },
24 {
25 "id": 48,
26 "status": "pending",
27 "ref": "new-pipeline",
28 "sha": "eb94b618fb5865b26e80fdd8ae531b7a63ad851a",
29 "before_sha": "eb94b618fb5865b26e80fdd8ae531b7a63ad851a",
30 "tag": false,
31 "yaml_errors": null,
32 "user": {
33 "name": "Administrator",
34 "username": "root",
35 "id": 1,
36 "state": "active",
37 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
38 "web_url": "http://localhost:3000/root"
39 },
40 "created_at": "2016-08-16T10:23:21.184Z",
41 "updated_at": "2016-08-16T10:23:21.314Z",
42 "started_at": null,
43 "finished_at": null,
44 "committed_at": null,
45 "duration": null
46 }
47 ]
0 [{"id":47,"status":"pending","ref":"new-pipeline","sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","before_sha":"a91957a858320c0e17f3a0eca7cfacbff50ea29a","tag":false,"yaml_errors":null,"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"created_at":"2016-08-16T10:23:19.007Z","updated_at":"2016-08-16T10:23:19.216Z","started_at":null,"finished_at":null,"committed_at":null,"duration":null},{"id":48,"status":"pending","ref":"new-pipeline","sha":"eb94b618fb5865b26e80fdd8ae531b7a63ad851a","before_sha":"eb94b618fb5865b26e80fdd8ae531b7a63ad851a","tag":false,"yaml_errors":null,"user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"created_at":"2016-08-16T10:23:21.184Z","updated_at":"2016-08-16T10:23:21.314Z","started_at":null,"finished_at":null,"committed_at":null,"duration":null}]
0 {
1 "link_url": "http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}",
2 "image_url": "https://shields.io/my/badge",
3 "rendered_link_url": "http://example.com/ci_status.svg?project=example-org/example-project&ref=master",
4 "rendered_image_url": "https://shields.io/my/badge"
5 }
0 {"link_url":"http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}","image_url":"https://shields.io/my/badge","rendered_link_url":"http://example.com/ci_status.svg?project=example-org/example-project&ref=master","rendered_image_url":"https://shields.io/my/badge"}
0 {
1 "id": 3,
2 "description": null,
3 "default_branch": "master",
4 "public": false,
5 "visibility_level": 10,
6 "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
7 "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
8 "web_url":"http://git.gitlab.com/root/gitlab",
9 "tag_list": [
10
11 ],
12 "name": "GitLab Community Edition",
13 "name_with_namespace": "GitLab / GitLab Community Edition",
14 "path": "gitlab-ce",
15 "path_with_namespace": "gitlab/gitlab-ce",
16 "issues_enabled": true,
17 "open_issues_count": 1,
18 "merge_requests_enabled": true,
19 "builds_enabled": true,
20 "wiki_enabled": true,
21 "snippets_enabled": false,
22 "container_registry_enabled": false,
23 "created_at": "2013-09-30T13:46:02Z",
24 "last_activity_at": "2013-09-30T13:46:02Z",
25 "creator_id": 3,
26 "namespace": {
27 "created_at": "2013-09-30T13:46:02Z",
28 "description": "",
29 "id": 3,
30 "name": "GitLab",
31 "owner_id": 1,
32 "path": "gitlab",
33 "updated_at": "2013-09-30T13:46:02Z"
34 },
35 "archived": true,
36 "avatar_url": "http://example.com/uploads/project/avatar/3/uploads/avatar.png",
37 "shared_runners_enabled": true,
38 "forks_count": 0,
39 "star_count": 0,
40 "public_builds": true,
41 "shared_with_groups": [],
42 "only_allow_merge_if_build_succeeds": false
43 }
0 {"id":3,"description":null,"default_branch":"master","public":false,"visibility_level":10,"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git","http_url_to_repo":"http://git.gitlab.com/root/gitlab.git","web_url":"http://git.gitlab.com/root/gitlab","tag_list":[],"name":"GitLab Community Edition","name_with_namespace":"GitLab / GitLab Community Edition","path":"gitlab-ce","path_with_namespace":"gitlab/gitlab-ce","issues_enabled":true,"open_issues_count":1,"merge_requests_enabled":true,"builds_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"container_registry_enabled":false,"created_at":"2013-09-30T13:46:02Z","last_activity_at":"2013-09-30T13:46:02Z","creator_id":3,"namespace":{"created_at":"2013-09-30T13:46:02Z","description":"","id":3,"name":"GitLab","owner_id":1,"path":"gitlab","updated_at":"2013-09-30T13:46:02Z"},"archived":true,"avatar_url":"http://example.com/uploads/project/avatar/3/uploads/avatar.png","shared_runners_enabled":true,"forks_count":0,"star_count":0,"public_builds":true,"shared_with_groups":[],"only_allow_merge_if_build_succeeds":false}
0 {
1 "id": 1,
2 "link_url": "http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}",
3 "image_url": "https://shields.io/my/badge",
4 "rendered_link_url": "http://example.com/ci_status.svg?project=example-org/example-project&ref=master",
5 "rendered_image_url": "https://shields.io/my/badge",
6 "kind": "project"
7 }
0 {"id":1,"link_url":"http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}","image_url":"https://shields.io/my/badge","rendered_link_url":"http://example.com/ci_status.svg?project=example-org/example-project&ref=master","rendered_image_url":"https://shields.io/my/badge","kind":"project"}
0 [
1 {
2 "id": 1,
3 "link_url": "http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}",
4 "image_url": "https://shields.io/my/badge",
5 "rendered_link_url": "http://example.com/ci_status.svg?project=example-org/example-project&ref=master",
6 "rendered_image_url": "https://shields.io/my/badge",
7 "kind": "project"
8 },
9 {
10 "id": 2,
11 "link_url": "http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}",
12 "image_url": "https://shields.io/my/badge",
13 "rendered_link_url": "http://example.com/ci_status.svg?project=example-org/example-project&ref=master",
14 "rendered_image_url": "https://shields.io/my/badge",
15 "kind": "group"
16 }
17 ]
0 [{"id":1,"link_url":"http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}","image_url":"https://shields.io/my/badge","rendered_link_url":"http://example.com/ci_status.svg?project=example-org/example-project&ref=master","rendered_image_url":"https://shields.io/my/badge","kind":"project"},{"id":2,"link_url":"http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}","image_url":"https://shields.io/my/badge","rendered_link_url":"http://example.com/ci_status.svg?project=example-org/example-project&ref=master","rendered_image_url":"https://shields.io/my/badge","kind":"group"}]
0 {
1 "id":18,
2 "name":"cluster-1",
3 "created_at":"2019-01-02T20:18:12.563Z",
4 "provider_type":"user",
5 "platform_type":"kubernetes",
6 "environment_scope":"*",
7 "cluster_type":"project_type",
8 "user":
9 {
10 "id":1,
11 "name":"Administrator",
12 "username":"root",
13 "state":"active",
14 "avatar_url":"https://www.gravatar.com/avatar/4249f4df72b..",
15 "web_url":"https://gitlab.example.com/root"
16 },
17 "platform_kubernetes":
18 {
19 "api_url":"https://104.197.68.152",
20 "namespace":"cluster-1-namespace",
21 "authorization_type":"rbac",
22 "ca_cert":"-----BEGIN CERTIFICATE-----\r\nhFiK1L61owwDQYJKoZIhvcNAQELBQAw\r\nLzEtMCsGA1UEAxMkZDA1YzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM4ZDBj\r\nMB4XDTE4MTIyNzIwMDM1MVoXDTIzMTIyNjIxMDM1MVowLzEtMCsGA1UEAxMkZDA1\r\nYzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM.......-----END CERTIFICATE-----"
23 },
24 "project":
25 {
26 "id":26,
27 "description":"",
28 "name":"project-with-clusters-api",
29 "name_with_namespace":"Administrator / project-with-clusters-api",
30 "path":"project-with-clusters-api",
31 "path_with_namespace":"root/project-with-clusters-api",
32 "created_at":"2019-01-02T20:13:32.600Z",
33 "default_branch":null,
34 "tag_list":[],
35 "ssh_url_to_repo":"ssh://gitlab.example.com/root/project-with-clusters-api.git",
36 "http_url_to_repo":"https://gitlab.example.com/root/project-with-clusters-api.git",
37 "web_url":"https://gitlab.example.com/root/project-with-clusters-api",
38 "readme_url":null,
39 "avatar_url":null,
40 "star_count":0,
41 "forks_count":0,
42 "last_activity_at":"2019-01-02T20:13:32.600Z",
43 "namespace":
44 {
45 "id":1,
46 "name":"root",
47 "path":"root",
48 "kind":"user",
49 "full_path":"root",
50 "parent_id":null
51 }
52 }
53 }
0 {"id":18,"name":"cluster-1","created_at":"2019-01-02T20:18:12.563Z","provider_type":"user","platform_type":"kubernetes","environment_scope":"*","cluster_type":"project_type","user":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/4249f4df72b..","web_url":"https://gitlab.example.com/root"},"platform_kubernetes":{"api_url":"https://104.197.68.152","namespace":"cluster-1-namespace","authorization_type":"rbac","ca_cert":"-----BEGIN CERTIFICATE-----\r\nhFiK1L61owwDQYJKoZIhvcNAQELBQAw\r\nLzEtMCsGA1UEAxMkZDA1YzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM4ZDBj\r\nMB4XDTE4MTIyNzIwMDM1MVoXDTIzMTIyNjIxMDM1MVowLzEtMCsGA1UEAxMkZDA1\r\nYzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM.......-----END CERTIFICATE-----"},"project":{"id":26,"description":"","name":"project-with-clusters-api","name_with_namespace":"Administrator / project-with-clusters-api","path":"project-with-clusters-api","path_with_namespace":"root/project-with-clusters-api","created_at":"2019-01-02T20:13:32.600Z","default_branch":null,"tag_list":[],"ssh_url_to_repo":"ssh://gitlab.example.com/root/project-with-clusters-api.git","http_url_to_repo":"https://gitlab.example.com/root/project-with-clusters-api.git","web_url":"https://gitlab.example.com/root/project-with-clusters-api","readme_url":null,"avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2019-01-02T20:13:32.600Z","namespace":{"id":1,"name":"root","path":"root","kind":"user","full_path":"root","parent_id":null}}}
0 [
1 {
2 "id":18,
3 "name":"cluster-1",
4 "created_at":"2019-01-02T20:18:12.563Z",
5 "provider_type":"user",
6 "platform_type":"kubernetes",
7 "environment_scope":"*",
8 "cluster_type":"project_type",
9 "user":
10 {
11 "id":1,
12 "name":"Administrator",
13 "username":"root",
14 "state":"active",
15 "avatar_url":"https://www.gravatar.com/avatar/4249f4df72b..",
16 "web_url":"https://gitlab.example.com/root"
17 },
18 "platform_kubernetes":
19 {
20 "api_url":"https://104.197.68.152",
21 "namespace":"cluster-1-namespace",
22 "authorization_type":"rbac",
23 "ca_cert":"-----BEGIN CERTIFICATE-----\r\nhFiK1L61owwDQYJKoZIhvcNAQELBQAw\r\nLzEtMCsGA1UEAxMkZDA1YzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM4ZDBj\r\nMB4XDTE4MTIyNzIwMDM1MVoXDTIzMTIyNjIxMDM1MVowLzEtMCsGA1UEAxMkZDA1\r\nYzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM.......-----END CERTIFICATE-----"
24 }
25 }
26 ]
0 [{"id":18,"name":"cluster-1","created_at":"2019-01-02T20:18:12.563Z","provider_type":"user","platform_type":"kubernetes","environment_scope":"*","cluster_type":"project_type","user":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/4249f4df72b..","web_url":"https://gitlab.example.com/root"},"platform_kubernetes":{"api_url":"https://104.197.68.152","namespace":"cluster-1-namespace","authorization_type":"rbac","ca_cert":"-----BEGIN CERTIFICATE-----\r\nhFiK1L61owwDQYJKoZIhvcNAQELBQAw\r\nLzEtMCsGA1UEAxMkZDA1YzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM4ZDBj\r\nMB4XDTE4MTIyNzIwMDM1MVoXDTIzMTIyNjIxMDM1MVowLzEtMCsGA1UEAxMkZDA1\r\nYzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM.......-----END CERTIFICATE-----"}}]
0 {
1 "id": "6104942438c14ec7bd21c6cd5bd995272b3faff6",
2 "short_id": "6104942438c",
3 "title": "Sanitize for network graph",
4 "author_name": "randx",
5 "author_email": "dmitriy.zaporozhets@gmail.com",
6 "created_at": "2012-09-20T09:06:12+03:00",
7 "committed_date": "2012-09-20T09:06:12+03:00",
8 "authored_date": "2012-09-20T09:06:12+03:00",
9 "parent_ids": [
10 "ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"
11 ]
12 }
0 {"id":"6104942438c14ec7bd21c6cd5bd995272b3faff6","short_id":"6104942438c","title":"Sanitize for network graph","author_name":"randx","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-09-20T09:06:12+03:00","committed_date":"2012-09-20T09:06:12+03:00","authored_date":"2012-09-20T09:06:12+03:00","parent_ids":["ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"]}
0 {"note":"Nice code!","author":{"id":1,"username":"jsmith","email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-07-11T01:32:18Z"}}
0 {"note":"Nice code!","author":{"id":1,"username":"jsmith","email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-07-11T01:32:18Z"}}
0 [{"note":"this is the 1st comment on commit 6104942438c14ec7bd21c6cd5bd995272b3faff6","author":{"id":11,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}},{"note":"another discussion point on commit 6104942438c14ec7bd21c6cd5bd995272b3faff6","author":{"id":12,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}}]
0 [{"note":"this is the 1st comment on commit 6104942438c14ec7bd21c6cd5bd995272b3faff6","author":{"id":11,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}},{"note":"another discussion point on commit 6104942438c14ec7bd21c6cd5bd995272b3faff6","author":{"id":12,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}}]
0 {
1 "id": "ed899a2f4b50b4370feeea94676502b42383c746",
2 "short_id": "ed899a2f4b5",
3 "title": "some commit message",
4 "author_name": "Dmitriy Zaporozhets",
5 "author_email": "dzaporozhets@sphereconsultinginc.com",
6 "committer_name": "Dmitriy Zaporozhets",
7 "committer_email": "dzaporozhets@sphereconsultinginc.com",
8 "created_at": "2016-09-20T09:26:24.000-07:00",
9 "message": "some commit message",
10 "parent_ids": [
11 "ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"
12 ],
13 "committed_date": "2016-09-20T09:26:24.000-07:00",
14 "authored_date": "2016-09-20T09:26:24.000-07:00",
15 "stats": {
16 "additions": 2,
17 "deletions": 2,
18 "total": 4
19 },
20 "status": null
21 }
0 {"id":"ed899a2f4b50b4370feeea94676502b42383c746","short_id":"ed899a2f4b5","title":"some commit message","author_name":"Dmitriy Zaporozhets","author_email":"dzaporozhets@sphereconsultinginc.com","committer_name":"Dmitriy Zaporozhets","committer_email":"dzaporozhets@sphereconsultinginc.com","created_at":"2016-09-20T09:26:24.000-07:00","message":"some commit message","parent_ids":["ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"],"committed_date":"2016-09-20T09:26:24.000-07:00","authored_date":"2016-09-20T09:26:24.000-07:00","stats":{"additions":2,"deletions":2,"total":4},"status":null}
0 {
1 "diff": "--- a/doc/update/5.4-to-6.0.md\n+++ b/doc/update/5.4-to-6.0.md\n@@ -71,6 +71,8 @@\n sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production\n sudo -u git -H bundle exec rake migrate_inline_notes RAILS_ENV=production\n \n+sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production\n+\n ```\n \n ### 6. Update config files",
2 "new_path": "doc/update/5.4-to-6.0.md",
3 "old_path": "doc/update/5.4-to-6.0.md",
4 "a_mode": null,
5 "b_mode": "100644",
6 "new_file": false,
7 "renamed_file": false,
8 "deleted_file": false
9 }
0 {"diff":"--- a/doc/update/5.4-to-6.0.md\n+++ b/doc/update/5.4-to-6.0.md\n@@ -71,6 +71,8 @@\n sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production\n sudo -u git -H bundle exec rake migrate_inline_notes RAILS_ENV=production\n \n+sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production\n+\n ```\n \n ### 6. Update config files","new_path":"doc/update/5.4-to-6.0.md","old_path":"doc/update/5.4-to-6.0.md","a_mode":null,"b_mode":"100644","new_file":false,"renamed_file":false,"deleted_file":false}
0 [{"id":1,"iid":1,"project_id":1,"title":"Title","description":"","state":"merged","created_at":"2018-05-15T18:38:47.192Z","updated_at":"2018-05-15T18:39:19.621Z","target_branch":"a","source_branch":"b","upvotes":0,"downvotes":0,"author":{"id":1,"name":"admin","username":"admin","state":"active","avatar_url":"https://gitlab.example.com/uploads/-/system/user/avatar/1/avatar.png","web_url":"https://gitlab.example.com/admin"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"8d35ce134dc1dc52b8060c413a8a47964e1d5c92","merge_commit_sha":"ca0eedb9ca03107d1bb62a4c98498bc35b2e17eb","user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"web_url":"https://gitlab.example.com/example-group/example-project/merge_requests/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"approvals_before_merge":null,"squash":false},{"id":2,"iid":2,"project_id":1,"title":"Title","description":"","state":"merged","created_at":"2018-05-15T18:39:39.528Z","updated_at":"2018-05-15T18:39:47.013Z","target_branch":"master","source_branch":"a","upvotes":0,"downvotes":0,"author":{"id":2,"name":"admin2","username":"admin2","state":"active","avatar_url":"https://gitlab.example.com/uploads/-/system/user/avatar/2/avatar.png","web_url":"https://gitlab.example.com/admin2"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"ca0eedb9ca03107d1bb62a4c98498bc35b2e17eb","merge_commit_sha":"a5d1608991cec904a63c95eeed59d14caef43336","user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"web_url":"https://gitlab.example.com/example-group/example-project/merge_requests/2","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"approvals_before_merge":null,"squash":false}]
0 [{"id":1,"iid":1,"project_id":1,"title":"Title","description":"","state":"merged","created_at":"2018-05-15T18:38:47.192Z","updated_at":"2018-05-15T18:39:19.621Z","target_branch":"a","source_branch":"b","upvotes":0,"downvotes":0,"author":{"id":1,"name":"admin","username":"admin","state":"active","avatar_url":"https://gitlab.example.com/uploads/-/system/user/avatar/1/avatar.png","web_url":"https://gitlab.example.com/admin"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"8d35ce134dc1dc52b8060c413a8a47964e1d5c92","merge_commit_sha":"ca0eedb9ca03107d1bb62a4c98498bc35b2e17eb","user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"web_url":"https://gitlab.example.com/example-group/example-project/merge_requests/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"approvals_before_merge":null,"squash":false},{"id":2,"iid":2,"project_id":1,"title":"Title","description":"","state":"merged","created_at":"2018-05-15T18:39:39.528Z","updated_at":"2018-05-15T18:39:47.013Z","target_branch":"master","source_branch":"a","upvotes":0,"downvotes":0,"author":{"id":2,"name":"admin2","username":"admin2","state":"active","avatar_url":"https://gitlab.example.com/uploads/-/system/user/avatar/2/avatar.png","web_url":"https://gitlab.example.com/admin2"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"ca0eedb9ca03107d1bb62a4c98498bc35b2e17eb","merge_commit_sha":"a5d1608991cec904a63c95eeed59d14caef43336","user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"web_url":"https://gitlab.example.com/example-group/example-project/merge_requests/2","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"approvals_before_merge":null,"squash":false}]
0 [
1 {
2 "type": "branch",
3 "name": "12-1-stable"
4 },
5 {
6 "type": "branch",
7 "name": "12-1-stable-prepare-rc23"
8 },
9 {
10 "type": "tag",
11 "name": "v12.1.0"
12 },
13 {
14 "type": "tag",
15 "name": "v12.1.0-rc22"
16 },
17 {
18 "type": "tag",
19 "name": "v12.1.0-rc23"
20 }
21 ]
0 [{"type":"branch","name":"12-1-stable"},{"type":"branch","name":"12-1-stable-prepare-rc23"},{"type":"tag","name":"v12.1.0"},{"type":"tag","name":"v12.1.0-rc22"},{"type":"tag","name":"v12.1.0-rc23"}]
0 [
1 {
2 "id": 496,
3 "sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
4 "ref": "decreased-spec",
5 "status": "failed",
6 "name": "test",
7 "target_url": null,
8 "description": null,
9 "created_at": "2015-10-23T23:35:48.693+02:00",
10 "started_at": null,
11 "finished_at": "2015-10-23T23:35:48.716+02:00",
12 "author": {
13 "name": "Dominik Sander",
14 "username": "dsander",
15 "id": 1,
16 "state": "active",
17 "avatar_url": "https://secure.gravatar.com/avatar/xxxxx?s=40&d=identicon",
18 "web_url": "https://github.com/u/dsander"
19 }
20 },
21 {
22 "id": 493,
23 "sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
24 "ref": "decreased-spec",
25 "status": "success",
26 "name": "specs",
27 "target_url": "https://github.com/dsander/omniauth/builds/493",
28 "description": null,
29 "created_at": "2015-10-23T21:39:19.384+02:00",
30 "started_at": "2015-10-23T21:39:21.900+02:00",
31 "finished_at": "2015-10-23T21:39:35.215+02:00",
32 "author": {
33 "name": "Dominik Sander",
34 "username": "dsander",
35 "id": 1,
36 "state": "active",
37 "avatar_url": "https://secure.gravatar.com/avatar/xxxxx?s=40&d=identicon",
38 "web_url": "https://github.com/u/dsander"
39 }
40 }
41 ]
0 [{"id":496,"sha":"7d938cb8ac15788d71f4b67c035515a160ea76d8","ref":"decreased-spec","status":"failed","name":"test","target_url":null,"description":null,"created_at":"2015-10-23T23:35:48.693+02:00","started_at":null,"finished_at":"2015-10-23T23:35:48.716+02:00","author":{"name":"Dominik Sander","username":"dsander","id":1,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/xxxxx?s=40&d=identicon","web_url":"https://github.com/u/dsander"}},{"id":493,"sha":"7d938cb8ac15788d71f4b67c035515a160ea76d8","ref":"decreased-spec","status":"success","name":"specs","target_url":"https://github.com/dsander/omniauth/builds/493","description":null,"created_at":"2015-10-23T21:39:19.384+02:00","started_at":"2015-10-23T21:39:21.900+02:00","finished_at":"2015-10-23T21:39:35.215+02:00","author":{"name":"Dominik Sander","username":"dsander","id":1,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/xxxxx?s=40&d=identicon","web_url":"https://github.com/u/dsander"}}]
0 {
1 "id":3,
2 "code":"gitlab",
3 "name":"Gitlab-edit",
4 "description":null,
5 "path":"gitlab",
6 "default_branch":null,
7 "owner":{
8 "id":1,
9 "email":"john@example.com",
10 "name":"John Smith",
11 "blocked":false,
12 "created_at":"2012-09-17T09:41:56Z"
13 },
14 "visibility":"private",
15 "issues_enabled":true,
16 "merge_requests_enabled":true,
17 "wall_enabled":true,
18 "wiki_enabled":true,
19 "created_at":"2012-09-17T09:41:58Z"
20 }
0 {"id":3,"code":"gitlab","name":"Gitlab-edit","description":null,"path":"gitlab","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"visibility":"private","issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:58Z"}
0 [
1 {
2 "title":null,
3 "project_id":1,
4 "action_name":"opened",
5 "target_id":160,
6 "target_iid":160,
7 "target_type":"Issue",
8 "author_id":25,
9 "target_title":"Qui natus eos odio tempore et quaerat consequuntur ducimus cupiditate quis.",
10 "created_at":"2017-02-09T10:43:19.667Z",
11 "author":{
12 "name":"User 3",
13 "username":"user3",
14 "id":25,
15 "state":"active",
16 "avatar_url":"http://www.gravatar.com/avatar/97d6d9441ff85fdc730e02a6068d267b?s=80\u0026d=identicon",
17 "web_url":"https://gitlab.example.com/user3"
18 },
19 "author_username":"user3"
20 },
21 {
22 "title":null,
23 "project_id":1,
24 "action_name":"opened",
25 "target_id":159,
26 "target_iid":159,
27 "target_type":"Issue",
28 "author_id":21,
29 "target_title":"Nostrum enim non et sed optio illo deleniti non.",
30 "created_at":"2017-02-09T10:43:19.426Z",
31 "author":{
32 "name":"Test User",
33 "username":"ted",
34 "id":21,
35 "state":"active",
36 "avatar_url":"http://www.gravatar.com/avatar/80fb888c9a48b9a3f87477214acaa63f?s=80\u0026d=identicon",
37 "web_url":"https://gitlab.example.com/ted"
38 },
39 "author_username":"ted"
40 },
41 {
42 "title": null,
43 "project_id": 1,
44 "action_name": "commented on",
45 "target_id": 1312,
46 "target_iid": 1312,
47 "target_type": "Note",
48 "author_id": 1,
49 "data": null,
50 "target_title": null,
51 "created_at": "2015-12-04T10:33:58.089Z",
52 "note": {
53 "id": 1312,
54 "body": "What an awesome day!",
55 "attachment": null,
56 "author": {
57 "name": "Dmitriy Zaporozhets",
58 "username": "root",
59 "id": 1,
60 "state": "active",
61 "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
62 "web_url": "http://localhost:3000/root"
63 },
64 "created_at": "2015-12-04T10:33:56.698Z",
65 "system": false,
66 "noteable_id": 377,
67 "noteable_type": "Issue",
68 "noteable_iid": 377
69 },
70 "author": {
71 "name": "Dmitriy Zaporozhets",
72 "username": "root",
73 "id": 1,
74 "state": "active",
75 "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
76 "web_url": "http://localhost:3000/root"
77 },
78 "author_username": "root"
79 }
80 ]
0 [{"title":null,"project_id":1,"action_name":"opened","target_id":160,"target_iid":160,"target_type":"Issue","author_id":25,"target_title":"Qui natus eos odio tempore et quaerat consequuntur ducimus cupiditate quis.","created_at":"2017-02-09T10:43:19.667Z","author":{"name":"User 3","username":"user3","id":25,"state":"active","avatar_url":"http://www.gravatar.com/avatar/97d6d9441ff85fdc730e02a6068d267b?s=80&d=identicon","web_url":"https://gitlab.example.com/user3"},"author_username":"user3"},{"title":null,"project_id":1,"action_name":"opened","target_id":159,"target_iid":159,"target_type":"Issue","author_id":21,"target_title":"Nostrum enim non et sed optio illo deleniti non.","created_at":"2017-02-09T10:43:19.426Z","author":{"name":"Test User","username":"ted","id":21,"state":"active","avatar_url":"http://www.gravatar.com/avatar/80fb888c9a48b9a3f87477214acaa63f?s=80&d=identicon","web_url":"https://gitlab.example.com/ted"},"author_username":"ted"},{"title":null,"project_id":1,"action_name":"commented on","target_id":1312,"target_iid":1312,"target_type":"Note","author_id":1,"data":null,"target_title":null,"created_at":"2015-12-04T10:33:58.089Z","note":{"id":1312,"body":"What an awesome day!","attachment":null,"author":{"name":"Dmitriy Zaporozhets","username":"root","id":1,"state":"active","avatar_url":"http://localhost:3000/uploads/user/avatar/1/fox_avatar.png","web_url":"http://localhost:3000/root"},"created_at":"2015-12-04T10:33:56.698Z","system":false,"noteable_id":377,"noteable_type":"Issue","noteable_iid":377},"author":{"name":"Dmitriy Zaporozhets","username":"root","id":1,"state":"active","avatar_url":"http://localhost:3000/uploads/user/avatar/1/fox_avatar.png","web_url":"http://localhost:3000/root"},"author_username":"root"}]
0 {"id":1,"code":"brute","name":"Brute","description":null,"path":"brute","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Owner","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"private":true,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:56Z"}
0 {"id":1,"code":"brute","name":"Brute","description":null,"path":"brute","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Owner","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"private":true,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:56Z"}
0 {
1 "id":20,
2 "description":"desc",
3 "default_branch":"master",
4 "tag_list":[
5
6 ],
7 "public":false,
8 "archived":false,
9 "visibility_level":10,
10 "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
11 "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
12 "web_url":"http://git.gitlab.com/root/gitlab",
13 "owner":{
14 "name":"Administrator",
15 "username":"root",
16 "id":1,
17 "state":"active",
18 "avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"
19 },
20 "name":"gitlab",
21 "name_with_namespace":"Administrator / gitlab",
22 "path":"gitlab",
23 "path_with_namespace":"root/gitlab",
24 "issues_enabled":true,
25 "merge_requests_enabled":true,
26 "wiki_enabled":true,
27 "snippets_enabled":false,
28 "created_at":"2015-06-08T01:29:17.190Z",
29 "last_activity_at":"2015-06-08T01:29:17.190Z",
30 "creator_id":1,
31 "namespace":{
32 "id":1,
33 "name":"root",
34 "path":"root",
35 "owner_id":1,
36 "created_at":"2015-05-28T19:23:40.445Z",
37 "updated_at":"2015-05-28T19:23:40.445Z",
38 "description":"",
39 "avatar":null
40 },
41 "forked_from_project":{
42 "id":3,
43 "name":"Gitlab",
44 "name_with_namespace":"Root / gitlab",
45 "path":"gitlab",
46 "path_with_namespace":"root/gitlab"
47 },
48 "avatar_url":null
49 }
0 {"id":20,"description":"desc","default_branch":"master","tag_list":[],"public":false,"archived":false,"visibility_level":10,"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git","http_url_to_repo":"http://git.gitlab.com/root/gitlab.git","web_url":"http://git.gitlab.com/root/gitlab","owner":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"},"name":"gitlab","name_with_namespace":"Administrator / gitlab","path":"gitlab","path_with_namespace":"root/gitlab","issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"created_at":"2015-06-08T01:29:17.190Z","last_activity_at":"2015-06-08T01:29:17.190Z","creator_id":1,"namespace":{"id":1,"name":"root","path":"root","owner_id":1,"created_at":"2015-05-28T19:23:40.445Z","updated_at":"2015-05-28T19:23:40.445Z","description":"","avatar":null},"forked_from_project":{"id":3,"name":"Gitlab","name_with_namespace":"Root / gitlab","path":"gitlab","path_with_namespace":"root/gitlab"},"avatar_url":null}
0 {
1 "id":20,
2 "description":"desc",
3 "default_branch":"master",
4 "tag_list":[
5
6 ],
7 "public":false,
8 "archived":false,
9 "visibility_level":10,
10 "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
11 "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
12 "web_url":"http://git.gitlab.com/root/gitlab",
13 "owner":{
14 "name":"Jack Smith",
15 "username":"jack.smith",
16 "id":2,
17 "state":"active",
18 "avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"
19 },
20 "name":"gitlab",
21 "name_with_namespace":"Jack Smith / gitlab",
22 "path":"gitlab",
23 "path_with_namespace":"jack.smith/gitlab",
24 "issues_enabled":true,
25 "merge_requests_enabled":true,
26 "wiki_enabled":true,
27 "snippets_enabled":false,
28 "created_at":"2015-06-08T01:29:17.190Z",
29 "last_activity_at":"2015-06-08T01:29:17.190Z",
30 "creator_id":1,
31 "namespace":{
32 "id":1,
33 "name":"jack.smith",
34 "path":"jack.smith",
35 "owner_id":2,
36 "created_at":"2015-05-28T19:23:40.445Z",
37 "updated_at":"2015-05-28T19:23:40.445Z",
38 "description":"",
39 "avatar":null
40 },
41 "forked_from_project":{
42 "id":3,
43 "name":"Gitlab",
44 "name_with_namespace":"Root / gitlab",
45 "path":"gitlab",
46 "path_with_namespace":"root/gitlab"
47 },
48 "avatar_url":null
49 }
0 {"id":20,"description":"desc","default_branch":"master","tag_list":[],"public":false,"archived":false,"visibility_level":10,"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git","http_url_to_repo":"http://git.gitlab.com/root/gitlab.git","web_url":"http://git.gitlab.com/root/gitlab","owner":{"name":"Jack Smith","username":"jack.smith","id":2,"state":"active","avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"},"name":"gitlab","name_with_namespace":"Jack Smith / gitlab","path":"gitlab","path_with_namespace":"jack.smith/gitlab","issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"created_at":"2015-06-08T01:29:17.190Z","last_activity_at":"2015-06-08T01:29:17.190Z","creator_id":1,"namespace":{"id":1,"name":"jack.smith","path":"jack.smith","owner_id":2,"created_at":"2015-05-28T19:23:40.445Z","updated_at":"2015-05-28T19:23:40.445Z","description":"","avatar":null},"forked_from_project":{"id":3,"name":"Gitlab","name_with_namespace":"Root / gitlab","path":"gitlab","path_with_namespace":"root/gitlab"},"avatar_url":null}
0 [{
1 "id":20,
2 "description":"desc",
3 "default_branch":"master",
4 "tag_list":[
5
6 ],
7 "public":false,
8 "archived":false,
9 "visibility_level":10,
10 "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
11 "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
12 "web_url":"http://git.gitlab.com/root/gitlab",
13 "owner":{
14 "name":"Administrator",
15 "username":"root",
16 "id":1,
17 "state":"active",
18 "avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"
19 },
20 "name":"gitlab",
21 "name_with_namespace":"Administrator / gitlab",
22 "path":"gitlab",
23 "path_with_namespace":"root/gitlab",
24 "issues_enabled":true,
25 "merge_requests_enabled":true,
26 "wiki_enabled":true,
27 "snippets_enabled":false,
28 "created_at":"2015-06-08T01:29:17.190Z",
29 "last_activity_at":"2015-06-08T01:29:17.190Z",
30 "creator_id":1,
31 "namespace":{
32 "id":1,
33 "name":"root",
34 "path":"root",
35 "owner_id":1,
36 "created_at":"2015-05-28T19:23:40.445Z",
37 "updated_at":"2015-05-28T19:23:40.445Z",
38 "description":"",
39 "avatar":null
40 },
41 "forked_from_project":{
42 "id":3,
43 "name":"Gitlab",
44 "name_with_namespace":"Root / gitlab",
45 "path":"gitlab",
46 "path_with_namespace":"root/gitlab"
47 },
48 "avatar_url":null
49 }]
0 [{"id":20,"description":"desc","default_branch":"master","tag_list":[],"public":false,"archived":false,"visibility_level":10,"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git","http_url_to_repo":"http://git.gitlab.com/root/gitlab.git","web_url":"http://git.gitlab.com/root/gitlab","owner":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"},"name":"gitlab","name_with_namespace":"Administrator / gitlab","path":"gitlab","path_with_namespace":"root/gitlab","issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"created_at":"2015-06-08T01:29:17.190Z","last_activity_at":"2015-06-08T01:29:17.190Z","creator_id":1,"namespace":{"id":1,"name":"root","path":"root","owner_id":1,"created_at":"2015-05-28T19:23:40.445Z","updated_at":"2015-05-28T19:23:40.445Z","description":"","avatar":null},"forked_from_project":{"id":3,"name":"Gitlab","name_with_namespace":"Root / gitlab","path":"gitlab","path_with_namespace":"root/gitlab"},"avatar_url":null}]
0 {"id":1,"url":"https://api.example.net/v1/webhooks/ci"}
0 {"id":1,"url":"https://api.example.net/v1/webhooks/ci"}
0 [
1 {
2 "id": 84,
3 "iid": 14,
4 "issue_link_id": 1,
5 "project_id": 4,
6 "created_at": "2016-01-07T12:44:33.959Z",
7 "title": "Issues with auth",
8 "state": "opened",
9 "assignees": [],
10 "assignee": null,
11 "labels": [
12 "bug"
13 ],
14 "author": {
15 "name": "Alexandra Bashirian",
16 "avatar_url": null,
17 "state": "active",
18 "web_url": "https://gitlab.example.com/eileen.lowe",
19 "id": 18,
20 "username": "eileen.lowe"
21 },
22 "description": null,
23 "updated_at": "2016-01-07T12:44:33.959Z",
24 "milestone": null,
25 "subscribed": true,
26 "user_notes_count": 0,
27 "due_date": null,
28 "web_url": "http://example.com/example/example/issues/14",
29 "confidential": false,
30 "weight": null
31 }
32 ]
0 [{"id":84,"iid":14,"issue_link_id":1,"project_id":4,"created_at":"2016-01-07T12:44:33.959Z","title":"Issues with auth","state":"opened","assignees":[],"assignee":null,"labels":["bug"],"author":{"name":"Alexandra Bashirian","avatar_url":null,"state":"active","web_url":"https://gitlab.example.com/eileen.lowe","id":18,"username":"eileen.lowe"},"description":null,"updated_at":"2016-01-07T12:44:33.959Z","milestone":null,"subscribed":true,"user_notes_count":0,"due_date":null,"web_url":"http://example.com/example/example/issues/14","confidential":false,"weight":null}]
0 {
1 "id": 2,
2 "title": "Key Title",
3 "key": "ssh-rsa ...",
4 "can_push": false,
5 "created_at": "2013-09-22T18:34:32Z"
6 }
0 {"id":2,"title":"Key Title","key":"ssh-rsa ...","can_push":false,"created_at":"2013-09-22T18:34:32Z"}
0 {
1 "id": 2,
2 "title": "New key name",
3 "key": "ssh-rsa ...",
4 "can_push": true,
5 "created_at": "2013-09-22T18:34:32Z"
6 }
0 {"id":2,"title":"New key name","key":"ssh-rsa ...","can_push":true,"created_at":"2013-09-22T18:34:32Z"}
0 [{
1 "id": 2,
2 "title": "Key Title",
3 "key": "ssh-rsa ...",
4 "can_push": false,
5 "created_at": "2013-09-22T18:34:32Z"
6 }]
0 [{"id":2,"title":"Key Title","key":"ssh-rsa ...","can_push":false,"created_at":"2013-09-22T18:34:32Z"}]
0 [{"id":1,"name":"security","rule_type":"regular","eligible_approvers":[{"id":5,"name":"John Doe","username":"jdoe","state":"active","avatar_url":"https://www.gravatar.com/avatar/0?s=80&d=identicon","web_url":"http://localhost/jdoe"},{"id":50,"name":"Group Member 1","username":"group_member_1","state":"active","avatar_url":"https://www.gravatar.com/avatar/0?s=80&d=identicon","web_url":"http://localhost/group_member_1"}],"approvals_required":3,"users":[{"id":5,"name":"John Doe","username":"jdoe","state":"active","avatar_url":"https://www.gravatar.com/avatar/0?s=80&d=identicon","web_url":"http://localhost/jdoe"}],"groups":[{"id":5,"name":"group1","path":"group1","description":"","visibility":"public","lfs_enabled":false,"avatar_url":null,"web_url":"http://localhost/groups/group1","request_access_enabled":false,"full_name":"group1","full_path":"group1","parent_id":null,"ldap_cn":null,"ldap_access":null}],"protected_branches":[{"id":1,"name":"master","push_access_levels":[{"access_level":30,"access_level_description":"Developers + Maintainers"}],"merge_access_levels":[{"access_level":30,"access_level_description":"Developers + Maintainers"}],"unprotect_access_levels":[{"access_level":40,"access_level_description":"Maintainers"}],"code_owner_approval_required":"false"}],"contains_hidden_groups":false}]
0 {
1 "approvers": [
2 {
3 "user": {
4 "id": 5,
5 "name": "John Doe6",
6 "username": "user5",
7 "state":"active","avatar_url":"https://www.gravatar.com/avatar/4aea8cf834ed91844a2da4ff7ae6b491?s=80\u0026d=identicon","web_url":"http://localhost/user5"
8 }
9 }
10 ],
11 "approver_groups": [
12 {
13 "group": {
14 "id": 1,
15 "name": "group1",
16 "path": "group1",
17 "description": "",
18 "visibility": "public",
19 "lfs_enabled": false,
20 "avatar_url": null,
21 "web_url": "http://localhost/groups/group1",
22 "request_access_enabled": false,
23 "full_name": "group1",
24 "full_path": "group1",
25 "parent_id": null,
26 "ldap_cn": null,
27 "ldap_access": null
28 }
29 }
30 ],
31 "approvals_before_merge": 3,
32 "reset_approvals_on_push": false,
33 "disable_overriding_approvers_per_merge_request": true
34 }
0 {"approvers":[{"user":{"id":5,"name":"John Doe6","username":"user5","state":"active","avatar_url":"https://www.gravatar.com/avatar/4aea8cf834ed91844a2da4ff7ae6b491?s=80&d=identicon","web_url":"http://localhost/user5"}}],"approver_groups":[{"group":{"id":1,"name":"group1","path":"group1","description":"","visibility":"public","lfs_enabled":false,"avatar_url":null,"web_url":"http://localhost/groups/group1","request_access_enabled":false,"full_name":"group1","full_path":"group1","parent_id":null,"ldap_cn":null,"ldap_access":null}}],"approvals_before_merge":3,"reset_approvals_on_push":false,"disable_overriding_approvers_per_merge_request":true}
0 {
1 "tag_name":"v0.1",
2 "description":"## CHANGELOG\r\n\r\n- Remove limit of 100 when searching repository code. !8671\r\n- Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\r\n- Fix a bug where internal email pattern wasn't respected. !22516",
3 "name":"Awesome app v0.1 alpha",
4 "description_html":"\u003ch2 dir=\"auto\"\u003e\n\u003ca id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"\u003e\u003c/a\u003eCHANGELOG\u003c/h2\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eRemove limit of 100 when searching repository code. !8671\u003c/li\u003e\n\u003cli\u003eShow error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\u003c/li\u003e\n\u003cli\u003eFix a bug where internal email pattern wasn't respected. !22516\u003c/li\u003e\n\u003c/ul\u003e",
5 "created_at":"2019-01-03T01:55:18.203Z",
6 "author":{
7 "id":1,
8 "name":"Administrator",
9 "username":"root",
10 "state":"active",
11 "avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon",
12 "web_url":"http://localhost:3000/root"
13 },
14 "commit":{
15 "id":"f8d3d94cbd347e924aa7b715845e439d00e80ca4",
16 "short_id":"f8d3d94c",
17 "title":"Initial commit",
18 "created_at":"2019-01-03T01:53:28.000Z",
19 "parent_ids":[
20
21 ],
22 "message":"Initial commit",
23 "author_name":"Administrator",
24 "author_email":"admin@example.com",
25 "authored_date":"2019-01-03T01:53:28.000Z",
26 "committer_name":"Administrator",
27 "committer_email":"admin@example.com",
28 "committed_date":"2019-01-03T01:53:28.000Z"
29 },
30 "assets":{
31 "count":4,
32 "sources":[
33 {
34 "format":"zip",
35 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.zip"
36 },
37 {
38 "format":"tar.gz",
39 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.gz"
40 },
41 {
42 "format":"tar.bz2",
43 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.bz2"
44 },
45 {
46 "format":"tar",
47 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar"
48 }
49 ],
50 "links":[
51
52 ]
53 }
54 }
0 {"tag_name":"v0.1","description":"## CHANGELOG\r\n\r\n- Remove limit of 100 when searching repository code. !8671\r\n- Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\r\n- Fix a bug where internal email pattern wasn't respected. !22516","name":"Awesome app v0.1 alpha","description_html":"<h2 dir=\"auto\">\n<a id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"></a>CHANGELOG</h2>\n<ul dir=\"auto\">\n<li>Remove limit of 100 when searching repository code. !8671</li>\n<li>Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)</li>\n<li>Fix a bug where internal email pattern wasn't respected. !22516</li>\n</ul>","created_at":"2019-01-03T01:55:18.203Z","author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"commit":{"id":"f8d3d94cbd347e924aa7b715845e439d00e80ca4","short_id":"f8d3d94c","title":"Initial commit","created_at":"2019-01-03T01:53:28.000Z","parent_ids":[],"message":"Initial commit","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-01-03T01:53:28.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-01-03T01:53:28.000Z"},"assets":{"count":4,"sources":[{"format":"zip","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.zip"},{"format":"tar.gz","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.gz"},{"format":"tar.bz2","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.bz2"},{"format":"tar","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar"}],"links":[]}}
0 {
1 "id":1,
2 "name":"awesome-v0.2.dmg",
3 "url":"http://192.168.10.15:3000",
4 "external":true
5 }
0 {"id":1,"name":"awesome-v0.2.dmg","url":"http://192.168.10.15:3000","external":true}
0 [
1 {
2 "id":2,
3 "name":"awesome-v0.2.msi",
4 "url":"http://192.168.10.15:3000/msi",
5 "external":true
6 },
7 {
8 "id":1,
9 "name":"awesome-v0.2.dmg",
10 "url":"http://192.168.10.15:3000",
11 "external":true
12 }
13 ]
0 [{"id":2,"name":"awesome-v0.2.msi","url":"http://192.168.10.15:3000/msi","external":true},{"id":1,"name":"awesome-v0.2.dmg","url":"http://192.168.10.15:3000","external":true}]
0 {
1 "tag_name":"v0.1",
2 "description":"## CHANGELOG\r\n\r\n- Remove limit of 100 when searching repository code. !8671\r\n- Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\r\n- Fix a bug where internal email pattern wasn't respected. !22516",
3 "name":"Awesome app v0.1 alpha",
4 "description_html":"\u003ch2 dir=\"auto\"\u003e\n\u003ca id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"\u003e\u003c/a\u003eCHANGELOG\u003c/h2\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eRemove limit of 100 when searching repository code. !8671\u003c/li\u003e\n\u003cli\u003eShow error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\u003c/li\u003e\n\u003cli\u003eFix a bug where internal email pattern wasn't respected. !22516\u003c/li\u003e\n\u003c/ul\u003e",
5 "created_at":"2019-01-03T01:55:18.203Z",
6 "author":{
7 "id":1,
8 "name":"Administrator",
9 "username":"root",
10 "state":"active",
11 "avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon",
12 "web_url":"http://localhost:3000/root"
13 },
14 "commit":{
15 "id":"f8d3d94cbd347e924aa7b715845e439d00e80ca4",
16 "short_id":"f8d3d94c",
17 "title":"Initial commit",
18 "created_at":"2019-01-03T01:53:28.000Z",
19 "parent_ids":[
20
21 ],
22 "message":"Initial commit",
23 "author_name":"Administrator",
24 "author_email":"admin@example.com",
25 "authored_date":"2019-01-03T01:53:28.000Z",
26 "committer_name":"Administrator",
27 "committer_email":"admin@example.com",
28 "committed_date":"2019-01-03T01:53:28.000Z"
29 },
30 "assets":{
31 "count":4,
32 "sources":[
33 {
34 "format":"zip",
35 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.zip"
36 },
37 {
38 "format":"tar.gz",
39 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.gz"
40 },
41 {
42 "format":"tar.bz2",
43 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.bz2"
44 },
45 {
46 "format":"tar",
47 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar"
48 }
49 ],
50 "links":[
51 {
52 "id":2,
53 "name":"awesome-v0.2.msi",
54 "url":"http://192.168.10.15:3000/msi",
55 "external":true
56 },
57 {
58 "id":1,
59 "name":"awesome-v0.2.dmg",
60 "url":"http://192.168.10.15:3000",
61 "external":true
62 }
63 ]
64 }
65 }
0 {"tag_name":"v0.1","description":"## CHANGELOG\r\n\r\n- Remove limit of 100 when searching repository code. !8671\r\n- Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\r\n- Fix a bug where internal email pattern wasn't respected. !22516","name":"Awesome app v0.1 alpha","description_html":"<h2 dir=\"auto\">\n<a id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"></a>CHANGELOG</h2>\n<ul dir=\"auto\">\n<li>Remove limit of 100 when searching repository code. !8671</li>\n<li>Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)</li>\n<li>Fix a bug where internal email pattern wasn't respected. !22516</li>\n</ul>","created_at":"2019-01-03T01:55:18.203Z","author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"commit":{"id":"f8d3d94cbd347e924aa7b715845e439d00e80ca4","short_id":"f8d3d94c","title":"Initial commit","created_at":"2019-01-03T01:53:28.000Z","parent_ids":[],"message":"Initial commit","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-01-03T01:53:28.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-01-03T01:53:28.000Z"},"assets":{"count":4,"sources":[{"format":"zip","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.zip"},{"format":"tar.gz","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.gz"},{"format":"tar.bz2","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.bz2"},{"format":"tar","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar"}],"links":[{"id":2,"name":"awesome-v0.2.msi","url":"http://192.168.10.15:3000/msi","external":true},{"id":1,"name":"awesome-v0.2.dmg","url":"http://192.168.10.15:3000","external":true}]}}
0 [
1 {
2 "tag_name":"v0.2",
3 "description":"## CHANGELOG\r\n\r\n- Escape label and milestone titles to prevent XSS in GFM autocomplete. !2740\r\n- Prevent private snippets from being embeddable.\r\n- Add subresources removal to member destroy service.",
4 "name":"Awesome app v0.2 beta",
5 "description_html":"\u003ch2 dir=\"auto\"\u003e\n\u003ca id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"\u003e\u003c/a\u003eCHANGELOG\u003c/h2\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eEscape label and milestone titles to prevent XSS in GFM autocomplete. !2740\u003c/li\u003e\n\u003cli\u003ePrevent private snippets from being embeddable.\u003c/li\u003e\n\u003cli\u003eAdd subresources removal to member destroy service.\u003c/li\u003e\n\u003c/ul\u003e",
6 "created_at":"2019-01-03T01:56:19.539Z",
7 "author":{
8 "id":1,
9 "name":"Administrator",
10 "username":"root",
11 "state":"active",
12 "avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon",
13 "web_url":"http://localhost:3000/root"
14 },
15 "commit":{
16 "id":"079e90101242458910cccd35eab0e211dfc359c0",
17 "short_id":"079e9010",
18 "title":"Update README.md",
19 "created_at":"2019-01-03T01:55:38.000Z",
20 "parent_ids":[
21 "f8d3d94cbd347e924aa7b715845e439d00e80ca4"
22 ],
23 "message":"Update README.md",
24 "author_name":"Administrator",
25 "author_email":"admin@example.com",
26 "authored_date":"2019-01-03T01:55:38.000Z",
27 "committer_name":"Administrator",
28 "committer_email":"admin@example.com",
29 "committed_date":"2019-01-03T01:55:38.000Z"
30 },
31 "assets":{
32 "count":6,
33 "sources":[
34 {
35 "format":"zip",
36 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.zip"
37 },
38 {
39 "format":"tar.gz",
40 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.tar.gz"
41 },
42 {
43 "format":"tar.bz2",
44 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.tar.bz2"
45 },
46 {
47 "format":"tar",
48 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.tar"
49 }
50 ],
51 "links":[
52 {
53 "id":2,
54 "name":"awesome-v0.2.msi",
55 "url":"http://192.168.10.15:3000/msi",
56 "external":true
57 },
58 {
59 "id":1,
60 "name":"awesome-v0.2.dmg",
61 "url":"http://192.168.10.15:3000",
62 "external":true
63 }
64 ]
65 }
66 },
67 {
68 "tag_name":"v0.1",
69 "description":"## CHANGELOG\r\n\r\n-Remove limit of 100 when searching repository code. !8671\r\n- Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\r\n- Fix a bug where internal email pattern wasn't respected. !22516",
70 "name":"Awesome app v0.1 alpha",
71 "description_html":"\u003ch2 dir=\"auto\"\u003e\n\u003ca id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"\u003e\u003c/a\u003eCHANGELOG\u003c/h2\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eRemove limit of 100 when searching repository code. !8671\u003c/li\u003e\n\u003cli\u003eShow error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\u003c/li\u003e\n\u003cli\u003eFix a bug where internal email pattern wasn't respected. !22516\u003c/li\u003e\n\u003c/ul\u003e",
72 "created_at":"2019-01-03T01:55:18.203Z",
73 "author":{
74 "id":1,
75 "name":"Administrator",
76 "username":"root",
77 "state":"active",
78 "avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon",
79 "web_url":"http://localhost:3000/root"
80 },
81 "commit":{
82 "id":"f8d3d94cbd347e924aa7b715845e439d00e80ca4",
83 "short_id":"f8d3d94c",
84 "title":"Initial commit",
85 "created_at":"2019-01-03T01:53:28.000Z",
86 "parent_ids":[
87
88 ],
89 "message":"Initial commit",
90 "author_name":"Administrator",
91 "author_email":"admin@example.com",
92 "authored_date":"2019-01-03T01:53:28.000Z",
93 "committer_name":"Administrator",
94 "committer_email":"admin@example.com",
95 "committed_date":"2019-01-03T01:53:28.000Z"
96 },
97 "assets":{
98 "count":4,
99 "sources":[
100 {
101 "format":"zip",
102 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.zip"
103 },
104 {
105 "format":"tar.gz",
106 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.gz"
107 },
108 {
109 "format":"tar.bz2",
110 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.bz2"
111 },
112 {
113 "format":"tar",
114 "url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar"
115 }
116 ],
117 "links":[
118
119 ]
120 }
121 }
122 ]
0 [{"tag_name":"v0.2","description":"## CHANGELOG\r\n\r\n- Escape label and milestone titles to prevent XSS in GFM autocomplete. !2740\r\n- Prevent private snippets from being embeddable.\r\n- Add subresources removal to member destroy service.","name":"Awesome app v0.2 beta","description_html":"<h2 dir=\"auto\">\n<a id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"></a>CHANGELOG</h2>\n<ul dir=\"auto\">\n<li>Escape label and milestone titles to prevent XSS in GFM autocomplete. !2740</li>\n<li>Prevent private snippets from being embeddable.</li>\n<li>Add subresources removal to member destroy service.</li>\n</ul>","created_at":"2019-01-03T01:56:19.539Z","author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"commit":{"id":"079e90101242458910cccd35eab0e211dfc359c0","short_id":"079e9010","title":"Update README.md","created_at":"2019-01-03T01:55:38.000Z","parent_ids":["f8d3d94cbd347e924aa7b715845e439d00e80ca4"],"message":"Update README.md","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-01-03T01:55:38.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-01-03T01:55:38.000Z"},"assets":{"count":6,"sources":[{"format":"zip","url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.zip"},{"format":"tar.gz","url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.tar.gz"},{"format":"tar.bz2","url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.tar.bz2"},{"format":"tar","url":"http://localhost:3000/root/awesome-app/-/archive/v0.2/awesome-app-v0.2.tar"}],"links":[{"id":2,"name":"awesome-v0.2.msi","url":"http://192.168.10.15:3000/msi","external":true},{"id":1,"name":"awesome-v0.2.dmg","url":"http://192.168.10.15:3000","external":true}]}},{"tag_name":"v0.1","description":"## CHANGELOG\r\n\r\n-Remove limit of 100 when searching repository code. !8671\r\n- Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)\r\n- Fix a bug where internal email pattern wasn't respected. !22516","name":"Awesome app v0.1 alpha","description_html":"<h2 dir=\"auto\">\n<a id=\"user-content-changelog\" class=\"anchor\" href=\"#changelog\" aria-hidden=\"true\"></a>CHANGELOG</h2>\n<ul dir=\"auto\">\n<li>Remove limit of 100 when searching repository code. !8671</li>\n<li>Show error message when attempting to reopen an MR and there is an open MR for the same branch. !16447 (Akos Gyimesi)</li>\n<li>Fix a bug where internal email pattern wasn't respected. !22516</li>\n</ul>","created_at":"2019-01-03T01:55:18.203Z","author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"commit":{"id":"f8d3d94cbd347e924aa7b715845e439d00e80ca4","short_id":"f8d3d94c","title":"Initial commit","created_at":"2019-01-03T01:53:28.000Z","parent_ids":[],"message":"Initial commit","author_name":"Administrator","author_email":"admin@example.com","authored_date":"2019-01-03T01:53:28.000Z","committer_name":"Administrator","committer_email":"admin@example.com","committed_date":"2019-01-03T01:53:28.000Z"},"assets":{"count":4,"sources":[{"format":"zip","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.zip"},{"format":"tar.gz","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.gz"},{"format":"tar.bz2","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar.bz2"},{"format":"tar","url":"http://localhost:3000/root/awesome-app/-/archive/v0.1/awesome-app-v0.1.tar"}],"links":[]}}]
0 {
1 "active": true,
2 "description": "test-2016-02-01",
3 "id": 9,
4 "is_shared": false,
5 "name": null
6 }
0 {"active":true,"description":"test-2016-02-01","id":9,"is_shared":false,"name":null}
0 [
1 {
2 "active": true,
3 "description": "test-2-20150125",
4 "id": 8,
5 "is_shared": false,
6 "name": null
7 },
8 {
9 "active": true,
10 "description": "development_runner",
11 "id": 5,
12 "is_shared": true,
13 "name": null
14 }
15 ]
0 [{"active":true,"description":"test-2-20150125","id":8,"is_shared":false,"name":null},{"active":true,"description":"development_runner","id":5,"is_shared":true,"name":null}]
0 [{"id":3,"code":"gitlab","name":"Gitlab","description":null,"path":"gitlab","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"private":true,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:58Z"}]
0 [{"id":3,"code":"gitlab","name":"Gitlab","description":null,"path":"gitlab","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"private":true,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:58Z"}]
0 {
1 "id": 3,
2 "description": null,
3 "default_branch": "master",
4 "public": false,
5 "visibility_level": 10,
6 "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
7 "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
8 "web_url":"http://git.gitlab.com/root/gitlab",
9 "tag_list": [
10
11 ],
12 "name": "GitLab Community Edition",
13 "name_with_namespace": "GitLab / GitLab Community Edition",
14 "path": "gitlab-ce",
15 "path_with_namespace": "gitlab/gitlab-ce",
16 "issues_enabled": true,
17 "open_issues_count": 1,
18 "merge_requests_enabled": true,
19 "builds_enabled": true,
20 "wiki_enabled": true,
21 "snippets_enabled": false,
22 "container_registry_enabled": false,
23 "created_at": "2013-09-30T13:46:02Z",
24 "last_activity_at": "2013-09-30T13:46:02Z",
25 "creator_id": 3,
26 "namespace": {
27 "created_at": "2013-09-30T13:46:02Z",
28 "description": "",
29 "id": 3,
30 "name": "GitLab",
31 "owner_id": 1,
32 "path": "gitlab",
33 "updated_at": "2013-09-30T13:46:02Z"
34 },
35 "archived": true,
36 "avatar_url": "http://example.com/uploads/project/avatar/3/uploads/avatar.png",
37 "shared_runners_enabled": true,
38 "forks_count": 0,
39 "star_count": 1,
40 "public_builds": true,
41 "shared_with_groups": [],
42 "only_allow_merge_if_build_succeeds": false
43 }
0 {"id":3,"description":null,"default_branch":"master","public":false,"visibility_level":10,"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git","http_url_to_repo":"http://git.gitlab.com/root/gitlab.git","web_url":"http://git.gitlab.com/root/gitlab","tag_list":[],"name":"GitLab Community Edition","name_with_namespace":"GitLab / GitLab Community Edition","path":"gitlab-ce","path_with_namespace":"gitlab/gitlab-ce","issues_enabled":true,"open_issues_count":1,"merge_requests_enabled":true,"builds_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"container_registry_enabled":false,"created_at":"2013-09-30T13:46:02Z","last_activity_at":"2013-09-30T13:46:02Z","creator_id":3,"namespace":{"created_at":"2013-09-30T13:46:02Z","description":"","id":3,"name":"GitLab","owner_id":1,"path":"gitlab","updated_at":"2013-09-30T13:46:02Z"},"archived":true,"avatar_url":"http://example.com/uploads/project/avatar/3/uploads/avatar.png","shared_runners_enabled":true,"forks_count":0,"star_count":1,"public_builds":true,"shared_with_groups":[],"only_allow_merge_if_build_succeeds":false}
0 {"name": "v1.1.0","message": "Release 1.1.0","commit": {"id": "2695effb5807a22ff3d138d593fd856244e155e7","parents": [],"message": "Initial commit","authored_date": "2012-05-28T04:42:42-07:00","author_name": "John Smith","author email": "john@example.com","committer_name": "Jack Smith","committed_date": "2012-05-28T04:42:42-07:00","committer_email": "jack@example.com"}}
0 {"name":"v1.1.0","message":"Release 1.1.0","commit":{"id":"2695effb5807a22ff3d138d593fd856244e155e7","parents":[],"message":"Initial commit","authored_date":"2012-05-28T04:42:42-07:00","author_name":"John Smith","author email":"john@example.com","committer_name":"Jack Smith","committed_date":"2012-05-28T04:42:42-07:00","committer_email":"jack@example.com"}}
0 {"name": "v1.0.0","message": null,"commit": {"id": "2695effb5807a22ff3d138d593fd856244e155e7","parents": [],"message": "Initial commit","authored_date": "2012-05-28T04:42:42-07:00","author_name": "John Smith","author email": "john@example.com","committer_name": "Jack Smith","committed_date": "2012-05-28T04:42:42-07:00","committer_email": "jack@example.com"}}
0 {"name":"v1.0.0","message":null,"commit":{"id":"2695effb5807a22ff3d138d593fd856244e155e7","parents":[],"message":"Initial commit","authored_date":"2012-05-28T04:42:42-07:00","author_name":"John Smith","author email":"john@example.com","committer_name":"Jack Smith","committed_date":"2012-05-28T04:42:42-07:00","committer_email":"jack@example.com"}}
0 [
1 {
2 "key": "epl-1.0",
3 "name": "Eclipse Public License 1.0"
4 },
5 {
6 "key": "lgpl-3.0",
7 "name": "GNU Lesser General Public License v3.0"
8 },
9 {
10 "key": "unlicense",
11 "name": "The Unlicense"
12 },
13 {
14 "key": "agpl-3.0",
15 "name": "GNU Affero General Public License v3.0"
16 },
17 {
18 "key": "gpl-3.0",
19 "name": "GNU General Public License v3.0"
20 },
21 {
22 "key": "bsd-3-clause",
23 "name": "BSD 3-clause \"New\" or \"Revised\" License"
24 },
25 {
26 "key": "lgpl-2.1",
27 "name": "GNU Lesser General Public License v2.1"
28 },
29 {
30 "key": "mit",
31 "name": "MIT License"
32 },
33 {
34 "key": "apache-2.0",
35 "name": "Apache License 2.0"
36 },
37 {
38 "key": "bsd-2-clause",
39 "name": "BSD 2-clause \"Simplified\" License"
40 },
41 {
42 "key": "mpl-2.0",
43 "name": "Mozilla Public License 2.0"
44 },
45 {
46 "key": "gpl-2.0",
47 "name": "GNU General Public License v2.0"
48 }
49 ]
0 [{"key":"epl-1.0","name":"Eclipse Public License 1.0"},{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0"},{"key":"unlicense","name":"The Unlicense"},{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0"},{"key":"gpl-3.0","name":"GNU General Public License v3.0"},{"key":"bsd-3-clause","name":"BSD 3-clause \"New\" or \"Revised\" License"},{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1"},{"key":"mit","name":"MIT License"},{"key":"apache-2.0","name":"Apache License 2.0"},{"key":"bsd-2-clause","name":"BSD 2-clause \"Simplified\" License"},{"key":"mpl-2.0","name":"Mozilla Public License 2.0"},{"key":"gpl-2.0","name":"GNU General Public License v2.0"}]
0 {
1 "id": 3,
2 "description": null,
3 "default_branch": "master",
4 "public": false,
5 "visibility_level": 10,
6 "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
7 "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
8 "web_url":"http://git.gitlab.com/root/gitlab",
9 "tag_list": [
10
11 ],
12 "name": "GitLab Community Edition",
13 "name_with_namespace": "GitLab / GitLab Community Edition",
14 "path": "gitlab-ce",
15 "path_with_namespace": "gitlab/gitlab-ce",
16 "issues_enabled": true,
17 "open_issues_count": 1,
18 "merge_requests_enabled": true,
19 "builds_enabled": true,
20 "wiki_enabled": true,
21 "snippets_enabled": false,
22 "container_registry_enabled": false,
23 "created_at": "2013-09-30T13:46:02Z",
24 "last_activity_at": "2013-09-30T13:46:02Z",
25 "creator_id": 3,
26 "namespace": {
27 "created_at": "2013-09-30T13:46:02Z",
28 "description": "",
29 "id": 3,
30 "name": "GitLab",
31 "owner_id": 1,
32 "path": "gitlab",
33 "updated_at": "2013-09-30T13:46:02Z"
34 },
35 "archived": false,
36 "avatar_url": "http://example.com/uploads/project/avatar/3/uploads/avatar.png",
37 "shared_runners_enabled": true,
38 "forks_count": 0,
39 "star_count": 0,
40 "public_builds": true,
41 "shared_with_groups": [],
42 "only_allow_merge_if_build_succeeds": false
43 }
0 {"id":3,"description":null,"default_branch":"master","public":false,"visibility_level":10,"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git","http_url_to_repo":"http://git.gitlab.com/root/gitlab.git","web_url":"http://git.gitlab.com/root/gitlab","tag_list":[],"name":"GitLab Community Edition","name_with_namespace":"GitLab / GitLab Community Edition","path":"gitlab-ce","path_with_namespace":"gitlab/gitlab-ce","issues_enabled":true,"open_issues_count":1,"merge_requests_enabled":true,"builds_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"container_registry_enabled":false,"created_at":"2013-09-30T13:46:02Z","last_activity_at":"2013-09-30T13:46:02Z","creator_id":3,"namespace":{"created_at":"2013-09-30T13:46:02Z","description":"","id":3,"name":"GitLab","owner_id":1,"path":"gitlab","updated_at":"2013-09-30T13:46:02Z"},"archived":false,"avatar_url":"http://example.com/uploads/project/avatar/3/uploads/avatar.png","shared_runners_enabled":true,"forks_count":0,"star_count":0,"public_builds":true,"shared_with_groups":[],"only_allow_merge_if_build_succeeds":false}
0 {
1 "id": 3,
2 "description": null,
3 "default_branch": "master",
4 "public": false,
5 "visibility_level": 10,
6 "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
7 "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
8 "web_url":"http://git.gitlab.com/root/gitlab",
9 "tag_list": [
10
11 ],
12 "name": "GitLab Community Edition",
13 "name_with_namespace": "GitLab / GitLab Community Edition",
14 "path": "gitlab-ce",
15 "path_with_namespace": "gitlab/gitlab-ce",
16 "issues_enabled": true,
17 "open_issues_count": 1,
18 "merge_requests_enabled": true,
19 "builds_enabled": true,
20 "wiki_enabled": true,
21 "snippets_enabled": false,
22 "container_registry_enabled": false,
23 "created_at": "2013-09-30T13:46:02Z",
24 "last_activity_at": "2013-09-30T13:46:02Z",
25 "creator_id": 3,
26 "namespace": {
27 "created_at": "2013-09-30T13:46:02Z",
28 "description": "",
29 "id": 3,
30 "name": "GitLab",
31 "owner_id": 1,
32 "path": "gitlab",
33 "updated_at": "2013-09-30T13:46:02Z"
34 },
35 "archived": true,
36 "avatar_url": "http://example.com/uploads/project/avatar/3/uploads/avatar.png",
37 "shared_runners_enabled": true,
38 "forks_count": 0,
39 "star_count": 0,
40 "public_builds": true,
41 "shared_with_groups": [],
42 "only_allow_merge_if_build_succeeds": false
43 }
0 {"id":3,"description":null,"default_branch":"master","public":false,"visibility_level":10,"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git","http_url_to_repo":"http://git.gitlab.com/root/gitlab.git","web_url":"http://git.gitlab.com/root/gitlab","tag_list":[],"name":"GitLab Community Edition","name_with_namespace":"GitLab / GitLab Community Edition","path":"gitlab-ce","path_with_namespace":"gitlab/gitlab-ce","issues_enabled":true,"open_issues_count":1,"merge_requests_enabled":true,"builds_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"container_registry_enabled":false,"created_at":"2013-09-30T13:46:02Z","last_activity_at":"2013-09-30T13:46:02Z","creator_id":3,"namespace":{"created_at":"2013-09-30T13:46:02Z","description":"","id":3,"name":"GitLab","owner_id":1,"path":"gitlab","updated_at":"2013-09-30T13:46:02Z"},"archived":true,"avatar_url":"http://example.com/uploads/project/avatar/3/uploads/avatar.png","shared_runners_enabled":true,"forks_count":0,"star_count":0,"public_builds":true,"shared_with_groups":[],"only_allow_merge_if_build_succeeds":false}
0 {
1 "id": 498,
2 "sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
3 "ref": "decreased-spec",
4 "status": "failed",
5 "name": "test",
6 "target_url": null,
7 "description": null,
8 "created_at": "2015-10-23T23:56:49.499+02:00",
9 "started_at": null,
10 "finished_at": "2015-10-23T23:56:49.534+02:00",
11 "author": {
12 "name": "Dominik Sander",
13 "username": "dsander",
14 "id": 1,
15 "state": "active",
16 "avatar_url": "https://secure.gravatar.com/avatar/xxx?s=40&d=identicon",
17 "web_url": "https://github.com/u/dsander"
18 }
19 }
0 {"id":498,"sha":"7d938cb8ac15788d71f4b67c035515a160ea76d8","ref":"decreased-spec","status":"failed","name":"test","target_url":null,"description":null,"created_at":"2015-10-23T23:56:49.499+02:00","started_at":null,"finished_at":"2015-10-23T23:56:49.534+02:00","author":{"name":"Dominik Sander","username":"dsander","id":1,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/xxx?s=40&d=identicon","web_url":"https://github.com/u/dsander"}}
0 {
1 "name": "master",
2 "push_access_levels": [
3 {
4 "access_level": 40,
5 "access_level_description": "Maintainers"
6 }
7 ],
8 "merge_access_levels": [
9 {
10 "access_level": 40,
11 "access_level_description": "Maintainers"
12 }
13 ]
14 }
0 {"name":"master","push_access_levels":[{"access_level":40,"access_level_description":"Maintainers"}],"merge_access_levels":[{"access_level":40,"access_level_description":"Maintainers"}]}
0 [
1 {
2 "name": "master",
3 "push_access_levels": [
4 {
5 "access_level": 40,
6 "access_level_description": "Maintainers"
7 }
8 ],
9 "merge_access_levels": [
10 {
11 "access_level": 40,
12 "access_level_description": "Maintainers"
13 }
14 ]
15 }
16 ]
0 [{"name":"master","push_access_levels":[{"access_level":40,"access_level_description":"Maintainers"}],"merge_access_levels":[{"access_level":40,"access_level_description":"Maintainers"}]}]
0 {
1 "name": "release-1-0",
2 "create_access_levels": [
3 {
4 "access_level": 40,
5 "access_level_description": "Maintainers"
6 }
7 ]
8 }
0 {"name":"release-1-0","create_access_levels":[{"access_level":40,"access_level_description":"Maintainers"}]}
0 [
1 {
2 "name": "release-1-0",
3 "create_access_levels": [
4 {
5 "access_level": 40,
6 "access_level_description": "Maintainers"
7 }
8 ]
9 }
10 ]
0 [{"name":"release-1-0","create_access_levels":[{"access_level":40,"access_level_description":"Maintainers"}]}]
0 [{"author":{"avatar_url":"http://www.gravatar.com/avatar/edaf55a9e363ea263e3b981d09e0f7f7?s=80&d=identicon","id":12,"name":"Libby Rolfson","state":"active","username":"elton_wehner","web_url":"http://example.com/elton_wehner"},"created_at":"2016-11-25T16:53:34.504Z","file_name":"oconnerrice.rb","id":49,"title":"Ratione cupiditate et laborum temporibus.","updated_at":"2016-11-25T16:53:34.504Z","project_id":null,"web_url":"http://example.com/snippets/49","raw_url":"http://example.com/snippets/49/raw"},{"author":{"avatar_url":"http://www.gravatar.com/avatar/36583b28626de71061e6e5a77972c3bd?s=80&d=identicon","id":16,"name":"Llewellyn Flatley","state":"active","username":"adaline","web_url":"http://example.com/adaline"},"created_at":"2016-11-25T16:53:34.479Z","file_name":"muellershields.rb","id":48,"title":"Minus similique nesciunt vel fugiat qui ullam sunt.","updated_at":"2016-11-25T16:53:34.479Z","project_id":null,"web_url":"http://example.com/snippets/48","raw_url":"http://example.com/snippets/49/raw","visibility":"public"}]
0 {"id": 1, "project_id": 1, "created_at": "2016-05-25T20:27:15.545Z", "commit_message_regex": "\\b[A-Z]{3}-[0-9]+\\b", "deny_delete_tag": false}
0 {"id":1,"project_id":1,"created_at":"2016-05-25T20:27:15.545Z","commit_message_regex":"\\b[A-Z]{3}-[0-9]+\\b","deny_delete_tag":false}
+0
-2
spec/fixtures/raw_file.json less more
0 source 'https://rubygems.org'
1 gem 'rails', '4.1.2'
0 source 'https://rubygems.org'
1 gem 'rails', '4.1.2'
0 {
1 "id": "12345",
2 "token": "6337ff461c94fd3fa32ba3b1ff4125"
3 }
0 {"id":"12345","token":"6337ff461c94fd3fa32ba3b1ff4125"}
0 [
1 {
2 "id": 1,
3 "name": "",
4 "path": "group/project",
5 "location": "gitlab.example.com:5000/group/project",
6 "created_at": "2019-01-10T13:38:57.391Z"
7 },
8 {
9 "id": 2,
10 "name": "releases",
11 "path": "group/project/releases",
12 "location": "gitlab.example.com:5000/group/project/releases",
13 "created_at": "2019-01-10T13:39:08.229Z"
14 }
15 ]
0 [{"id":1,"name":"","path":"group/project","location":"gitlab.example.com:5000/group/project","created_at":"2019-01-10T13:38:57.391Z"},{"id":2,"name":"releases","path":"group/project/releases","location":"gitlab.example.com:5000/group/project/releases","created_at":"2019-01-10T13:39:08.229Z"}]
0 {
1 "name": "v10.0.0",
2 "path": "group/project:latest",
3 "location": "gitlab.example.com:5000/group/project:latest",
4 "revision": "e9ed9d87c881d8c2fd3a31b41904d01ba0b836e7fd15240d774d811a1c248181",
5 "short_revision": "e9ed9d87c",
6 "digest": "sha256:c3490dcf10ffb6530c1303522a1405dfaf7daecd8f38d3e6a1ba19ea1f8a1751",
7 "created_at": "2019-01-06T16:49:51.272+00:00",
8 "total_size": 350224384
9 }
0 {"name":"v10.0.0","path":"group/project:latest","location":"gitlab.example.com:5000/group/project:latest","revision":"e9ed9d87c881d8c2fd3a31b41904d01ba0b836e7fd15240d774d811a1c248181","short_revision":"e9ed9d87c","digest":"sha256:c3490dcf10ffb6530c1303522a1405dfaf7daecd8f38d3e6a1ba19ea1f8a1751","created_at":"2019-01-06T16:49:51.272+00:00","total_size":350224384}
0 [
1 {
2 "name": "A",
3 "path": "group/project:A",
4 "location": "gitlab.example.com:5000/group/project:A"
5 },
6 {
7 "name": "latest",
8 "path": "group/project:latest",
9 "location": "gitlab.example.com:5000/group/project:latest"
10 }
11 ]
0 [{"name":"A","path":"group/project:A","location":"gitlab.example.com:5000/group/project:A"},{"name":"latest","path":"group/project:latest","location":"gitlab.example.com:5000/group/project:latest"}]
0 {"tag_name":"0.0.1","description":"Amazing release. Wow"}
0 {"tag_name":"0.0.1","description":"Amazing release. Wow"}
0 {"tag_name":"0.0.1","description":"Amazing release. Wow"}
0 {"tag_name":"0.0.1","description":"Amazing release. Wow"}
0 {"file_path":"path","branch_name":"branch","encoding":"base64","content":"Y29udGVudA==","commit_message":"commit message"}
0 {"file_path":"path","branch_name":"branch","encoding":"base64","content":"Y29udGVudA==","commit_message":"commit message"}
0 {
1 "id": "ed899a2f4b50b4370feeea94676502b42383c746",
2 "short_id": "ed899a2f4b5",
3 "title": "Updated submodule example_submodule with oid 3ddec28ea23acc5caa5d8331a6ecb2a65fc03e88",
4 "author_name": "Dmitriy Zaporozhets",
5 "author_email": "dzaporozhets@sphereconsultinginc.com",
6 "committer_name": "Dmitriy Zaporozhets",
7 "committer_email": "dzaporozhets@sphereconsultinginc.com",
8 "created_at": "2018-09-20T09:26:24.000-07:00",
9 "message": "Updated submodule example_submodule with oid 3ddec28ea23acc5caa5d8331a6ecb2a65fc03e88",
10 "parent_ids": [
11 "ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"
12 ],
13 "committed_date": "2018-09-20T09:26:24.000-07:00",
14 "authored_date": "2018-09-20T09:26:24.000-07:00",
15 "status": null
16 }
0 {"id":"ed899a2f4b50b4370feeea94676502b42383c746","short_id":"ed899a2f4b5","title":"Updated submodule example_submodule with oid 3ddec28ea23acc5caa5d8331a6ecb2a65fc03e88","author_name":"Dmitriy Zaporozhets","author_email":"dzaporozhets@sphereconsultinginc.com","committer_name":"Dmitriy Zaporozhets","committer_email":"dzaporozhets@sphereconsultinginc.com","created_at":"2018-09-20T09:26:24.000-07:00","message":"Updated submodule example_submodule with oid 3ddec28ea23acc5caa5d8331a6ecb2a65fc03e88","parent_ids":["ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"],"committed_date":"2018-09-20T09:26:24.000-07:00","authored_date":"2018-09-20T09:26:24.000-07:00","status":null}
0 {
1 "id": 142,
2 "user": {
3 "id": 1,
4 "name": "Administrator",
5 "username": "root",
6 "state": "active",
7 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
8 "web_url": "http://gitlab.example.com/root"
9 },
10 "created_at": "2018-08-20T13:38:20.077Z",
11 "resource_type": "Issue",
12 "resource_id": 253,
13 "label": {
14 "id": 73,
15 "name": "a1",
16 "color": "#34495E",
17 "description": ""
18 },
19 "action": "add"
20 }
0 {"id":142,"user":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2018-08-20T13:38:20.077Z","resource_type":"Issue","resource_id":253,"label":{"id":73,"name":"a1","color":"#34495E","description":""},"action":"add"}
0 [
1 {
2 "id": 142,
3 "user": {
4 "id": 1,
5 "name": "Administrator",
6 "username": "root",
7 "state": "active",
8 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
9 "web_url": "http://gitlab.example.com/root"
10 },
11 "created_at": "2018-08-20T13:38:20.077Z",
12 "resource_type": "Issue",
13 "resource_id": 253,
14 "label": {
15 "id": 73,
16 "name": "a1",
17 "color": "#34495E",
18 "description": ""
19 },
20 "action": "add"
21 },
22 {
23 "id": 143,
24 "user": {
25 "id": 1,
26 "name": "Administrator",
27 "username": "root",
28 "state": "active",
29 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
30 "web_url": "http://gitlab.example.com/root"
31 },
32 "created_at": "2018-08-20T13:38:20.077Z",
33 "resource_type": "Issue",
34 "resource_id": 253,
35 "label": {
36 "id": 74,
37 "name": "p1",
38 "color": "#0033CC",
39 "description": ""
40 },
41 "action": "remove"
42 }
43 ]
0 [{"id":142,"user":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2018-08-20T13:38:20.077Z","resource_type":"Issue","resource_id":253,"label":{"id":73,"name":"a1","color":"#34495E","description":""},"action":"add"},{"id":143,"user":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2018-08-20T13:38:20.077Z","resource_type":"Issue","resource_id":253,"label":{"id":74,"name":"p1","color":"#0033CC","description":""},"action":"remove"}]
0 {"id":8,"variables":{"a":"10"}}
0 {"id":8,"variables":{"a":"10"}}
0 {
1 "active": true,
2 "architecture": null,
3 "description": "test-1-20150125",
4 "id": 6,
5 "is_shared": false,
6 "contacted_at": "2016-01-25T16:39:48.066Z",
7 "name": null,
8 "platform": null,
9 "projects": [
10 {
11 "id": 1,
12 "name": "GitLab Community Edition",
13 "name_with_namespace": "GitLab.org / GitLab Community Edition",
14 "path": "gitlab-ce",
15 "path_with_namespace": "gitlab-org/gitlab-ce"
16 }
17 ],
18 "token": "205086a8e3b9a2b818ffac9b89d102",
19 "revision": null,
20 "tag_list": [
21 "ruby",
22 "mysql"
23 ],
24 "version": null
25 }
0 {"active":true,"architecture":null,"description":"test-1-20150125","id":6,"is_shared":false,"contacted_at":"2016-01-25T16:39:48.066Z","name":null,"platform":null,"projects":[{"id":1,"name":"GitLab Community Edition","name_with_namespace":"GitLab.org / GitLab Community Edition","path":"gitlab-ce","path_with_namespace":"gitlab-org/gitlab-ce"}],"token":"205086a8e3b9a2b818ffac9b89d102","revision":null,"tag_list":["ruby","mysql"],"version":null}
0 {
1 "active": true,
2 "description": "test-1-20150125-test",
3 "id": 6,
4 "is_shared": false,
5 "name": null
6 }
0 {"active":true,"description":"test-1-20150125-test","id":6,"is_shared":false,"name":null}
0 {
1 "active": true,
2 "architecture": null,
3 "description": "abcefg",
4 "id": 6,
5 "is_shared": false,
6 "contacted_at": "2016-01-25T16:39:48.066Z",
7 "name": null,
8 "platform": null,
9 "projects": [
10 {
11 "id": 1,
12 "name": "GitLab Community Edition",
13 "name_with_namespace": "GitLab.org / GitLab Community Edition",
14 "path": "gitlab-ce",
15 "path_with_namespace": "gitlab-org/gitlab-ce"
16 }
17 ],
18 "token": "205086a8e3b9a2b818ffac9b89d102",
19 "revision": null,
20 "tag_list": [
21 "ruby",
22 "mysql"
23 ],
24 "version": null
25 }
0 {"active":true,"architecture":null,"description":"abcefg","id":6,"is_shared":false,"contacted_at":"2016-01-25T16:39:48.066Z","name":null,"platform":null,"projects":[{"id":1,"name":"GitLab Community Edition","name_with_namespace":"GitLab.org / GitLab Community Edition","path":"gitlab-ce","path_with_namespace":"gitlab-org/gitlab-ce"}],"token":"205086a8e3b9a2b818ffac9b89d102","revision":null,"tag_list":["ruby","mysql"],"version":null}
0 [
1 {
2 "id": 2,
3 "status": "running",
4 "stage": "test",
5 "name": "test",
6 "ref": "master",
7 "tag": false,
8 "coverage": null,
9 "created_at": "2017-11-16T08:50:29.000Z",
10 "started_at": "2017-11-16T08:51:29.000Z",
11 "finished_at": "2017-11-16T08:53:29.000Z",
12 "duration": 120,
13 "user": {
14 "id": 1,
15 "name": "John Doe2",
16 "username": "user2",
17 "state": "active",
18 "avatar_url": "http://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=80&d=identicon",
19 "web_url": "http://localhost/user2",
20 "created_at": "2017-11-16T18:38:46.000Z",
21 "bio": null,
22 "location": null,
23 "skype": "",
24 "linkedin": "",
25 "twitter": "",
26 "website_url": "",
27 "organization": null
28 },
29 "commit": {
30 "id": "97de212e80737a608d939f648d959671fb0a0142",
31 "short_id": "97de212e",
32 "title": "Update configuration\r",
33 "created_at": "2017-11-16T08:50:28.000Z",
34 "parent_ids": [
35 "1b12f15a11fc6e62177bef08f47bc7b5ce50b141",
36 "498214de67004b1da3d820901307bed2a68a8ef6"
37 ],
38 "message": "See merge request !123",
39 "author_name": "John Doe2",
40 "author_email": "user2@example.org",
41 "authored_date": "2017-11-16T08:50:27.000Z",
42 "committer_name": "John Doe2",
43 "committer_email": "user2@example.org",
44 "committed_date": "2017-11-16T08:50:27.000Z"
45 },
46 "pipeline": {
47 "id": 2,
48 "sha": "97de212e80737a608d939f648d959671fb0a0142",
49 "ref": "master",
50 "status": "running"
51 },
52 "project": {
53 "id": 1,
54 "description": null,
55 "name": "project1",
56 "name_with_namespace": "John Doe2 / project1",
57 "path": "project1",
58 "path_with_namespace": "namespace1/project1",
59 "created_at": "2017-11-16T18:38:46.620Z"
60 }
61 }
62 ]
0 [{"id":2,"status":"running","stage":"test","name":"test","ref":"master","tag":false,"coverage":null,"created_at":"2017-11-16T08:50:29.000Z","started_at":"2017-11-16T08:51:29.000Z","finished_at":"2017-11-16T08:53:29.000Z","duration":120,"user":{"id":1,"name":"John Doe2","username":"user2","state":"active","avatar_url":"http://www.gravatar.com/avatar/c922747a93b40d1ea88262bf1aebee62?s=80&d=identicon","web_url":"http://localhost/user2","created_at":"2017-11-16T18:38:46.000Z","bio":null,"location":null,"skype":"","linkedin":"","twitter":"","website_url":"","organization":null},"commit":{"id":"97de212e80737a608d939f648d959671fb0a0142","short_id":"97de212e","title":"Update configuration\r","created_at":"2017-11-16T08:50:28.000Z","parent_ids":["1b12f15a11fc6e62177bef08f47bc7b5ce50b141","498214de67004b1da3d820901307bed2a68a8ef6"],"message":"See merge request !123","author_name":"John Doe2","author_email":"user2@example.org","authored_date":"2017-11-16T08:50:27.000Z","committer_name":"John Doe2","committer_email":"user2@example.org","committed_date":"2017-11-16T08:50:27.000Z"},"pipeline":{"id":2,"sha":"97de212e80737a608d939f648d959671fb0a0142","ref":"master","status":"running"},"project":{"id":1,"description":null,"name":"project1","name_with_namespace":"John Doe2 / project1","path":"project1","path_with_namespace":"namespace1/project1","created_at":"2017-11-16T18:38:46.620Z"}}]
0 [
1 {
2 "active": true,
3 "description": "test-1-20150125",
4 "id": 6,
5 "is_shared": false,
6 "name": null
7 },
8 {
9 "active": true,
10 "description": "test-2-20150125",
11 "id": 8,
12 "is_shared": false,
13 "name": null
14 }
15 ]
0 [{"active":true,"description":"test-1-20150125","id":6,"is_shared":false,"name":null},{"active":true,"description":"test-2-20150125","id":8,"is_shared":false,"name":null}]
0 [
1 {
2 "active": true,
3 "description": "shared-runner-1",
4 "id": 1,
5 "is_shared": true,
6 "name": null
7 },
8 {
9 "active": true,
10 "description": "shared-runner-2",
11 "id": 3,
12 "is_shared": true,
13 "name": null
14 },
15 {
16 "active": true,
17 "description": "test-1-20150125",
18 "id": 6,
19 "is_shared": false,
20 "name": null
21 },
22 {
23 "active": true,
24 "description": "test-2-20150125",
25 "id": 8,
26 "is_shared": false,
27 "name": null
28 }
29 ]
0 [{"active":true,"description":"shared-runner-1","id":1,"is_shared":true,"name":null},{"active":true,"description":"shared-runner-2","id":3,"is_shared":true,"name":null},{"active":true,"description":"test-1-20150125","id":6,"is_shared":false,"name":null},{"active":true,"description":"test-2-20150125","id":8,"is_shared":false,"name":null}]
0
1 [
2 {
3 "basename": "README",
4 "data": "```\n\n## Installation\n\nQuick start using the [pre-built",
5 "filename": "README.md",
6 "id": null,
7 "ref": "master",
8 "startline": 46,
9 "project_id": 6
10 }
11 ]
0 [{"basename":"README","data":"```\n\n## Installation\n\nQuick start using the [pre-built","filename":"README.md","id":null,"ref":"master","startline":46,"project_id":6}]
0
1 [
2 {
3 "id": "4109c2d872d5fdb1ed057400d103766aaea97f98",
4 "short_id": "4109c2d8",
5 "title": "goodbye $.browser",
6 "created_at": "2013-02-18T22:02:54.000Z",
7 "parent_ids": [
8 "59d05353ab575bcc2aa958fe1782e93297de64c9"
9 ],
10 "message": "goodbye $.browser\n",
11 "author_name": "angus croll",
12 "author_email": "anguscroll@gmail.com",
13 "authored_date": "2013-02-18T22:02:54.000Z",
14 "committer_name": "angus croll",
15 "committer_email": "anguscroll@gmail.com",
16 "committed_date": "2013-02-18T22:02:54.000Z",
17 "project_id": 6
18 }
19 ]
0 [{"id":"4109c2d872d5fdb1ed057400d103766aaea97f98","short_id":"4109c2d8","title":"goodbye $.browser","created_at":"2013-02-18T22:02:54.000Z","parent_ids":["59d05353ab575bcc2aa958fe1782e93297de64c9"],"message":"goodbye $.browser\n","author_name":"angus croll","author_email":"anguscroll@gmail.com","authored_date":"2013-02-18T22:02:54.000Z","committer_name":"angus croll","committer_email":"anguscroll@gmail.com","committed_date":"2013-02-18T22:02:54.000Z","project_id":6}]
0 [
1 {
2 "id": 83,
3 "iid": 1,
4 "project_id": 12,
5 "title": "Add file",
6 "description": "Add first file",
7 "state": "opened",
8 "created_at": "2018-01-24T06:02:15.514Z",
9 "updated_at": "2018-02-06T12:36:23.263Z",
10 "closed_at": null,
11 "labels":[],
12 "milestone": null,
13 "assignees": [{
14 "id": 20,
15 "name": "Ceola Deckow",
16 "username": "sammy.collier",
17 "state": "active",
18 "avatar_url": "https://www.gravatar.com/avatar/c23d85a4f50e0ea76ab739156c639231?s=80&d=identicon",
19 "web_url": "http://localhost:3000/sammy.collier"
20 }],
21 "author": {
22 "id": 1,
23 "name": "Administrator",
24 "username": "root",
25 "state": "active",
26 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
27 "web_url": "http://localhost:3000/root"
28 },
29 "assignee": {
30 "id": 20,
31 "name": "Ceola Deckow",
32 "username": "sammy.collier",
33 "state": "active",
34 "avatar_url": "https://www.gravatar.com/avatar/c23d85a4f50e0ea76ab739156c639231?s=80&d=identicon",
35 "web_url": "http://localhost:3000/sammy.collier"
36 },
37 "user_notes_count": 0,
38 "upvotes": 0,
39 "downvotes": 0,
40 "due_date": null,
41 "confidential": false,
42 "discussion_locked": null,
43 "web_url": "http://localhost:3000/h5bp/7bp/subgroup-prj/issues/1",
44 "time_stats": {
45 "time_estimate": 0,
46 "total_time_spent": 0,
47 "human_time_estimate": null,
48 "human_total_time_spent": null
49 }
50 }
51 ]
0 [{"id":83,"iid":1,"project_id":12,"title":"Add file","description":"Add first file","state":"opened","created_at":"2018-01-24T06:02:15.514Z","updated_at":"2018-02-06T12:36:23.263Z","closed_at":null,"labels":[],"milestone":null,"assignees":[{"id":20,"name":"Ceola Deckow","username":"sammy.collier","state":"active","avatar_url":"https://www.gravatar.com/avatar/c23d85a4f50e0ea76ab739156c639231?s=80&d=identicon","web_url":"http://localhost:3000/sammy.collier"}],"author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"assignee":{"id":20,"name":"Ceola Deckow","username":"sammy.collier","state":"active","avatar_url":"https://www.gravatar.com/avatar/c23d85a4f50e0ea76ab739156c639231?s=80&d=identicon","web_url":"http://localhost:3000/sammy.collier"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"discussion_locked":null,"web_url":"http://localhost:3000/h5bp/7bp/subgroup-prj/issues/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null}}]
0 [
1 {
2 "id": 56,
3 "iid": 8,
4 "project_id": 6,
5 "title": "Add first file",
6 "description": "This is a test MR to add file",
7 "state": "opened",
8 "created_at": "2018-01-22T14:21:50.830Z",
9 "updated_at": "2018-02-06T12:40:33.295Z",
10 "target_branch": "master",
11 "source_branch": "jaja-test",
12 "upvotes": 0,
13 "downvotes": 0,
14 "author": {
15 "id": 1,
16 "name": "Administrator",
17 "username": "root",
18 "state": "active",
19 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
20 "web_url": "http://localhost:3000/root"
21 },
22 "assignee": {
23 "id": 5,
24 "name": "Jacquelyn Kutch",
25 "username": "abigail",
26 "state": "active",
27 "avatar_url": "https://www.gravatar.com/avatar/3138c66095ee4bd11a508c2f7f7772da?s=80&d=identicon",
28 "web_url": "http://localhost:3000/abigail"
29 },
30 "source_project_id": 6,
31 "target_project_id": 6,
32 "labels": [
33 "ruby",
34 "tests"
35 ],
36 "work_in_progress": false,
37 "milestone": {
38 "id": 13,
39 "iid": 3,
40 "project_id": 6,
41 "title": "v2.0",
42 "description": "Qui aut qui eos dolor beatae itaque tempore molestiae.",
43 "state": "active",
44 "created_at": "2017-09-05T07:58:29.099Z",
45 "updated_at": "2017-09-05T07:58:29.099Z",
46 "due_date": null,
47 "start_date": null
48 },
49 "merge_when_pipeline_succeeds": false,
50 "merge_status": "can_be_merged",
51 "sha": "78765a2d5e0a43585945c58e61ba2f822e4d090b",
52 "merge_commit_sha": null,
53 "user_notes_count": 0,
54 "discussion_locked": null,
55 "should_remove_source_branch": null,
56 "force_remove_source_branch": true,
57 "web_url": "http://localhost:3000/twitter/flight/merge_requests/8",
58 "time_stats": {
59 "time_estimate": 0,
60 "total_time_spent": 0,
61 "human_time_estimate": null,
62 "human_total_time_spent": null
63 }
64 }
65 ]
0 [{"id":56,"iid":8,"project_id":6,"title":"Add first file","description":"This is a test MR to add file","state":"opened","created_at":"2018-01-22T14:21:50.830Z","updated_at":"2018-02-06T12:40:33.295Z","target_branch":"master","source_branch":"jaja-test","upvotes":0,"downvotes":0,"author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"assignee":{"id":5,"name":"Jacquelyn Kutch","username":"abigail","state":"active","avatar_url":"https://www.gravatar.com/avatar/3138c66095ee4bd11a508c2f7f7772da?s=80&d=identicon","web_url":"http://localhost:3000/abigail"},"source_project_id":6,"target_project_id":6,"labels":["ruby","tests"],"work_in_progress":false,"milestone":{"id":13,"iid":3,"project_id":6,"title":"v2.0","description":"Qui aut qui eos dolor beatae itaque tempore molestiae.","state":"active","created_at":"2017-09-05T07:58:29.099Z","updated_at":"2017-09-05T07:58:29.099Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"78765a2d5e0a43585945c58e61ba2f822e4d090b","merge_commit_sha":null,"user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"web_url":"http://localhost:3000/twitter/flight/merge_requests/8","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null}}]
0 [
1 {
2 "id": 44,
3 "iid": 1,
4 "project_id": 12,
5 "title": "next release",
6 "description": "Next release milestone",
7 "state": "active",
8 "created_at": "2018-02-06T12:43:39.271Z",
9 "updated_at": "2018-02-06T12:44:01.298Z",
10 "due_date": "2018-04-18",
11 "start_date": "2018-02-04"
12 }
13 ]
0 [{"id":44,"iid":1,"project_id":12,"title":"next release","description":"Next release milestone","state":"active","created_at":"2018-02-06T12:43:39.271Z","updated_at":"2018-02-06T12:44:01.298Z","due_date":"2018-04-18","start_date":"2018-02-04"}]
0 [
1 {
2 "id": 191,
3 "body": "Harum maxime consequuntur et et deleniti assumenda facilis.",
4 "attachment": null,
5 "author": {
6 "id": 23,
7 "name": "User 1",
8 "username": "user1",
9 "state": "active",
10 "avatar_url": "https://www.gravatar.com/avatar/111d68d06e2d317b5a59c2c6c5bad808?s=80&d=identicon",
11 "web_url": "http://localhost:3000/user1"
12 },
13 "created_at": "2017-09-05T08:01:32.068Z",
14 "updated_at": "2017-09-05T08:01:32.068Z",
15 "system": false,
16 "noteable_id": 22,
17 "noteable_type": "Issue",
18 "noteable_iid": 2
19 }
20 ]
0 [{"id":191,"body":"Harum maxime consequuntur et et deleniti assumenda facilis.","attachment":null,"author":{"id":23,"name":"User 1","username":"user1","state":"active","avatar_url":"https://www.gravatar.com/avatar/111d68d06e2d317b5a59c2c6c5bad808?s=80&d=identicon","web_url":"http://localhost:3000/user1"},"created_at":"2017-09-05T08:01:32.068Z","updated_at":"2017-09-05T08:01:32.068Z","system":false,"noteable_id":22,"noteable_type":"Issue","noteable_iid":2}]
0 [
1 {
2 "id": 6,
3 "description": "Nobis sed ipsam vero quod cupiditate veritatis hic.",
4 "name": "Flight",
5 "name_with_namespace": "Twitter / Flight",
6 "path": "flight",
7 "path_with_namespace": "twitter/flight",
8 "created_at": "2017-09-05T07:58:01.621Z",
9 "default_branch": "master",
10 "tag_list":[],
11 "ssh_url_to_repo": "ssh://jarka@localhost:2222/twitter/flight.git",
12 "http_url_to_repo": "http://localhost:3000/twitter/flight.git",
13 "web_url": "http://localhost:3000/twitter/flight",
14 "avatar_url": null,
15 "star_count": 0,
16 "forks_count": 0,
17 "last_activity_at": "2018-01-31T09:56:30.902Z"
18 }
19 ]
0 [{"id":6,"description":"Nobis sed ipsam vero quod cupiditate veritatis hic.","name":"Flight","name_with_namespace":"Twitter / Flight","path":"flight","path_with_namespace":"twitter/flight","created_at":"2017-09-05T07:58:01.621Z","default_branch":"master","tag_list":[],"ssh_url_to_repo":"ssh://jarka@localhost:2222/twitter/flight.git","http_url_to_repo":"http://localhost:3000/twitter/flight.git","web_url":"http://localhost:3000/twitter/flight","avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2018-01-31T09:56:30.902Z"}]
0 [
1 {
2 "id": 50,
3 "title": "Sample file",
4 "file_name": "file.rb",
5 "description": "Simple ruby file",
6 "author": {
7 "id": 1,
8 "name": "Administrator",
9 "username": "root",
10 "state": "active",
11 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
12 "web_url": "http://localhost:3000/root"
13 },
14 "updated_at": "2018-02-06T12:49:29.104Z",
15 "created_at": "2017-11-28T08:20:18.071Z",
16 "project_id": 9,
17 "web_url": "http://localhost:3000/root/jira-test/snippets/50"
18 }
19 ]
0 [{"id":50,"title":"Sample file","file_name":"file.rb","description":"Simple ruby file","author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"updated_at":"2018-02-06T12:49:29.104Z","created_at":"2017-11-28T08:20:18.071Z","project_id":9,"web_url":"http://localhost:3000/root/jira-test/snippets/50"}]
0 [
1 {
2 "id": 50,
3 "title": "Sample file",
4 "file_name": "file.rb",
5 "description": "Simple ruby file",
6 "author": {
7 "id": 1,
8 "name": "Administrator",
9 "username": "root",
10 "state": "active",
11 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
12 "web_url": "http://localhost:3000/root"
13 },
14 "updated_at": "2018-02-06T12:49:29.104Z",
15 "created_at": "2017-11-28T08:20:18.071Z",
16 "project_id": 9,
17 "web_url": "http://localhost:3000/root/jira-test/snippets/50"
18 }
19 ]
0 [{"id":50,"title":"Sample file","file_name":"file.rb","description":"Simple ruby file","author":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://localhost:3000/root"},"updated_at":"2018-02-06T12:49:29.104Z","created_at":"2017-11-28T08:20:18.071Z","project_id":9,"web_url":"http://localhost:3000/root/jira-test/snippets/50"}]
0
1 [
2 {
3 "basename": "home",
4 "data": "hello\n\nand bye\n\nend",
5 "filename": "home.md",
6 "id": null,
7 "ref": "master",
8 "startline": 5,
9 "project_id": 6
10 }
11 ]
0 [{"basename":"home","data":"hello\n\nand bye\n\nend","filename":"home.md","id":null,"ref":"master","startline":5,"project_id":6}]
+0
-2
spec/fixtures/shell_history.json less more
0 party on, dudes
1 be excellent to each other
0 party on, dudes
1 be excellent to each other
0 {
1 "queues": {
2 "default": {
3 "backlog": 0,
4 "latency": 0
5 }
6 },
7 "processes": [
8 {
9 "hostname": "gitlab.example.com",
10 "pid": 5649,
11 "tag": "gitlab",
12 "started_at": "2016-06-14T10:45:07.159-05:00",
13 "queues": [
14 "post_receive",
15 "mailers",
16 "archive_repo",
17 "system_hook",
18 "project_web_hook",
19 "gitlab_shell",
20 "incoming_email",
21 "runner",
22 "common",
23 "default"
24 ],
25 "labels": [],
26 "concurrency": 25,
27 "busy": 0
28 }
29 ],
30 "jobs": {
31 "processed": 2,
32 "failed": 0,
33 "enqueued": 0
34 }
35 }
0 {"queues":{"default":{"backlog":0,"latency":0}},"processes":[{"hostname":"gitlab.example.com","pid":5649,"tag":"gitlab","started_at":"2016-06-14T10:45:07.159-05:00","queues":["post_receive","mailers","archive_repo","system_hook","project_web_hook","gitlab_shell","incoming_email","runner","common","default"],"labels":[],"concurrency":25,"busy":0}],"jobs":{"processed":2,"failed":0,"enqueued":0}}
0 {
1 "jobs": {
2 "processed": 2,
3 "failed": 0,
4 "enqueued": 0
5 }
6 }
0 {"jobs":{"processed":2,"failed":0,"enqueued":0}}
0 {
1 "processes": [
2 {
3 "hostname": "gitlab.example.com",
4 "pid": 5649,
5 "tag": "gitlab",
6 "started_at": "2016-06-14T10:45:07.159-05:00",
7 "queues": [
8 "post_receive",
9 "mailers",
10 "archive_repo",
11 "system_hook",
12 "project_web_hook",
13 "gitlab_shell",
14 "incoming_email",
15 "runner",
16 "common",
17 "default"
18 ],
19 "labels": [],
20 "concurrency": 25,
21 "busy": 0
22 }
23 ]
24 }
0 {"processes":[{"hostname":"gitlab.example.com","pid":5649,"tag":"gitlab","started_at":"2016-06-14T10:45:07.159-05:00","queues":["post_receive","mailers","archive_repo","system_hook","project_web_hook","gitlab_shell","incoming_email","runner","common","default"],"labels":[],"concurrency":25,"busy":0}]}
0 {
1 "queues": {
2 "default": {
3 "backlog": 0,
4 "latency": 0
5 }
6 }
7 }
0 {"queues":{"default":{"backlog":0,"latency":0}}}
0 {
1 "id": 4,
2 "name": "blowfish",
3 "user": {
4 "name": "Administrator",
5 "username": "root",
6 "id": 1,
7 "state": "active",
8 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
9 "web_url": "http://gitlab.example.com/root"
10 },
11 "created_at": "2016-06-15T10:09:34.206Z",
12 "updated_at": "2016-06-15T10:09:34.206Z",
13 "awardable_id": 80,
14 "awardable_type": "Snippet"
15 }
0 {"id":4,"name":"blowfish","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2016-06-15T10:09:34.206Z","updated_at":"2016-06-15T10:09:34.206Z","awardable_id":80,"awardable_type":"Snippet"}
0 [
1 {
2 "id": 4,
3 "name": "1234",
4 "user": {
5 "name": "Administrator",
6 "username": "root",
7 "id": 1,
8 "state": "active",
9 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
10 "web_url": "http://gitlab.example.com/root"
11 },
12 "created_at": "2016-06-15T10:09:34.206Z",
13 "updated_at": "2016-06-15T10:09:34.206Z",
14 "awardable_id": 80,
15 "awardable_type": "Snippet"
16 },
17 {
18 "id": 1,
19 "name": "microphone",
20 "user": {
21 "name": "User 4",
22 "username": "user4",
23 "id": 26,
24 "state": "active",
25 "avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
26 "web_url": "http://gitlab.example.com/user4"
27 },
28 "created_at": "2016-06-15T10:09:34.177Z",
29 "updated_at": "2016-06-15T10:09:34.177Z",
30 "awardable_id": 80,
31 "awardable_type": "Snippet"
32 }
33 ]
0 [{"id":4,"name":"1234","user":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://gitlab.example.com/root"},"created_at":"2016-06-15T10:09:34.206Z","updated_at":"2016-06-15T10:09:34.206Z","awardable_id":80,"awardable_type":"Snippet"},{"id":1,"name":"microphone","user":{"name":"User 4","username":"user4","id":26,"state":"active","avatar_url":"http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon","web_url":"http://gitlab.example.com/user4"},"created_at":"2016-06-15T10:09:34.177Z","updated_at":"2016-06-15T10:09:34.177Z","awardable_id":80,"awardable_type":"Snippet"}]
0 {"user_agent":"AppleWebKit/537.36","ip_address":"127.0.0.1","akismet_submitted":false}
0 [{"id":1,"title":"Rails Console ActionMailer","file_name":"mailer_test.rb","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"expires_at":"2012-09-24T00:00:00Z","updated_at":"2012-09-17T09:51:42Z","created_at":"2012-09-17T09:51:42Z"}]
0 [{"id":1,"title":"Rails Console ActionMailer","file_name":"mailer_test.rb","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"expires_at":"2012-09-24T00:00:00Z","updated_at":"2012-09-17T09:51:42Z","created_at":"2012-09-17T09:51:42Z"}]
0 {"id": 3, "url": "http://example.com/hook", "created_at": "2013-10-02T10:15:31Z"}
0 {"id":3,"url":"http://example.com/hook","created_at":"2013-10-02T10:15:31Z"}
0 [{"id": 3, "url": "http://example.com/hook", "created_at": "2013-10-02T10:15:31Z"}]
0 [{"id":3,"url":"http://example.com/hook","created_at":"2013-10-02T10:15:31Z"}]
0 {"name":"0.0.1","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}
0 {"name":"0.0.1","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}
0 {"name":"0.0.1","message":"this tag is annotated","commit":{"id":"3d3f9288d70f75aa55ea495a3ed5948a628fce11","message":"Added README.md\n","parent_ids":[],"authored_date":"2016-05-25T11:23:07.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-05-25T11:23:07.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":{"tag_name":"0.0.1","description":"and it has release notes"}}
0 {"name":"0.0.1","message":"this tag is annotated","commit":{"id":"3d3f9288d70f75aa55ea495a3ed5948a628fce11","message":"Added README.md\n","parent_ids":[],"authored_date":"2016-05-25T11:23:07.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-05-25T11:23:07.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":{"tag_name":"0.0.1","description":"and it has release notes"}}
0 {"name":"0.0.1","message":"this tag is annotated","commit":{"id":"7225ddbe28add8d168e3175266830ab8e6aabdcc","message":"Readme updated","parent_ids":["c3f101968138aa9b09a92c8b6399b3269d17865e"],"authored_date":"2016-03-07T13:38:07.000+00:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-03-07T13:38:07.000+00:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}
0 {"name":"0.0.1","message":"this tag is annotated","commit":{"id":"7225ddbe28add8d168e3175266830ab8e6aabdcc","message":"Readme updated","parent_ids":["c3f101968138aa9b09a92c8b6399b3269d17865e"],"authored_date":"2016-03-07T13:38:07.000+00:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-03-07T13:38:07.000+00:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}
0 {"tag_name":"0.0.1"}
0 {"tag_name":"0.0.1"}
0 [{"name":"0.0.2","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null},{"name":"0.0.1","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}]
0 [{"name":"0.0.2","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null},{"name":"0.0.1","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}]
0 {
1 "id": 1,
2 "username": "john_smith",
3 "name": "John Smith",
4 "state": "active",
5 "avatar_url": "https://www.gravatar.com/avatar/c2525a7f58ae3776070e44c106c48e15?s=80&d=identicon",
6 "web_url": "http://192.168.1.8:3000/root",
7 "expires_at": "2018-12-31T00:00:00Z",
8 "access_level": 40
9 }
0 {"id":1,"username":"john_smith","name":"John Smith","state":"active","avatar_url":"https://www.gravatar.com/avatar/c2525a7f58ae3776070e44c106c48e15?s=80&d=identicon","web_url":"http://192.168.1.8:3000/root","expires_at":"2018-12-31T00:00:00Z","access_level":40}
0 {
1 "id": 102,
2 "project": {
3 "id": 2,
4 "name": "Gitlab Ce",
5 "name_with_namespace": "Gitlab Org / Gitlab Ce",
6 "path": "gitlab-ce",
7 "path_with_namespace": "gitlab-org/gitlab-ce"
8 },
9 "author": {
10 "name": "Administrator",
11 "username": "root",
12 "id": 1,
13 "state": "active",
14 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
15 "web_url": "https://gitlab.example.com/root"
16 },
17 "action_name": "marked",
18 "target_type": "MergeRequest",
19 "target": {
20 "id": 34,
21 "iid": 7,
22 "project_id": 2,
23 "title": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
24 "description": "Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.",
25 "state": "opened",
26 "created_at": "2016-06-17T07:49:24.419Z",
27 "updated_at": "2016-06-17T07:52:43.484Z",
28 "target_branch": "tutorials_git_tricks",
29 "source_branch": "DNSBL_docs",
30 "upvotes": 0,
31 "downvotes": 0,
32 "author": {
33 "name": "Maxie Medhurst",
34 "username": "craig_rutherford",
35 "id": 12,
36 "state": "active",
37 "avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
38 "web_url": "https://gitlab.example.com/craig_rutherford"
39 },
40 "assignee": {
41 "name": "Administrator",
42 "username": "root",
43 "id": 1,
44 "state": "active",
45 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
46 "web_url": "https://gitlab.example.com/root"
47 },
48 "source_project_id": 2,
49 "target_project_id": 2,
50 "labels": [],
51 "work_in_progress": false,
52 "milestone": {
53 "id": 32,
54 "iid": 2,
55 "project_id": 2,
56 "title": "v1.0",
57 "description": "Assumenda placeat ea voluptatem voluptate qui.",
58 "state": "active",
59 "created_at": "2016-06-17T07:47:34.163Z",
60 "updated_at": "2016-06-17T07:47:34.163Z",
61 "due_date": null
62 },
63 "merge_when_pipeline_succeeds": false,
64 "merge_status": "cannot_be_merged",
65 "subscribed": true,
66 "user_notes_count": 7
67 },
68 "target_url": "https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7",
69 "body": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
70 "state": "done",
71 "created_at": "2016-06-17T07:52:35.225Z"
72 }
0 {"id":102,"project":{"id":2,"name":"Gitlab Ce","name_with_namespace":"Gitlab Org / Gitlab Ce","path":"gitlab-ce","path_with_namespace":"gitlab-org/gitlab-ce"},"author":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"},"action_name":"marked","target_type":"MergeRequest","target":{"id":34,"iid":7,"project_id":2,"title":"Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.","description":"Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.","state":"opened","created_at":"2016-06-17T07:49:24.419Z","updated_at":"2016-06-17T07:52:43.484Z","target_branch":"tutorials_git_tricks","source_branch":"DNSBL_docs","upvotes":0,"downvotes":0,"author":{"name":"Maxie Medhurst","username":"craig_rutherford","id":12,"state":"active","avatar_url":"http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon","web_url":"https://gitlab.example.com/craig_rutherford"},"assignee":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"},"source_project_id":2,"target_project_id":2,"labels":[],"work_in_progress":false,"milestone":{"id":32,"iid":2,"project_id":2,"title":"v1.0","description":"Assumenda placeat ea voluptatem voluptate qui.","state":"active","created_at":"2016-06-17T07:47:34.163Z","updated_at":"2016-06-17T07:47:34.163Z","due_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"cannot_be_merged","subscribed":true,"user_notes_count":7},"target_url":"https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7","body":"Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.","state":"done","created_at":"2016-06-17T07:52:35.225Z"}
0 [
1 {
2 "id": 102,
3 "project": {
4 "id": 2,
5 "name": "Gitlab Ce",
6 "name_with_namespace": "Gitlab Org / Gitlab Ce",
7 "path": "gitlab-ce",
8 "path_with_namespace": "gitlab-org/gitlab-ce"
9 },
10 "author": {
11 "name": "Administrator",
12 "username": "root",
13 "id": 1,
14 "state": "active",
15 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
16 "web_url": "https://gitlab.example.com/root"
17 },
18 "action_name": "marked",
19 "target_type": "MergeRequest",
20 "target": {
21 "id": 34,
22 "iid": 7,
23 "project_id": 2,
24 "title": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
25 "description": "Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.",
26 "state": "opened",
27 "created_at": "2016-06-17T07:49:24.419Z",
28 "updated_at": "2016-06-17T07:52:43.484Z",
29 "target_branch": "tutorials_git_tricks",
30 "source_branch": "DNSBL_docs",
31 "upvotes": 0,
32 "downvotes": 0,
33 "author": {
34 "name": "Maxie Medhurst",
35 "username": "craig_rutherford",
36 "id": 12,
37 "state": "active",
38 "avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
39 "web_url": "https://gitlab.example.com/craig_rutherford"
40 },
41 "assignee": {
42 "name": "Administrator",
43 "username": "root",
44 "id": 1,
45 "state": "active",
46 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
47 "web_url": "https://gitlab.example.com/root"
48 },
49 "source_project_id": 2,
50 "target_project_id": 2,
51 "labels": [],
52 "work_in_progress": false,
53 "milestone": {
54 "id": 32,
55 "iid": 2,
56 "project_id": 2,
57 "title": "v1.0",
58 "description": "Assumenda placeat ea voluptatem voluptate qui.",
59 "state": "active",
60 "created_at": "2016-06-17T07:47:34.163Z",
61 "updated_at": "2016-06-17T07:47:34.163Z",
62 "due_date": null
63 },
64 "merge_when_pipeline_succeeds": false,
65 "merge_status": "cannot_be_merged",
66 "subscribed": true,
67 "user_notes_count": 7
68 },
69 "target_url": "https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7",
70 "body": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
71 "state": "pending",
72 "created_at": "2016-06-17T07:52:35.225Z"
73 },
74 {
75 "id": 98,
76 "project": {
77 "id": 2,
78 "name": "Gitlab Ce",
79 "name_with_namespace": "Gitlab Org / Gitlab Ce",
80 "path": "gitlab-ce",
81 "path_with_namespace": "gitlab-org/gitlab-ce"
82 },
83 "author": {
84 "name": "Maxie Medhurst",
85 "username": "craig_rutherford",
86 "id": 12,
87 "state": "active",
88 "avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
89 "web_url": "https://gitlab.example.com/craig_rutherford"
90 },
91 "action_name": "assigned",
92 "target_type": "MergeRequest",
93 "target": {
94 "id": 34,
95 "iid": 7,
96 "project_id": 2,
97 "title": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
98 "description": "Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.",
99 "state": "opened",
100 "created_at": "2016-06-17T07:49:24.419Z",
101 "updated_at": "2016-06-17T07:52:43.484Z",
102 "target_branch": "tutorials_git_tricks",
103 "source_branch": "DNSBL_docs",
104 "upvotes": 0,
105 "downvotes": 0,
106 "author": {
107 "name": "Maxie Medhurst",
108 "username": "craig_rutherford",
109 "id": 12,
110 "state": "active",
111 "avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
112 "web_url": "https://gitlab.example.com/craig_rutherford"
113 },
114 "assignee": {
115 "name": "Administrator",
116 "username": "root",
117 "id": 1,
118 "state": "active",
119 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
120 "web_url": "https://gitlab.example.com/root"
121 },
122 "source_project_id": 2,
123 "target_project_id": 2,
124 "labels": [],
125 "work_in_progress": false,
126 "milestone": {
127 "id": 32,
128 "iid": 2,
129 "project_id": 2,
130 "title": "v1.0",
131 "description": "Assumenda placeat ea voluptatem voluptate qui.",
132 "state": "active",
133 "created_at": "2016-06-17T07:47:34.163Z",
134 "updated_at": "2016-06-17T07:47:34.163Z",
135 "due_date": null
136 },
137 "merge_when_pipeline_succeeds": false,
138 "merge_status": "cannot_be_merged",
139 "subscribed": true,
140 "user_notes_count": 7
141 },
142 "target_url": "https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7",
143 "body": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
144 "state": "pending",
145 "created_at": "2016-06-17T07:49:24.624Z"
146 }
147 ]
0 [{"id":102,"project":{"id":2,"name":"Gitlab Ce","name_with_namespace":"Gitlab Org / Gitlab Ce","path":"gitlab-ce","path_with_namespace":"gitlab-org/gitlab-ce"},"author":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"},"action_name":"marked","target_type":"MergeRequest","target":{"id":34,"iid":7,"project_id":2,"title":"Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.","description":"Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.","state":"opened","created_at":"2016-06-17T07:49:24.419Z","updated_at":"2016-06-17T07:52:43.484Z","target_branch":"tutorials_git_tricks","source_branch":"DNSBL_docs","upvotes":0,"downvotes":0,"author":{"name":"Maxie Medhurst","username":"craig_rutherford","id":12,"state":"active","avatar_url":"http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon","web_url":"https://gitlab.example.com/craig_rutherford"},"assignee":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"},"source_project_id":2,"target_project_id":2,"labels":[],"work_in_progress":false,"milestone":{"id":32,"iid":2,"project_id":2,"title":"v1.0","description":"Assumenda placeat ea voluptatem voluptate qui.","state":"active","created_at":"2016-06-17T07:47:34.163Z","updated_at":"2016-06-17T07:47:34.163Z","due_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"cannot_be_merged","subscribed":true,"user_notes_count":7},"target_url":"https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7","body":"Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.","state":"pending","created_at":"2016-06-17T07:52:35.225Z"},{"id":98,"project":{"id":2,"name":"Gitlab Ce","name_with_namespace":"Gitlab Org / Gitlab Ce","path":"gitlab-ce","path_with_namespace":"gitlab-org/gitlab-ce"},"author":{"name":"Maxie Medhurst","username":"craig_rutherford","id":12,"state":"active","avatar_url":"http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon","web_url":"https://gitlab.example.com/craig_rutherford"},"action_name":"assigned","target_type":"MergeRequest","target":{"id":34,"iid":7,"project_id":2,"title":"Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.","description":"Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.","state":"opened","created_at":"2016-06-17T07:49:24.419Z","updated_at":"2016-06-17T07:52:43.484Z","target_branch":"tutorials_git_tricks","source_branch":"DNSBL_docs","upvotes":0,"downvotes":0,"author":{"name":"Maxie Medhurst","username":"craig_rutherford","id":12,"state":"active","avatar_url":"http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon","web_url":"https://gitlab.example.com/craig_rutherford"},"assignee":{"name":"Administrator","username":"root","id":1,"state":"active","avatar_url":"http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"https://gitlab.example.com/root"},"source_project_id":2,"target_project_id":2,"labels":[],"work_in_progress":false,"milestone":{"id":32,"iid":2,"project_id":2,"title":"v1.0","description":"Assumenda placeat ea voluptatem voluptate qui.","state":"active","created_at":"2016-06-17T07:47:34.163Z","updated_at":"2016-06-17T07:47:34.163Z","due_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"cannot_be_merged","subscribed":true,"user_notes_count":7},"target_url":"https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7","body":"Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.","state":"pending","created_at":"2016-06-17T07:49:24.624Z"}]
0 {
1 "id": 1,
2 "description": null,
3 "name": "test",
4 "name_with_namespace": "Yolo / test",
5 "path": "test",
6 "path_with_namespace": "yolo/test",
7 "created_at": "2018-10-26T21:14:12.851Z",
8 "default_branch": "master",
9 "tag_list": [],
10 "ssh_url_to_repo": "git@gitlab.com:yolo/test.git",
11 "http_url_to_repo": "https://gitlab.com/yolo/test.git",
12 "web_url": "https://gitlab.com/yolo/test",
13 "readme_url": null,
14 "avatar_url": null,
15 "star_count": 0,
16 "forks_count": 0,
17 "last_activity_at": "2018-10-26T21:14:12.851Z",
18 "namespace": {
19 "id": 2,
20 "name": "Yolo",
21 "path": "yolo",
22 "kind": "group",
23 "full_path": "yolo",
24 "parent_id": null
25 },
26 "_links": {
27 "self": "https://gitlab.com/api/v4/projects/1",
28 "issues": "https://gitlab.com/api/v4/projects/1/issues",
29 "merge_requests": "https://gitlab.com/api/v4/projects/1/merge_requests",
30 "repo_branches": "https://gitlab.com/api/v4/projects/1/repository/branches",
31 "labels": "https://gitlab.com/api/v4/projects/1/labels",
32 "events": "https://gitlab.com/api/v4/projects/1/events",
33 "members": "https://gitlab.com/api/v4/projects/1/members"
34 },
35 "archived": false,
36 "visibility": "private",
37 "resolve_outdated_diff_discussions": false,
38 "container_registry_enabled": true,
39 "issues_enabled": true,
40 "merge_requests_enabled": true,
41 "wiki_enabled": true,
42 "jobs_enabled": true,
43 "snippets_enabled": true,
44 "shared_runners_enabled": true,
45 "lfs_enabled": true,
46 "creator_id": 42,
47 "import_status": "none",
48 "open_issues_count": 0,
49 "public_jobs": true,
50 "ci_config_path": null,
51 "shared_with_groups": [],
52 "only_allow_merge_if_pipeline_succeeds": false,
53 "request_access_enabled": false,
54 "only_allow_merge_if_all_discussions_are_resolved": false,
55 "printing_merge_request_link_enabled": true,
56 "merge_method": "merge",
57 "mirror": false
58 }
0 {"id":1,"description":null,"name":"test","name_with_namespace":"Yolo / test","path":"test","path_with_namespace":"yolo/test","created_at":"2018-10-26T21:14:12.851Z","default_branch":"master","tag_list":[],"ssh_url_to_repo":"git@gitlab.com:yolo/test.git","http_url_to_repo":"https://gitlab.com/yolo/test.git","web_url":"https://gitlab.com/yolo/test","readme_url":null,"avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2018-10-26T21:14:12.851Z","namespace":{"id":2,"name":"Yolo","path":"yolo","kind":"group","full_path":"yolo","parent_id":null},"_links":{"self":"https://gitlab.com/api/v4/projects/1","issues":"https://gitlab.com/api/v4/projects/1/issues","merge_requests":"https://gitlab.com/api/v4/projects/1/merge_requests","repo_branches":"https://gitlab.com/api/v4/projects/1/repository/branches","labels":"https://gitlab.com/api/v4/projects/1/labels","events":"https://gitlab.com/api/v4/projects/1/events","members":"https://gitlab.com/api/v4/projects/1/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":42,"import_status":"none","open_issues_count":0,"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","mirror":false}
0 [{"id":"a2cc3b0ffc1c7d06fab5642eb99ea387b57f22f8","name":"app","type":"tree","mode":"040000"},{"id":"63164bdfbc11b69f1032fbe35da0f1e9c18af2fd","name":"bin","type":"tree","mode":"040000"},{"id":"2cf682191722f20f00a371d7da58f6a35701c11d","name":"config","type":"tree","mode":"040000"},{"id":"2e76c8c1bbc46bcc762788a432d802d65a534a28","name":"db","type":"tree","mode":"040000"},{"id":"767cfc8360b50c50bb5bdde288b96a84e3efa66e","name":"doc","type":"tree","mode":"040000"},{"id":"3fa0d1024f5e372bf9e43d1dac47bd1e95ab0858","name":"lib","type":"tree","mode":"040000"},{"id":"4e79d0ac6225844602a1b9273b26d8996f777bf2","name":"log","type":"tree","mode":"040000"},{"id":"7cb7f593c6914d20fa6cc4ab5a7c34337a50e97c","name":"public","type":"tree","mode":"040000"},{"id":"d97169eef778f3cd1d4d94cbe3415b3166d15c71","name":"spec","type":"tree","mode":"040000"},{"id":"97c97da29fa97e2158cfdcdcb042af9da0bc3de4","name":"vendor","type":"tree","mode":"040000"},{"id":"d316760e4746059c117007507594a1d75b47df38","name":".gitignore","type":"blob","mode":"100644"},{"id":"f2e7cd477536f18d8e939faf452930b59a27063d","name":".travis.yml","type":"blob","mode":"100644"},{"id":"d5c68bda5f0fe703a80906f66cfe537ca807a5a6","name":"Capfile","type":"blob","mode":"100644"},{"id":"8f46eac03c6cd7ce03cda7ec3d78afdc6971e4c0","name":"Gemfile","type":"blob","mode":"100644"},{"id":"5e260573173b51eaa073661d7914fb0e935ee27f","name":"Gemfile.lock","type":"blob","mode":"100644"},{"id":"e57032f682b69f14243c09d66a0892a03b4c6045","name":"Procfile","type":"blob","mode":"100644"},{"id":"905e96da839dad683dfcf4e202bf1e030390b964","name":"README.md","type":"blob","mode":"100644"},{"id":"24a16769fd94926350a59f7b1cbd78e9e2674c57","name":"Rakefile","type":"blob","mode":"100644"},{"id":"b384d6d57c6a775a9b6bc35d79ad7f03e673a233","name":"config.ru","type":"blob","mode":"100644"}]
0 [{"id":"a2cc3b0ffc1c7d06fab5642eb99ea387b57f22f8","name":"app","type":"tree","mode":"040000"},{"id":"63164bdfbc11b69f1032fbe35da0f1e9c18af2fd","name":"bin","type":"tree","mode":"040000"},{"id":"2cf682191722f20f00a371d7da58f6a35701c11d","name":"config","type":"tree","mode":"040000"},{"id":"2e76c8c1bbc46bcc762788a432d802d65a534a28","name":"db","type":"tree","mode":"040000"},{"id":"767cfc8360b50c50bb5bdde288b96a84e3efa66e","name":"doc","type":"tree","mode":"040000"},{"id":"3fa0d1024f5e372bf9e43d1dac47bd1e95ab0858","name":"lib","type":"tree","mode":"040000"},{"id":"4e79d0ac6225844602a1b9273b26d8996f777bf2","name":"log","type":"tree","mode":"040000"},{"id":"7cb7f593c6914d20fa6cc4ab5a7c34337a50e97c","name":"public","type":"tree","mode":"040000"},{"id":"d97169eef778f3cd1d4d94cbe3415b3166d15c71","name":"spec","type":"tree","mode":"040000"},{"id":"97c97da29fa97e2158cfdcdcb042af9da0bc3de4","name":"vendor","type":"tree","mode":"040000"},{"id":"d316760e4746059c117007507594a1d75b47df38","name":".gitignore","type":"blob","mode":"100644"},{"id":"f2e7cd477536f18d8e939faf452930b59a27063d","name":".travis.yml","type":"blob","mode":"100644"},{"id":"d5c68bda5f0fe703a80906f66cfe537ca807a5a6","name":"Capfile","type":"blob","mode":"100644"},{"id":"8f46eac03c6cd7ce03cda7ec3d78afdc6971e4c0","name":"Gemfile","type":"blob","mode":"100644"},{"id":"5e260573173b51eaa073661d7914fb0e935ee27f","name":"Gemfile.lock","type":"blob","mode":"100644"},{"id":"e57032f682b69f14243c09d66a0892a03b4c6045","name":"Procfile","type":"blob","mode":"100644"},{"id":"905e96da839dad683dfcf4e202bf1e030390b964","name":"README.md","type":"blob","mode":"100644"},{"id":"24a16769fd94926350a59f7b1cbd78e9e2674c57","name":"Rakefile","type":"blob","mode":"100644"},{"id":"b384d6d57c6a775a9b6bc35d79ad7f03e673a233","name":"config.ru","type":"blob","mode":"100644"}]
0 {
1 "id": 10,
2 "description": "my trigger",
3 "created_at": "2016-01-07T09:53:58.235Z",
4 "deleted_at": null,
5 "last_used": null,
6 "token": "6d056f63e50fe6f8c5f8f4aa10edb7",
7 "updated_at": "2016-01-07T09:53:58.235Z",
8 "owner": null
9 }
0 {"id":10,"description":"my trigger","created_at":"2016-01-07T09:53:58.235Z","deleted_at":null,"last_used":null,"token":"6d056f63e50fe6f8c5f8f4aa10edb7","updated_at":"2016-01-07T09:53:58.235Z","owner":null}
0 [
1 {
2 "id": 10,
3 "description": "my trigger",
4 "created_at": "2016-01-07T09:53:58.235Z",
5 "deleted_at": null,
6 "last_used": null,
7 "token": "6d056f63e50fe6f8c5f8f4aa10edb7",
8 "updated_at": "2016-01-07T09:53:58.235Z",
9 "owner": null
10 }
11 ]
0 [{"id":10,"description":"my trigger","created_at":"2016-01-07T09:53:58.235Z","deleted_at":null,"last_used":null,"token":"6d056f63e50fe6f8c5f8f4aa10edb7","updated_at":"2016-01-07T09:53:58.235Z","owner":null}]
0 {
1 "id": 1,
2 "project": {
3 "id": 5,
4 "name": "Diaspora Project Site",
5 "name_with_namespace": "Diaspora / Diaspora Project Site",
6 "path": "diaspora-project-site",
7 "path_with_namespace": "diaspora/diaspora-project-site",
8 "created_at": "2018-07-03T05:48:49.982Z",
9 "default_branch": null,
10 "tag_list": [],
11 "ssh_url_to_repo": "ssh://user@example.com/diaspora/diaspora-project-site.git",
12 "http_url_to_repo": "http://example.com/diaspora/diaspora-project-site.git",
13 "web_url": "http://example.com/diaspora/diaspora-project-site",
14 "readme_url": null,
15 "avatar_url": null,
16 "star_count": 0,
17 "forks_count": 0,
18 "last_activity_at": "2018-07-03T05:48:49.982Z"
19 },
20 "lists": [],
21 "name": "new_name",
22 "group": null,
23 "milestone": {
24 "id": 43,
25 "iid": 1,
26 "project_id": 15,
27 "title": "Milestone 1",
28 "description": "Milestone 1 desc",
29 "state": "active",
30 "created_at": "2018-07-03T06:36:42.618Z",
31 "updated_at": "2018-07-03T06:36:42.618Z",
32 "due_date": null,
33 "start_date": null,
34 "web_url": "http://example.com/root/board1/milestones/1"
35 },
36 "assignee": {
37 "id": 1,
38 "name": "Administrator",
39 "username": "root",
40 "state": "active",
41 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
42 "web_url": "http://example.com/root"
43 },
44 "labels": [{
45 "id": 10,
46 "name": "Doing",
47 "color": "#5CB85C",
48 "description": null
49 }],
50 "weight": 4
51 }
0 {"id":1,"project":{"id":5,"name":"Diaspora Project Site","name_with_namespace":"Diaspora / Diaspora Project Site","path":"diaspora-project-site","path_with_namespace":"diaspora/diaspora-project-site","created_at":"2018-07-03T05:48:49.982Z","default_branch":null,"tag_list":[],"ssh_url_to_repo":"ssh://user@example.com/diaspora/diaspora-project-site.git","http_url_to_repo":"http://example.com/diaspora/diaspora-project-site.git","web_url":"http://example.com/diaspora/diaspora-project-site","readme_url":null,"avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2018-07-03T05:48:49.982Z"},"lists":[],"name":"new_name","group":null,"milestone":{"id":43,"iid":1,"project_id":15,"title":"Milestone 1","description":"Milestone 1 desc","state":"active","created_at":"2018-07-03T06:36:42.618Z","updated_at":"2018-07-03T06:36:42.618Z","due_date":null,"start_date":null,"web_url":"http://example.com/root/board1/milestones/1"},"assignee":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://example.com/root"},"labels":[{"id":10,"name":"Doing","color":"#5CB85C","description":null}],"weight":4}
0 {
1 "id": 1,
2 "project": null,
3 "lists": [],
4 "name": "new_name",
5 "group": {
6 "id": 5,
7 "name": "Documentcloud",
8 "path": "documentcloud",
9 "owner_id": null,
10 "created_at": "2018-05-07T06:52:45.788Z",
11 "updated_at": "2018-07-03T06:48:17.005Z",
12 "description": "Consequatur aut a aperiam ut.",
13 "avatar": {
14 "url": null
15 },
16 "membership_lock": false,
17 "share_with_group_lock": false,
18 "visibility_level": 20,
19 "request_access_enabled": false,
20 "ldap_sync_status": "ready",
21 "ldap_sync_error": null,
22 "ldap_sync_last_update_at": null,
23 "ldap_sync_last_successful_update_at": null,
24 "ldap_sync_last_sync_at": null,
25 "lfs_enabled": null,
26 "parent_id": null,
27 "shared_runners_minutes_limit": null,
28 "repository_size_limit": null,
29 "require_two_factor_authentication": false,
30 "two_factor_grace_period": 48,
31 "plan_id": null,
32 "project_creation_level": 2,
33 "runners_token": "rgeeL-nv3wa6YdRvuMid"
34 },
35 "milestone": {
36 "id": 44,
37 "iid": 1,
38 "group_id": 5,
39 "title": "Group Milestone",
40 "description": "Group Milestone Desc",
41 "state": "active",
42 "created_at": "2018-07-03T07:15:19.271Z",
43 "updated_at": "2018-07-03T07:15:19.271Z",
44 "due_date": null,
45 "start_date": null,
46 "web_url": "http://example.com/groups/documentcloud/-/milestones/1"
47 },
48 "assignee": {
49 "id": 1,
50 "name": "Administrator",
51 "username": "root",
52 "state": "active",
53 "avatar_url": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
54 "web_url": "http://example.com/root"
55 },
56 "labels": [{
57 "id": 11,
58 "name": "GroupLabel",
59 "color": "#428BCA",
60 "description": ""
61 }],
62 "weight": 4
63 }
0 {"id":1,"project":null,"lists":[],"name":"new_name","group":{"id":5,"name":"Documentcloud","path":"documentcloud","owner_id":null,"created_at":"2018-05-07T06:52:45.788Z","updated_at":"2018-07-03T06:48:17.005Z","description":"Consequatur aut a aperiam ut.","avatar":{"url":null},"membership_lock":false,"share_with_group_lock":false,"visibility_level":20,"request_access_enabled":false,"ldap_sync_status":"ready","ldap_sync_error":null,"ldap_sync_last_update_at":null,"ldap_sync_last_successful_update_at":null,"ldap_sync_last_sync_at":null,"lfs_enabled":null,"parent_id":null,"shared_runners_minutes_limit":null,"repository_size_limit":null,"require_two_factor_authentication":false,"two_factor_grace_period":48,"plan_id":null,"project_creation_level":2,"runners_token":"rgeeL-nv3wa6YdRvuMid"},"milestone":{"id":44,"iid":1,"group_id":5,"title":"Group Milestone","description":"Group Milestone Desc","state":"active","created_at":"2018-07-03T07:15:19.271Z","updated_at":"2018-07-03T07:15:19.271Z","due_date":null,"start_date":null,"web_url":"http://example.com/groups/documentcloud/-/milestones/1"},"assignee":{"id":1,"name":"Administrator","username":"root","state":"active","avatar_url":"https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon","web_url":"http://example.com/root"},"labels":[{"id":11,"name":"GroupLabel","color":"#428BCA","description":""}],"weight":4}
0 {"id":1,"title":"test","file_name":"add.rb","description":"description of snippet","visibility":"internal","author":{"id":1,"username":"john_smith","email":"john@example.com","name":"John Smith","state":"active","created_at":"2012-05-23T08:00:58Z"},"expires_at":null,"updated_at":"2012-06-28T10:52:04Z","created_at":"2012-06-28T10:52:04Z","project_id":null,"web_url":"http://example.com/snippets/1","raw_url":"http://example.com/snippets/1/raw"}
0 {
1 "alt": "null",
2 "url": "/uploads/f22e67e35e1bcb339058212c54bb8772/null",
3 "markdown": "[null](/uploads/f22e67e35e1bcb339058212c54bb8772/null)"
4 }
0 {"alt":"null","url":"/uploads/f22e67e35e1bcb339058212c54bb8772/null","markdown":"[null](/uploads/f22e67e35e1bcb339058212c54bb8772/null)"}
0 [
1 {
2 "title": null,
3 "project_id": 15,
4 "action_name": "closed",
5 "target_id": 830,
6 "target_type": "Issue",
7 "author_id": 1,
8 "target_title": "Public project search field",
9 "author": {
10 "name": "Dmitriy Zaporozhets",
11 "username": "root",
12 "id": 1,
13 "state": "active",
14 "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
15 "web_url": "http://localhost:3000/root"
16 },
17 "author_username": "root"
18 },
19 {
20 "title": null,
21 "project_id": 15,
22 "action_name": "pushed",
23 "target_id": null,
24 "target_type": null,
25 "author_id": 1,
26 "author": {
27 "name": "Dmitriy Zaporozhets",
28 "username": "root",
29 "id": 1,
30 "state": "active",
31 "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
32 "web_url": "http://localhost:3000/root"
33 },
34 "author_username": "john",
35 "push_data": {
36 "commit_count": 1,
37 "action": "pushed",
38 "ref_type": "branch",
39 "commit_from": "50d4420237a9de7be1304607147aec22e4a14af7",
40 "commit_to": "c5feabde2d8cd023215af4d2ceeb7a64839fc428",
41 "ref": "master",
42 "commit_title": "Add simple search to projects in public area"
43 },
44 "target_title": null
45 },
46 {
47 "title": null,
48 "project_id": 15,
49 "action_name": "closed",
50 "target_id": 840,
51 "target_type": "Issue",
52 "author_id": 1,
53 "target_title": "Finish & merge Code search PR",
54 "author": {
55 "name": "Dmitriy Zaporozhets",
56 "username": "root",
57 "id": 1,
58 "state": "active",
59 "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
60 "web_url": "http://localhost:3000/root"
61 },
62 "author_username": "root"
63 },
64 {
65 "title": null,
66 "project_id": 15,
67 "action_name": "commented on",
68 "target_id": 1312,
69 "target_type": "Note",
70 "author_id": 1,
71 "target_title": null,
72 "created_at": "2015-12-04T10:33:58.089Z",
73 "note": {
74 "id": 1312,
75 "body": "What an awesome day!",
76 "attachment": null,
77 "author": {
78 "name": "Dmitriy Zaporozhets",
79 "username": "root",
80 "id": 1,
81 "state": "active",
82 "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
83 "web_url": "http://localhost:3000/root"
84 },
85 "created_at": "2015-12-04T10:33:56.698Z",
86 "system": false,
87 "noteable_id": 377,
88 "noteable_type": "Issue"
89 },
90 "author": {
91 "name": "Dmitriy Zaporozhets",
92 "username": "root",
93 "id": 1,
94 "state": "active",
95 "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
96 "web_url": "http://localhost:3000/root"
97 },
98 "author_username": "root"
99 }
100 ]
0 [{"title":null,"project_id":15,"action_name":"closed","target_id":830,"target_type":"Issue","author_id":1,"target_title":"Public project search field","author":{"name":"Dmitriy Zaporozhets","username":"root","id":1,"state":"active","avatar_url":"http://localhost:3000/uploads/user/avatar/1/fox_avatar.png","web_url":"http://localhost:3000/root"},"author_username":"root"},{"title":null,"project_id":15,"action_name":"pushed","target_id":null,"target_type":null,"author_id":1,"author":{"name":"Dmitriy Zaporozhets","username":"root","id":1,"state":"active","avatar_url":"http://localhost:3000/uploads/user/avatar/1/fox_avatar.png","web_url":"http://localhost:3000/root"},"author_username":"john","push_data":{"commit_count":1,"action":"pushed","ref_type":"branch","commit_from":"50d4420237a9de7be1304607147aec22e4a14af7","commit_to":"c5feabde2d8cd023215af4d2ceeb7a64839fc428","ref":"master","commit_title":"Add simple search to projects in public area"},"target_title":null},{"title":null,"project_id":15,"action_name":"closed","target_id":840,"target_type":"Issue","author_id":1,"target_title":"Finish & merge Code search PR","author":{"name":"Dmitriy Zaporozhets","username":"root","id":1,"state":"active","avatar_url":"http://localhost:3000/uploads/user/avatar/1/fox_avatar.png","web_url":"http://localhost:3000/root"},"author_username":"root"},{"title":null,"project_id":15,"action_name":"commented on","target_id":1312,"target_type":"Note","author_id":1,"target_title":null,"created_at":"2015-12-04T10:33:58.089Z","note":{"id":1312,"body":"What an awesome day!","attachment":null,"author":{"name":"Dmitriy Zaporozhets","username":"root","id":1,"state":"active","avatar_url":"http://localhost:3000/uploads/user/avatar/1/fox_avatar.png","web_url":"http://localhost:3000/root"},"created_at":"2015-12-04T10:33:56.698Z","system":false,"noteable_id":377,"noteable_type":"Issue"},"author":{"name":"Dmitriy Zaporozhets","username":"root","id":1,"state":"active","avatar_url":"http://localhost:3000/uploads/user/avatar/1/fox_avatar.png","web_url":"http://localhost:3000/root"},"author_username":"root"}]
0 [
1 {
2 "title":null,
3 "project_id":1,
4 "action_name":"opened",
5 "target_id":160,
6 "target_type":"Issue",
7 "author_id":25,
8 "target_title":"Qui natus eos odio tempore et quaerat consequuntur ducimus cupiditate quis.",
9 "created_at":"2017-02-09T10:43:19.667Z",
10 "author":{
11 "name":"User 3",
12 "username":"user3",
13 "id":25,
14 "state":"active",
15 "avatar_url":"http://www.gravatar.com/avatar/97d6d9441ff85fdc730e02a6068d267b?s=80\u0026d=identicon",
16 "web_url":"https://gitlab.example.com/user3"
17 },
18 "author_username":"user3"
19 },
20 {
21 "title":null,
22 "project_id":1,
23 "action_name":"opened",
24 "target_id":159,
25 "target_type":"Issue",
26 "author_id":21,
27 "target_title":"Nostrum enim non et sed optio illo deleniti non.",
28 "created_at":"2017-02-09T10:43:19.426Z",
29 "author":{
30 "name":"Test User",
31 "username":"ted",
32 "id":21,
33 "state":"active",
34 "avatar_url":"http://www.gravatar.com/avatar/80fb888c9a48b9a3f87477214acaa63f?s=80\u0026d=identicon",
35 "web_url":"https://gitlab.example.com/ted"
36 },
37 "author_username":"ted"
38 }
39 ]
0 [{"title":null,"project_id":1,"action_name":"opened","target_id":160,"target_type":"Issue","author_id":25,"target_title":"Qui natus eos odio tempore et quaerat consequuntur ducimus cupiditate quis.","created_at":"2017-02-09T10:43:19.667Z","author":{"name":"User 3","username":"user3","id":25,"state":"active","avatar_url":"http://www.gravatar.com/avatar/97d6d9441ff85fdc730e02a6068d267b?s=80&d=identicon","web_url":"https://gitlab.example.com/user3"},"author_username":"user3"},{"title":null,"project_id":1,"action_name":"opened","target_id":159,"target_type":"Issue","author_id":21,"target_title":"Nostrum enim non et sed optio illo deleniti non.","created_at":"2017-02-09T10:43:19.426Z","author":{"name":"Test User","username":"ted","id":21,"state":"active","avatar_url":"http://www.gravatar.com/avatar/80fb888c9a48b9a3f87477214acaa63f?s=80&d=identicon","web_url":"https://gitlab.example.com/ted"},"author_username":"ted"}]
0 [
1 {
2 "id": 1,
3 "description": null,
4 "default_branch": "master",
5 "visibility": "private",
6 "ssh_url_to_repo": "git@example.com:diaspora/diaspora-client.git",
7 "http_url_to_repo": "http://example.com/diaspora/diaspora-client.git",
8 "web_url": "http://example.com/diaspora/diaspora-client",
9 "tag_list": [
10 "example",
11 "disapora client"
12 ],
13 "owner": {
14 "id": 1,
15 "name": "Diaspora",
16 "created_at": "2013-09-30T13:46:02Z"
17 },
18 "name": "Diaspora Client",
19 "name_with_namespace": "Diaspora / Diaspora Client",
20 "path": "diaspora-client",
21 "path_with_namespace": "diaspora/diaspora-client",
22 "issues_enabled": true,
23 "open_issues_count": 1,
24 "merge_requests_enabled": true,
25 "jobs_enabled": true,
26 "wiki_enabled": true,
27 "snippets_enabled": false,
28 "resolve_outdated_diff_discussions": false,
29 "container_registry_enabled": false,
30 "created_at": "2013-09-30T13:46:02Z",
31 "last_activity_at": "2013-09-30T13:46:02Z",
32 "creator_id": 3,
33 "namespace": {
34 "id": 3,
35 "name": "Diaspora",
36 "path": "diaspora",
37 "kind": "group",
38 "full_path": "diaspora"
39 },
40 "import_status": "none",
41 "archived": false,
42 "avatar_url": "http://example.com/uploads/project/avatar/4/uploads/avatar.png",
43 "shared_runners_enabled": true,
44 "forks_count": 0,
45 "star_count": 0,
46 "runners_token": "b8547b1dc37721d05889db52fa2f02",
47 "public_jobs": true,
48 "shared_with_groups": [
49
50 ],
51 "only_allow_merge_if_pipeline_succeeds": false,
52 "only_allow_merge_if_all_discussions_are_resolved": false,
53 "request_access_enabled": false,
54 "statistics": {
55 "commit_count": 37,
56 "storage_size": 1038090,
57 "repository_size": 1038090,
58 "lfs_objects_size": 0,
59 "job_artifacts_size": 0
60 },
61 "_links": {
62 "self": "http://example.com/api/v4/projects",
63 "issues": "http://example.com/api/v4/projects/1/issues",
64 "merge_requests": "http://example.com/api/v4/projects/1/merge_requests",
65 "repo_branches": "http://example.com/api/v4/projects/1/repository_branches",
66 "labels": "http://example.com/api/v4/projects/1/labels",
67 "events": "http://example.com/api/v4/projects/1/events",
68 "members": "http://example.com/api/v4/projects/1/members"
69 }
70 },
71 {
72 "id": 6,
73 "description": null,
74 "default_branch": "master",
75 "visibility": "private",
76 "ssh_url_to_repo": "git@example.com:brightbox/puppet.git",
77 "http_url_to_repo": "http://example.com/brightbox/puppet.git",
78 "web_url": "http://example.com/brightbox/puppet",
79 "tag_list": [
80 "example",
81 "puppet"
82 ],
83 "owner": {
84 "id": 1,
85 "name": "Brightbox",
86 "created_at": "2013-09-30T13:46:02Z"
87 },
88 "name": "Puppet",
89 "name_with_namespace": "Brightbox / Puppet",
90 "path": "puppet",
91 "path_with_namespace": "brightbox/puppet",
92 "issues_enabled": true,
93 "open_issues_count": 1,
94 "merge_requests_enabled": true,
95 "jobs_enabled": true,
96 "wiki_enabled": true,
97 "snippets_enabled": false,
98 "resolve_outdated_diff_discussions": false,
99 "container_registry_enabled": false,
100 "created_at": "2013-09-30T13:46:02Z",
101 "last_activity_at": "2013-09-30T13:46:02Z",
102 "creator_id": 3,
103 "namespace": {
104 "id": 4,
105 "name": "Brightbox",
106 "path": "brightbox",
107 "kind": "group",
108 "full_path": "brightbox"
109 },
110 "import_status": "none",
111 "import_error": null,
112 "permissions": {
113 "project_access": {
114 "access_level": 10,
115 "notification_level": 3
116 },
117 "group_access": {
118 "access_level": 50,
119 "notification_level": 3
120 }
121 },
122 "archived": false,
123 "avatar_url": null,
124 "shared_runners_enabled": true,
125 "forks_count": 0,
126 "star_count": 0,
127 "runners_token": "b8547b1dc37721d05889db52fa2f02",
128 "public_jobs": true,
129 "shared_with_groups": [
130
131 ],
132 "only_allow_merge_if_pipeline_succeeds": false,
133 "only_allow_merge_if_all_discussions_are_resolved": false,
134 "request_access_enabled": false,
135 "statistics": {
136 "commit_count": 12,
137 "storage_size": 2066080,
138 "repository_size": 2066080,
139 "lfs_objects_size": 0,
140 "job_artifacts_size": 0
141 },
142 "_links": {
143 "self": "http://example.com/api/v4/projects",
144 "issues": "http://example.com/api/v4/projects/1/issues",
145 "merge_requests": "http://example.com/api/v4/projects/1/merge_requests",
146 "repo_branches": "http://example.com/api/v4/projects/1/repository_branches",
147 "labels": "http://example.com/api/v4/projects/1/labels",
148 "events": "http://example.com/api/v4/projects/1/events",
149 "members": "http://example.com/api/v4/projects/1/members"
150 }
151 }
152 ]
0 [{"id":1,"description":null,"default_branch":"master","visibility":"private","ssh_url_to_repo":"git@example.com:diaspora/diaspora-client.git","http_url_to_repo":"http://example.com/diaspora/diaspora-client.git","web_url":"http://example.com/diaspora/diaspora-client","tag_list":["example","disapora client"],"owner":{"id":1,"name":"Diaspora","created_at":"2013-09-30T13:46:02Z"},"name":"Diaspora Client","name_with_namespace":"Diaspora / Diaspora Client","path":"diaspora-client","path_with_namespace":"diaspora/diaspora-client","issues_enabled":true,"open_issues_count":1,"merge_requests_enabled":true,"jobs_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"resolve_outdated_diff_discussions":false,"container_registry_enabled":false,"created_at":"2013-09-30T13:46:02Z","last_activity_at":"2013-09-30T13:46:02Z","creator_id":3,"namespace":{"id":3,"name":"Diaspora","path":"diaspora","kind":"group","full_path":"diaspora"},"import_status":"none","archived":false,"avatar_url":"http://example.com/uploads/project/avatar/4/uploads/avatar.png","shared_runners_enabled":true,"forks_count":0,"star_count":0,"runners_token":"b8547b1dc37721d05889db52fa2f02","public_jobs":true,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"only_allow_merge_if_all_discussions_are_resolved":false,"request_access_enabled":false,"statistics":{"commit_count":37,"storage_size":1038090,"repository_size":1038090,"lfs_objects_size":0,"job_artifacts_size":0},"_links":{"self":"http://example.com/api/v4/projects","issues":"http://example.com/api/v4/projects/1/issues","merge_requests":"http://example.com/api/v4/projects/1/merge_requests","repo_branches":"http://example.com/api/v4/projects/1/repository_branches","labels":"http://example.com/api/v4/projects/1/labels","events":"http://example.com/api/v4/projects/1/events","members":"http://example.com/api/v4/projects/1/members"}},{"id":6,"description":null,"default_branch":"master","visibility":"private","ssh_url_to_repo":"git@example.com:brightbox/puppet.git","http_url_to_repo":"http://example.com/brightbox/puppet.git","web_url":"http://example.com/brightbox/puppet","tag_list":["example","puppet"],"owner":{"id":1,"name":"Brightbox","created_at":"2013-09-30T13:46:02Z"},"name":"Puppet","name_with_namespace":"Brightbox / Puppet","path":"puppet","path_with_namespace":"brightbox/puppet","issues_enabled":true,"open_issues_count":1,"merge_requests_enabled":true,"jobs_enabled":true,"wiki_enabled":true,"snippets_enabled":false,"resolve_outdated_diff_discussions":false,"container_registry_enabled":false,"created_at":"2013-09-30T13:46:02Z","last_activity_at":"2013-09-30T13:46:02Z","creator_id":3,"namespace":{"id":4,"name":"Brightbox","path":"brightbox","kind":"group","full_path":"brightbox"},"import_status":"none","import_error":null,"permissions":{"project_access":{"access_level":10,"notification_level":3},"group_access":{"access_level":50,"notification_level":3}},"archived":false,"avatar_url":null,"shared_runners_enabled":true,"forks_count":0,"star_count":0,"runners_token":"b8547b1dc37721d05889db52fa2f02","public_jobs":true,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"only_allow_merge_if_all_discussions_are_resolved":false,"request_access_enabled":false,"statistics":{"commit_count":12,"storage_size":2066080,"repository_size":2066080,"lfs_objects_size":0,"job_artifacts_size":0},"_links":{"self":"http://example.com/api/v4/projects","issues":"http://example.com/api/v4/projects/1/issues","merge_requests":"http://example.com/api/v4/projects/1/merge_requests","repo_branches":"http://example.com/api/v4/projects/1/repository_branches","labels":"http://example.com/api/v4/projects/1/labels","events":"http://example.com/api/v4/projects/1/events","members":"http://example.com/api/v4/projects/1/members"}}]
0 {"id":1,"title":"test","file_name":"add.rb","description":"Ruby test snippet","visibility":"private","author":{"id":1,"username":"john_smith","email":"john@example.com","name":"John Smith","state":"active","created_at":"2012-05-23T08:00:58Z"},"expires_at":null,"updated_at":"2012-06-28T10:52:04Z","created_at":"2012-06-28T10:52:04Z","project_id":null,"web_url":"http://example.com/snippets/1","raw_url":"http://example.com/snippets/1/raw"}
0 [{"id":42,"title":"Voluptatem iure ut qui aut et consequatur quaerat.","file_name":"mclaughlin.rb","description":null,"visibility":"internal","author":{"id":22,"name":"User 0","username":"user0","state":"active","avatar_url":"https://www.gravatar.com/avatar/52e4ce24a915fb7e51e1ad3b57f4b00a?s=80&d=identicon","web_url":"http://example.com/user0"},"updated_at":"2018-09-18T01:12:26.383Z","created_at":"2018-09-18T01:12:26.383Z","project_id":null,"web_url":"http://example.com/snippets/42","raw_url":"http://example.com/snippets/42/raw"},{"id":41,"title":"Ut praesentium non et atque.","file_name":"ondrickaemard.rb","description":null,"visibility":"internal","author":{"id":22,"name":"User 0","username":"user0","state":"active","avatar_url":"https://www.gravatar.com/avatar/52e4ce24a915fb7e51e1ad3b57f4b00a?s=80&d=identicon","web_url":"http://example.com/user0"},"updated_at":"2018-09-18T01:12:26.360Z","created_at":"2018-09-18T01:12:26.360Z","project_id":1,"web_url":"http://example.com/gitlab-org/gitlab-test/snippets/41","raw_url":"http://example.com/gitlab-org/gitlab-test/snippets/41/raw"}]
0 {
1 "status": "valid",
2 "errors": []
3 }
0 {"status":"valid","errors":[]}
0 {
1 "key": "VARIABLE",
2 "value": "the value"
3 }
0 {"key":"VARIABLE","value":"the value"}
0 [
1 {
2 "key": "TEST_VARIABLE_1",
3 "value": "TEST_1"
4 },
5 {
6 "key": "TEST_VARIABLE_2",
7 "value": "TEST_2"
8 }
9 ]
0 [{"key":"TEST_VARIABLE_1","value":"TEST_1"},{"key":"TEST_VARIABLE_2","value":"TEST_2"}]
0 {
1 "version": "8.13.0-pre",
2 "revision": "4e963fe"
3 }
0 {"version":"8.13.0-pre","revision":"4e963fe"}
0 {
1 "content" : "home page",
2 "format" : "markdown",
3 "slug" : "home",
4 "title" : "home"
5 }
6
0 {"content":"home page","format":"markdown","slug":"home","title":"home"}
0 {
1 "file_name" : "dk.png",
2 "file_path" : "uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png",
3 "branch" : "master",
4 "link" : {
5 "url" : "uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png",
6 "markdown" : "![dk](uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png)"
7 }
8 }
0 {"file_name":"dk.png","file_path":"uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png","branch":"master","link":{"url":"uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png","markdown":"![dk](uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png)"}}
0 [
1 {
2 "content" : "Here is an instruction how to deploy this project.",
3 "format" : "markdown",
4 "slug" : "deploy",
5 "title" : "deploy"
6 },
7 {
8 "content" : "Our development process is described here.",
9 "format" : "markdown",
10 "slug" : "development",
11 "title" : "development"
12 },{
13 "content" : "* [Deploy](deploy)\n* [Development](development)",
14 "format" : "markdown",
15 "slug" : "home",
16 "title" : "home"
17 }
18 ]
0 [{"content":"Here is an instruction how to deploy this project.","format":"markdown","slug":"deploy","title":"deploy"},{"content":"Our development process is described here.","format":"markdown","slug":"development","title":"development"},{"content":"* [Deploy](deploy)\n* [Development](development)","format":"markdown","slug":"home","title":"home"}]
4040 describe '.build_artifacts' do
4141 context 'when successful request' do
4242 before do
43 fixture = load_fixture('build_artifacts')
43 fixture = load_fixture('build_artifacts.zip')
4444 fixture.set_encoding(Encoding::ASCII_8BIT)
4545 stub_request(:get, "#{Gitlab.endpoint}/projects/3/builds/8/artifacts")
4646 .with(headers: { 'PRIVATE-TOKEN' => Gitlab.private_token })
0 # frozen_string_literal: true
1
2 require 'spec_helper'
3
4 describe Gitlab::Client do
5 describe '.epic_issues' do
6 before do
7 stub_get('/groups/7/epics/3/issues', 'epic_issues')
8 @issues = Gitlab.epic_issues(7, 3)
9 end
10
11 it 'gets the correct resource' do
12 expect(a_get('/groups/7/epics/3/issues')).to have_been_made
13 end
14
15 it "returns a paginated response of project's issues" do
16 expect(@issues).to be_a Gitlab::PaginatedResponse
17 expect(@issues.first.epic.group_id).to eq(7)
18 expect(@issues.first.epic.iid).to eq(3)
19 expect(@issues.first.epic_iid).to eq(3)
20 end
21 end
22 end
3838 end
3939 end
4040
41 describe '.project_merge_request_approval_rules' do
42 before do
43 stub_get('/projects/1/approval_rules', 'project_merge_request_approval_rules')
44 @project_mr_approval_rules = Gitlab.project_merge_request_approval_rules(1)
45 end
46
47 it 'gets the correct resource' do
48 expect(a_get('/projects/1/approval_rules')).to have_been_made
49 end
50
51 it 'returns the paginated list of approval rules' do
52 expect(@project_mr_approval_rules).to be_a Gitlab::PaginatedResponse
53 end
54 end
55
56 describe '.create_project_merge_request_approval_rule' do
57 before do
58 stub_post('/projects/1/approval_rules', 'project_merge_request_approval_rules')
59 @project_mr_approval_rules = Gitlab.create_project_merge_request_approval_rule(1, name: 'security', approvals_required: 1)
60 end
61
62 it 'creates the correct resource' do
63 expect(a_post('/projects/1/approval_rules')).to have_been_made
64 end
65
66 it 'returns the paginated list of approval rules' do
67 expect(@project_mr_approval_rules).to be_a Gitlab::PaginatedResponse
68 expect(@project_mr_approval_rules.first.id).to eq(1)
69 expect(@project_mr_approval_rules.first.name).to eq('security')
70 expect(@project_mr_approval_rules.first.approvals_required).to eq(3)
71 end
72 end
73
74 describe '.update_project_merge_request_approval_rule' do
75 before do
76 stub_put('/projects/1/approval_rules/1', 'project_merge_request_approval_rules')
77 @project_mr_approval_rules = Gitlab.update_project_merge_request_approval_rule(1, 1, name: 'security', approvals_required: 1)
78 end
79
80 it 'updates the correct resource' do
81 expect(a_put('/projects/1/approval_rules/1')).to have_been_made
82 end
83
84 it 'returns the paginated list of approval rules' do
85 expect(@project_mr_approval_rules).to be_a Gitlab::PaginatedResponse
86 expect(@project_mr_approval_rules.first.id).to eq(1)
87 expect(@project_mr_approval_rules.first.name).to eq('security')
88 expect(@project_mr_approval_rules.first.approvals_required).to eq(3)
89 end
90 end
91
92 describe '.delete_project_merge_request_approval_rule' do
93 before do
94 stub_delete('/projects/1/approval_rules/1', 'empty')
95 Gitlab.delete_project_merge_request_approval_rule(1, 1)
96 end
97
98 it 'deletes the correct resource' do
99 expect(a_delete('/projects/1/approval_rules/1')).to have_been_made
100 end
101 end
102
41103 describe '.edit_project_approvers' do
42104 before do
43105 body = { "approver_ids": ['5'], "approver_group_ids": ['1'] }
139201 expect(a_post('/projects/1/merge_requests/5/unapprove')).to have_been_made
140202 end
141203 end
204
205 describe '.merge_request_approval_state' do
206 before do
207 stub_get('/projects/3/merge_requests/1/approval_state', 'merge_request_approval_state')
208 @approval_state = Gitlab.merge_request_approval_state(3, 1)
209 end
210
211 it 'gets the correct resource' do
212 expect(a_get('/projects/3/merge_requests/1/approval_state')).to have_been_made
213 end
214
215 it 'returns information about all approval states of merge request' do
216 expect(@approval_state.approvals_required).to eq(2)
217 expect(@approval_state.approvals_left).to eq(2)
218 expect(@approval_state.approved_by).to be_empty
219 end
220 end
142221 end
302302
303303 it 'posts the correct resource' do
304304 expect(a_post('/projects/3/merge_requests/2/discussions')
305 .with(body: 'body=Discussion&position[old_line]=1')).to have_been_made
305 .with(body: 'body=Discussion&position[old_line]=1'.gsub('[', '%5B').gsub(']', '%5D'))).to have_been_made
306306 end
307307
308308 it 'returns information about the discussions' do
6666 expect(@notes.first.author.name).to eq('John Smith')
6767 end
6868 end
69
70 context 'when epic notes' do
71 before do
72 stub_get('/groups/3/epics/7/notes', 'notes')
73 @notes = Gitlab.epic_notes(3, 7)
74 end
75
76 it 'gets the correct resource' do
77 expect(a_get('/groups/3/epics/7/notes')).to have_been_made
78 end
79
80 it 'returns a paginated response of notes' do
81 expect(@notes).to be_a Gitlab::PaginatedResponse
82 expect(@notes.first.author.name).to eq('John Smith')
83 end
84 end
6985 end
7086
7187 describe 'note' do
202218 expect(@note.author.name).to eq('John Smith')
203219 end
204220 end
221
222 context 'when epic note' do
223 before do
224 stub_post('/groups/3/epics/7/notes', 'note')
225 @note = Gitlab.create_epic_note(3, 7, 'The solution is rather tricky')
226 end
227
228 it 'gets the correct resource' do
229 expect(a_post('/groups/3/epics/7/notes')
230 .with(body: { body: 'The solution is rather tricky' })).to have_been_made
231 end
232
233 it 'returns information about a created note' do
234 expect(@note.body).to eq('The solution is rather tricky')
235 expect(@note.author.name).to eq('John Smith')
236 end
237 end
205238 end
206239
207240 describe 'delete note' do
6666
6767 it 'calls with the correct body' do
6868 expected_body = 'variables[][key]=VAR1&variables[][value]=value&variables[][key]=VAR2&variables[][value]=value'
69 expect(a_post(pipeline_path).with(body: expected_body)).to have_been_made
69 expect(a_post(pipeline_path).with(body: expected_body.gsub('[', '%5B').gsub(']', '%5D'))).to have_been_made
7070 end
7171 end
7272 end
44 describe Gitlab::Client do
55 describe '.file_contents' do
66 before do
7 stub_get('/projects/3/repository/files/Gemfile/raw?ref=master', 'raw_file')
7 stub_get('/projects/3/repository/files/Gemfile/raw?ref=master', 'raw_file.txt')
88 @file_contents = Gitlab.file_contents(3, 'Gemfile')
99 end
1010
0 # frozen_string_literal: true
1
2 require 'spec_helper'
3
4 describe Gitlab::Client do
5 describe '.user_snippets' do
6 before do
7 stub_get('/snippets', 'user_snippets')
8 @snippets = Gitlab.user_snippets
9 end
10
11 it 'gets the correct resource' do
12 expect(a_get('/snippets')).to have_been_made
13 end
14
15 it "returns a paginated response of user's snippets" do
16 expect(@snippets).to be_a Gitlab::PaginatedResponse
17 expect(@snippets.first.file_name).to eq('mclaughlin.rb')
18 end
19 end
20
21 describe '.user_snippet' do
22 before do
23 stub_get('/snippets/1', 'user_snippet')
24 @snippet = Gitlab.user_snippet(1)
25 end
26
27 it 'gets the correct resource' do
28 expect(a_get('/snippets/1')).to have_been_made
29 end
30
31 it 'returns information about a snippet' do
32 expect(@snippet.file_name).to eq('add.rb')
33 expect(@snippet.author.name).to eq('John Smith')
34 end
35 end
36
37 describe '.user_snippet_raw' do
38 before do
39 stub_get('/snippets/1/raw', 'snippet_content')
40 @snippet_content = Gitlab.user_snippet_raw(1)
41 end
42
43 it 'gets the correct resource' do
44 expect(a_get('/snippets/1/raw')).to have_been_made
45 end
46
47 it 'returns raw content of a user snippet' do
48 expect(@snippet_content).to eq("#!/usr/bin/env ruby\n\nputs \"Cool snippet!\"\n")
49 end
50 end
51
52 describe '.create_user_snippet' do
53 before do
54 stub_post('/snippets', 'created_user_snippet')
55 @snippet = Gitlab.create_user_snippet(title: 'This is a snippet', content: 'Hello world', description: 'Hello World snippet', file_name: 'test.txt', visibility: 'internal')
56 end
57
58 it 'gets the correct resource' do
59 body = { title: 'This is a snippet', content: 'Hello world', description: 'Hello World snippet', file_name: 'test.txt', visibility: 'internal' }
60 expect(a_post('/snippets').with(body: body)).to have_been_made
61 end
62
63 it 'returns information about a new snippet' do
64 expect(@snippet.file_name).to eq('test.txt')
65 expect(@snippet.description).to eq('Hello World snippet')
66 expect(@snippet.author.name).to eq('John Smith')
67 end
68 end
69
70 describe '.edit_user_snippet' do
71 before do
72 stub_put('/snippets/1', 'updated_user_snippet')
73 @snippet = Gitlab.edit_user_snippet(1, file_name: 'add.rb')
74 end
75
76 it 'gets the correct resource' do
77 expect(a_put('/snippets/1')
78 .with(body: { file_name: 'add.rb' })).to have_been_made
79 end
80
81 it 'returns information about an edited snippet' do
82 expect(@snippet.file_name).to eq('add.rb')
83 end
84 end
85
86 describe '.delete_user_snippet' do
87 before do
88 stub_delete('/snippets/1', 'empty')
89 @snippet = Gitlab.delete_user_snippet(1)
90 end
91
92 it 'gets the correct resource' do
93 expect(a_delete('/snippets/1')).to have_been_made
94 end
95 end
96
97 describe '.public_snippets' do
98 before do
99 stub_get('/snippets/public', 'public_snippets').with(query: { per_page: 2, page: 1 })
100 @snippets = Gitlab.public_snippets(per_page: 2, page: 1)
101 end
102
103 it 'gets the correct resource' do
104 expect(a_get('/snippets/public')
105 .with(query: { per_page: 2, page: 1 })).to have_been_made
106 end
107
108 it 'returns a paginated response of public snippets' do
109 expect(@snippets).to be_a Gitlab::PaginatedResponse
110 expect(@snippets.last.visibility).to eq('public')
111 end
112 end
113
114 describe '.snippet_user_agent_details' do
115 before do
116 stub_get('/snippets/1/user_agent_detail', 'snippet_user_agent_details')
117 @detail = Gitlab.snippet_user_agent_details(1)
118 end
119
120 it 'gets the correct resource' do
121 expect(a_get('/snippets/1/user_agent_detail')).to have_been_made
122 end
123
124 it 'returns user agent detail information about the snippet' do
125 expect(@detail.to_h.keys.sort).to eq(%w[akismet_submitted ip_address user_agent])
126 end
127 end
128 end
209209 end
210210 end
211211
212 describe '.activities' do
213 before do
214 stub_get('/user/activities', 'activities')
215 @activities = Gitlab.activities
216 end
217
218 it 'gets the correct resource' do
219 expect(a_get('/user/activities')).to have_been_made
220 end
221
222 it 'returns a paginated response of user activity' do
223 expect(@activities).to be_a Gitlab::PaginatedResponse
224 expect(@activities.first.username).to eq('someuser')
225 end
226 end
227
212228 describe '.ssh_keys' do
213229 context 'with user ID passed' do
214230 before do
5050 response_double = double('response', body: 'Retry later', to_s: 'Retry text', parsed_response: { message: 'Retry hash' }, code: 429, options: {}, headers: headers, request: @request_double)
5151 expect(described_class.new(response_double).send(:build_error_message)).to match(/Retry hash/)
5252 end
53
54 context 'parsing errors' do
55 let(:headers) { { 'content-type' => 'application/json' } }
56 let(:response_double) do
57 double('response', body: 'Retry later', to_s: 'Retry text', code: status, options: {}, headers: headers, request: @request_double)
58 end
59 let(:status) { 429 }
60
61 before do
62 allow(response_double).to receive(:parsed_response)
63 .and_raise(Gitlab::Error::Parsing)
64 end
65
66 it 'Builds an error message from text' do
67 expect(described_class.new(response_double).send(:build_error_message)).to match(/Retry text/)
68 end
69 end
5370 end
33
44 describe Gitlab::ObjectifiedHash do
55 before do
6 @hash = { a: 1, b: 2, 'string' => 'string', symbol: :symbol }
6 @hash = { a: 1, b: 2, 'string' => 'string', symbol: :symbol, array: ['string', { a: 1, b: 2 }] }
77 @oh = described_class.new @hash
8 end
9
10 describe 'Hash behavior' do
11 let(:hash) { { foo: 'bar' } }
12 let(:oh) { described_class.new(hash) }
13
14 it 'allows to call Hash methods' do
15 expect(oh.dig('foo')).to eq('bar')
16 expect(oh.merge(key: :value)).to eq({ 'foo' => 'bar', key: :value })
17 end
18
19 it 'warns about calling Hash methods' do
20 output = capture_output { oh.values }
21 expect(output).to eq("WARNING: Please convert ObjectifiedHash object to hash before calling Hash methods on it.\n")
22 end
823 end
924
1025 it 'objectifies a hash' do
1126 expect(@oh.a).to eq(@hash[:a])
1227 expect(@oh.b).to eq(@hash[:b])
28 end
29
30 it 'objectifies a hash contained in an array' do
31 expect(@oh.array[1].a).to eq(@hash[:array][1][:a])
32 expect(@oh.array[1].b).to eq(@hash[:array][1][:b])
33 expect(@oh.array[0]).to eq(@hash[:array][0])
34 end
35
36 it 'supports legacy addressing mode' do
37 expect(@oh['a']).to eq(@hash[:a])
38 expect(@oh['b']).to eq(@hash[:b])
1339 end
1440
1541 describe '#to_hash' do
3636 expect(@paginated_response.next_page).to be_nil
3737 expect(@paginated_response.prev_page).to be_nil
3838 end
39
40 context 'when the Link header endpoint does not match the configured endpoint' do
41 it 'removes the apprpriate prefix from the pagination link' do
42 @paginated_response.parse_headers!('Link' => '<http://example.com/api/v3/projects?page=1&per_page=5>; rel="first", <http://example.com/api/v3/projects?page=20&per_page=5>; rel="last"')
43 client = @paginated_response.client = double('client')
44 first_page_response = double('first_page_response')
45 last_page_response = double('last_page_response')
46 allow(client).to receive(:endpoint).and_return('http://internal.example.com/api/v3')
47 allow(client).to receive(:get).with('/projects?page=1&per_page=5').and_return(first_page_response)
48 allow(client).to receive(:get).with('/projects?page=20&per_page=5').and_return(last_page_response)
49 expect(@paginated_response.first_page).to be first_page_response
50 expect(@paginated_response.last_page).to be last_page_response
51 end
52 end
3953 end
4054
4155 describe '.each_page' do
4559 allow(@paginated_response).to receive(:next_page).and_return(next_page)
4660 allow(next_page).to receive(:has_next_page?).and_return(false)
4761 expect { |b| @paginated_response.each_page(&b) }.to yield_successive_args(@paginated_response, next_page)
62 end
63 end
64
65 describe '.lazy_paginate' do
66 it 'returns a lazy enumerator' do
67 expect(@paginated_response.lazy_paginate).to be_an(Enumerator::Lazy)
68 end
69
70 it 'only requests needed pages' do
71 next_page = double('next_page')
72 allow(@paginated_response).to receive(:has_next_page?).and_return(true)
73 allow(@paginated_response).to receive(:next_page).and_return(next_page)
74 allow(next_page).to receive(:has_next_page?).and_return(true)
75 # NOTE:
76 # Do not define :next_page on the next_page double to prove that it is NOT
77 # called even though :has_next_page? has been defined to claim another
78 # page is available.
79 allow(next_page).to receive(:to_ary).and_return([5, 6, 7, 8])
80 expect(@paginated_response.lazy_paginate.take(8)).to contain_exactly(1, 2, 3, 4, 5, 6, 7, 8)
4881 end
4982 end
5083
89122 allow(@paginated_response).to receive(:has_next_page?).and_return(true)
90123 allow(@paginated_response).to receive(:next_page).and_return(next_page)
91124 allow(next_page).to receive(:has_next_page?).and_return(false)
92 allow(next_page).to receive(:[]).with(0, 1).and_return([5])
125 allow(next_page).to receive(:to_ary).and_return([5])
93126 expect(@paginated_response.paginate_with_limit(5)).to contain_exactly(1, 2, 3, 4, 5)
94127 end
95128 end
100133 allow(@paginated_response).to receive(:has_next_page?).and_return(true)
101134 allow(@paginated_response).to receive(:next_page).and_return(next_page)
102135 allow(next_page).to receive(:has_next_page?).and_return(false)
103 allow(next_page).to receive(:each).and_yield(5).and_yield(6).and_yield(7).and_yield(8)
136 allow(next_page).to receive(:to_ary).and_return([5, 6, 7, 8])
104137 end
105138 end
106139
124157 expect { |b| @paginated_response.paginate_with_limit(5, &b) }.to yield_successive_args(1, 2, 3, 4, 5)
125158 end
126159 end
160
161 describe '.client_relative_path' do
162 subject(:client_relative_path) do
163 @paginated_response.client_relative_path('https://127.0.0.1/api/v4/projects/1/merge_requests/2/notes')
164 end
165
166 it 'removes the prefix and api version from the link' do
167 client = @paginated_response.client = double('client')
168 allow(client).to receive(:endpoint).and_return('https://example.com/api/v4')
169
170 expect(client_relative_path).to eq '/projects/1/merge_requests/2/notes'
171 end
172 end
127173 end
4141
4242 context 'loading a file' do
4343 before do
44 @file = load_fixture('shell_history')
44 @file = load_fixture('shell_history.txt')
4545 @history = described_class.new(file_path: @file.path)
4646 end
4747
1616 end
1717
1818 def load_fixture(name)
19 File.new(File.dirname(__FILE__) + "/fixtures/#{name}.json")
19 name, extension = name.split('.')
20 File.new(File.dirname(__FILE__) + "/fixtures/#{name}.#{extension || 'json'}")
2021 end
2122
2223 RSpec.configure do |config|