Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d2e5f9c3
Commit
d2e5f9c3
authored
Feb 22, 2022
by
Nick Gaskill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 2 suggestion(s) to 1 file(s)
parent
a87de0a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
doc/api/alert_management_alerts.md
doc/api/alert_management_alerts.md
+7
-7
No files found.
doc/api/alert_management_alerts.md
View file @
d2e5f9c3
...
...
@@ -19,8 +19,8 @@ POST /projects/:id/alert_management_alerts/:alert_iid/metric_images
| Attribute | Type | Required | Description |
|-------------|---------|----------|--------------------------------------|
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
index.md#namespaced-path-encoding
)
owned by the authenticated user
|
|
`alert_iid`
| integer | yes | The internal ID of a project's alert |
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
index.md#namespaced-path-encoding
)
owned by the authenticated user
.
|
|
`alert_iid`
| integer | yes | The internal ID of a project's alert
.
|
```
shell
curl
--request
POST
--header
"PRIVATE-TOKEN: <your_access_token>"
--form
'file=@/path/to/file.png'
\
...
...
@@ -86,11 +86,11 @@ PUT /projects/:id/alert_management_alerts/:alert_iid/metric_image/:image_id
| Attribute | Type | Required | Description |
|-------------|---------|----------|--------------------------------------|
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
index.md#namespaced-path-encoding
)
owned by the authenticated user
|
|
`alert_iid`
| integer | yes | The internal ID of a project's alert |
|
`image_id`
| integer | yes | The ID of the image |
|
`url`
| string | no | The URL to view more metric
information
|
|
`url_text`
| string | no | A description of the image or URL |
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
index.md#namespaced-path-encoding
)
owned by the authenticated user
.
|
|
`alert_iid`
| integer | yes | The internal ID of a project's alert
.
|
|
`image_id`
| integer | yes | The ID of the image
.
|
|
`url`
| string | no | The URL to view more metric
s information.
|
|
`url_text`
| string | no | A description of the image or URL
.
|
```
shell
curl
--header
"PRIVATE-TOKEN: <your_access_token>"
--request
PUT
--form
'url=http://example.com'
--form
'url_text=Example website'
"https://gitlab.example.com/api/v4/projects/5/alert_management_alerts/93/metric_images/1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment