@templmf/temp-solf-lmf 0.0.107 → 0.0.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gitlab-foss-8-17-stable/doc/api/README.md +391 -0
- package/gitlab-foss-8-17-stable/doc/api/access_requests.md +139 -0
- package/gitlab-foss-8-17-stable/doc/api/award_emoji.md +374 -0
- package/gitlab-foss-8-17-stable/doc/api/boards.md +241 -0
- package/gitlab-foss-8-17-stable/doc/api/branches.md +260 -0
- package/gitlab-foss-8-17-stable/doc/api/broadcast_messages.md +154 -0
- package/gitlab-foss-8-17-stable/doc/api/build_triggers.md +118 -0
- package/gitlab-foss-8-17-stable/doc/api/build_variables.md +128 -0
- package/gitlab-foss-8-17-stable/doc/api/builds.md +610 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/README.md +24 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/builds.md +147 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/lint.md +49 -0
- package/gitlab-foss-8-17-stable/doc/api/ci/runners.md +59 -0
- package/gitlab-foss-8-17-stable/doc/api/commits.md +479 -0
- package/gitlab-foss-8-17-stable/doc/api/deploy_key_multiple_projects.md +29 -0
- package/gitlab-foss-8-17-stable/doc/api/deploy_keys.md +216 -0
- package/gitlab-foss-8-17-stable/doc/api/deployments.md +218 -0
- package/gitlab-foss-8-17-stable/doc/api/enviroments.md +121 -0
- package/gitlab-foss-8-17-stable/doc/api/groups.md +484 -0
- package/gitlab-foss-8-17-stable/doc/api/issues.md +856 -0
- package/gitlab-foss-8-17-stable/doc/api/keys.md +46 -0
- package/gitlab-foss-8-17-stable/doc/api/labels.md +257 -0
- package/gitlab-foss-8-17-stable/doc/api/members.md +175 -0
- package/gitlab-foss-8-17-stable/doc/api/merge_requests.md +1158 -0
- package/gitlab-foss-8-17-stable/doc/api/milestones.md +105 -0
- package/gitlab-foss-8-17-stable/doc/api/namespaces.md +70 -0
- package/gitlab-foss-8-17-stable/doc/api/notes.md +407 -0
- package/gitlab-foss-8-17-stable/doc/api/notification_settings.md +177 -0
- package/gitlab-foss-8-17-stable/doc/api/oauth2.md +137 -0
- package/gitlab-foss-8-17-stable/doc/api/pipelines.md +259 -0
- package/gitlab-foss-8-17-stable/doc/api/project_snippets.md +118 -0
- package/gitlab-foss-8-17-stable/doc/api/projects.md +1402 -0
- package/gitlab-foss-8-17-stable/doc/api/repositories.md +200 -0
- package/gitlab-foss-8-17-stable/doc/api/repository_files.md +134 -0
- package/gitlab-foss-8-17-stable/doc/api/runners.md +322 -0
- package/gitlab-foss-8-17-stable/doc/api/services.md +812 -0
- package/gitlab-foss-8-17-stable/doc/api/session.md +56 -0
- package/gitlab-foss-8-17-stable/doc/api/settings.md +126 -0
- package/gitlab-foss-8-17-stable/doc/api/sidekiq_metrics.md +152 -0
- package/gitlab-foss-8-17-stable/doc/api/snippets.md +232 -0
- package/gitlab-foss-8-17-stable/doc/api/system_hooks.md +146 -0
- package/gitlab-foss-8-17-stable/doc/api/tags.md +191 -0
- package/gitlab-foss-8-17-stable/doc/api/templates/gitignores.md +579 -0
- package/gitlab-foss-8-17-stable/doc/api/templates/gitlab_ci_ymls.md +120 -0
- package/gitlab-foss-8-17-stable/doc/api/templates/licenses.md +147 -0
- package/gitlab-foss-8-17-stable/doc/api/todos.md +296 -0
- package/gitlab-foss-8-17-stable/doc/api/users.md +835 -0
- package/gitlab-foss-8-17-stable/doc/api/v3_to_v4.md +14 -0
- package/gitlab-foss-8-17-stable/doc/api/version.md +23 -0
- package/package.json +1 -1
- package/SkillConfigPanel.vue +0 -2322
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# System hooks
|
|
2
|
+
|
|
3
|
+
All methods require administrator authorization.
|
|
4
|
+
|
|
5
|
+
The URL endpoint of the system hooks can also be configured using the UI in
|
|
6
|
+
the admin area under **Hooks** (`/admin/hooks`).
|
|
7
|
+
|
|
8
|
+
Read more about [system hooks](../system_hooks/system_hooks.md).
|
|
9
|
+
|
|
10
|
+
## List system hooks
|
|
11
|
+
|
|
12
|
+
Get a list of all system hooks.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
GET /hooks
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Example request:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/hooks
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Example response:
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
|
+
"id":1,
|
|
32
|
+
"url":"https://gitlab.example.com/hook",
|
|
33
|
+
"created_at":"2016-10-31T12:32:15.192Z",
|
|
34
|
+
"push_events":true,
|
|
35
|
+
"tag_push_events":false,
|
|
36
|
+
"enable_ssl_verification":true
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Add new system hook
|
|
42
|
+
|
|
43
|
+
Add a new system hook.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
POST /hooks
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
| Attribute | Type | Required | Description |
|
|
52
|
+
| --------- | ---- | -------- | ----------- |
|
|
53
|
+
| `url` | string | yes | The hook URL |
|
|
54
|
+
| `token` | string | no | Secret token to validate received payloads; this will not be returned in the response |
|
|
55
|
+
| `push_events` | boolean | no | When true, the hook will fire on push events |
|
|
56
|
+
| `tag_push_events` | boolean | no | When true, the hook will fire on new tags being pushed |
|
|
57
|
+
| `enable_ssl_verification` | boolean | no | Do SSL verification when triggering the hook |
|
|
58
|
+
|
|
59
|
+
Example request:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/hooks?url=https://gitlab.example.com/hook"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Example response:
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
"id":1,
|
|
71
|
+
"url":"https://gitlab.example.com/hook",
|
|
72
|
+
"created_at":"2016-10-31T12:32:15.192Z",
|
|
73
|
+
"push_events":true,
|
|
74
|
+
"tag_push_events":false,
|
|
75
|
+
"enable_ssl_verification":true
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Test system hook
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
GET /hooks/:id
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
| Attribute | Type | Required | Description |
|
|
87
|
+
| --------- | ---- | -------- | ----------- |
|
|
88
|
+
| `id` | integer | yes | The ID of the hook |
|
|
89
|
+
|
|
90
|
+
Example request:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/hooks/2
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Example response:
|
|
97
|
+
|
|
98
|
+
```json
|
|
99
|
+
{
|
|
100
|
+
"project_id" : 1,
|
|
101
|
+
"owner_email" : "example@gitlabhq.com",
|
|
102
|
+
"owner_name" : "Someone",
|
|
103
|
+
"name" : "Ruby",
|
|
104
|
+
"path" : "ruby",
|
|
105
|
+
"event_name" : "project_create"
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Delete system hook
|
|
110
|
+
|
|
111
|
+
Deletes a system hook.
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
DELETE /hooks/:id
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
| Attribute | Type | Required | Description |
|
|
120
|
+
| --------- | ---- | -------- | ----------- |
|
|
121
|
+
| `id` | integer | yes | The ID of the hook |
|
|
122
|
+
|
|
123
|
+
Example request:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/hooks/2
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Example response:
|
|
130
|
+
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"note_events" : false,
|
|
134
|
+
"project_id" : null,
|
|
135
|
+
"enable_ssl_verification" : true,
|
|
136
|
+
"url" : "https://gitlab.example.com/hook",
|
|
137
|
+
"updated_at" : "2015-11-04T20:12:15.931Z",
|
|
138
|
+
"issues_events" : false,
|
|
139
|
+
"merge_requests_events" : false,
|
|
140
|
+
"created_at" : "2015-11-04T20:12:15.931Z",
|
|
141
|
+
"service_id" : null,
|
|
142
|
+
"id" : 2,
|
|
143
|
+
"push_events" : true,
|
|
144
|
+
"tag_push_events" : false
|
|
145
|
+
}
|
|
146
|
+
```
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
# Tags
|
|
2
|
+
|
|
3
|
+
## List project repository tags
|
|
4
|
+
|
|
5
|
+
Get a list of repository tags from a project, sorted by name in reverse
|
|
6
|
+
alphabetical order. This endpoint can be accessed without authentication if the
|
|
7
|
+
repository is publicly accessible.
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
GET /projects/:id/repository/tags
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Parameters:
|
|
14
|
+
|
|
15
|
+
- `id` (required) - The ID of a project
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
[
|
|
19
|
+
{
|
|
20
|
+
"commit": {
|
|
21
|
+
"author_name": "John Smith",
|
|
22
|
+
"author_email": "john@example.com",
|
|
23
|
+
"authored_date": "2012-05-28T04:42:42-07:00",
|
|
24
|
+
"committed_date": "2012-05-28T04:42:42-07:00",
|
|
25
|
+
"committer_name": "Jack Smith",
|
|
26
|
+
"committer_email": "jack@example.com",
|
|
27
|
+
"id": "2695effb5807a22ff3d138d593fd856244e155e7",
|
|
28
|
+
"message": "Initial commit",
|
|
29
|
+
"parents_ids": [
|
|
30
|
+
"2a4b78934375d7f53875269ffd4f45fd83a84ebe"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"release": {
|
|
34
|
+
"tag_name": "1.0.0",
|
|
35
|
+
"description": "Amazing release. Wow"
|
|
36
|
+
},
|
|
37
|
+
"name": "v1.0.0",
|
|
38
|
+
"message": null
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Get a single repository tag
|
|
44
|
+
|
|
45
|
+
Get a specific repository tag determined by its name. This endpoint can be
|
|
46
|
+
accessed without authentication if the repository is publicly accessible.
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
GET /projects/:id/repository/tags/:tag_name
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Parameters:
|
|
53
|
+
|
|
54
|
+
| Attribute | Type | Required | Description |
|
|
55
|
+
| --------- | ---- | -------- | ----------- |
|
|
56
|
+
| `id` | integer | yes | The ID of a project |
|
|
57
|
+
| `tag_name` | string | yes | The name of the tag |
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/repository/tags/v1.0.0
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Example Response:
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"name": "v5.0.0",
|
|
68
|
+
"message": null,
|
|
69
|
+
"commit": {
|
|
70
|
+
"id": "60a8ff033665e1207714d6670fcd7b65304ec02f",
|
|
71
|
+
"message": "v5.0.0\n",
|
|
72
|
+
"parent_ids": [
|
|
73
|
+
"f61c062ff8bcbdb00e0a1b3317a91aed6ceee06b"
|
|
74
|
+
],
|
|
75
|
+
"authored_date": "2015-02-01T21:56:31.000+01:00",
|
|
76
|
+
"author_name": "Arthur Verschaeve",
|
|
77
|
+
"author_email": "contact@arthurverschaeve.be",
|
|
78
|
+
"committed_date": "2015-02-01T21:56:31.000+01:00",
|
|
79
|
+
"committer_name": "Arthur Verschaeve",
|
|
80
|
+
"committer_email": "contact@arthurverschaeve.be"
|
|
81
|
+
},
|
|
82
|
+
"release": null
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Create a new tag
|
|
87
|
+
|
|
88
|
+
Creates a new tag in the repository that points to the supplied ref.
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
POST /projects/:id/repository/tags
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Parameters:
|
|
95
|
+
|
|
96
|
+
- `id` (required) - The ID of a project
|
|
97
|
+
- `tag_name` (required) - The name of a tag
|
|
98
|
+
- `ref` (required) - Create tag using commit SHA, another tag name, or branch name.
|
|
99
|
+
- `message` (optional) - Creates annotated tag.
|
|
100
|
+
- `release_description` (optional) - Add release notes to the git tag and store it in the GitLab database.
|
|
101
|
+
|
|
102
|
+
```json
|
|
103
|
+
{
|
|
104
|
+
"commit": {
|
|
105
|
+
"author_name": "John Smith",
|
|
106
|
+
"author_email": "john@example.com",
|
|
107
|
+
"authored_date": "2012-05-28T04:42:42-07:00",
|
|
108
|
+
"committed_date": "2012-05-28T04:42:42-07:00",
|
|
109
|
+
"committer_name": "Jack Smith",
|
|
110
|
+
"committer_email": "jack@example.com",
|
|
111
|
+
"id": "2695effb5807a22ff3d138d593fd856244e155e7",
|
|
112
|
+
"message": "Initial commit",
|
|
113
|
+
"parents_ids": [
|
|
114
|
+
"2a4b78934375d7f53875269ffd4f45fd83a84ebe"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"release": {
|
|
118
|
+
"tag_name": "1.0.0",
|
|
119
|
+
"description": "Amazing release. Wow"
|
|
120
|
+
},
|
|
121
|
+
"name": "v1.0.0",
|
|
122
|
+
"message": null
|
|
123
|
+
}
|
|
124
|
+
```
|
|
125
|
+
The message will be `nil` when creating a lightweight tag otherwise
|
|
126
|
+
it will contain the annotation.
|
|
127
|
+
|
|
128
|
+
In case of an error,
|
|
129
|
+
status code `405` with an explaining error message is returned.
|
|
130
|
+
|
|
131
|
+
## Delete a tag
|
|
132
|
+
|
|
133
|
+
Deletes a tag of a repository with given name.
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
DELETE /projects/:id/repository/tags/:tag_name
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Parameters:
|
|
140
|
+
|
|
141
|
+
- `id` (required) - The ID of a project
|
|
142
|
+
- `tag_name` (required) - The name of a tag
|
|
143
|
+
|
|
144
|
+
```json
|
|
145
|
+
{
|
|
146
|
+
"tag_name": "v4.3.0"
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Create a new release
|
|
151
|
+
|
|
152
|
+
Add release notes to the existing git tag. If there
|
|
153
|
+
already exists a release for the given tag, status code `409` is returned.
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
POST /projects/:id/repository/tags/:tag_name/release
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Parameters:
|
|
160
|
+
|
|
161
|
+
- `id` (required) - The ID of a project
|
|
162
|
+
- `tag_name` (required) - The name of a tag
|
|
163
|
+
- `description` (required) - Release notes with markdown support
|
|
164
|
+
|
|
165
|
+
```json
|
|
166
|
+
{
|
|
167
|
+
"tag_name": "1.0.0",
|
|
168
|
+
"description": "Amazing release. Wow"
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Update a release
|
|
173
|
+
|
|
174
|
+
Updates the release notes of a given release.
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
PUT /projects/:id/repository/tags/:tag_name/release
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Parameters:
|
|
181
|
+
|
|
182
|
+
- `id` (required) - The ID of a project
|
|
183
|
+
- `tag_name` (required) - The name of a tag
|
|
184
|
+
- `description` (required) - Release notes with markdown support
|
|
185
|
+
|
|
186
|
+
```json
|
|
187
|
+
{
|
|
188
|
+
"tag_name": "1.0.0",
|
|
189
|
+
"description": "Amazing release. Wow"
|
|
190
|
+
}
|
|
191
|
+
```
|