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
962c0ad7
Commit
962c0ad7
authored
Dec 26, 2019
by
raju249
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add doc markdown files for sentry project settings API
parent
26d3e855
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
doc/api/api_resources.md
doc/api/api_resources.md
+1
-0
doc/api/sentry_project_settings.md
doc/api/sentry_project_settings.md
+27
-0
No files found.
doc/api/api_resources.md
View file @
962c0ad7
...
...
@@ -29,6 +29,7 @@ The following API resources are available in the project context:
|
[
Deployments
](
deployments.md
)
|
`/projects/:id/deployments`
|
|
[
Discussions
](
discussions.md
)
(
threaded
comments) |
`/projects/:id/issues/.../discussions`
,
`/projects/:id/snippets/.../discussions`
,
`/projects/:id/merge_requests/.../discussions`
,
`/projects/:id/commits/.../discussions`
(also available for groups) |
|
[
Environments
](
environments.md
)
|
`/projects/:id/environments`
|
|
[
Error Tracking
](
sentry_project_settings.md
)
|
`/projects/:id/error_tracking/sentry_project_settings`
|
|
[
Events
](
events.md
)
|
`/projects/:id/events`
(also available for users and standalone) |
|
[
Issues
](
issues.md
)
|
`/projects/:id/issues`
(also available for groups and standalone) |
|
[
Issues Statistics
](
issues_statistics.md
)
|
`/projects/:id/issues_statistics`
(also available for groups and standalone) |
...
...
doc/api/sentry_project_settings.md
0 → 100644
View file @
962c0ad7
# Sentry Project Settings API
## Sentry Error Tracking Project Settings
The Sentry Project Settings API allows you to retrieve sentry error tracking settings for a project.
### Retrieve Sentry Error Tracking Settings
```
GET /projects/:id/error_tracking/sentry_project_settings
```
| Attribute | Type | Required | Description |
| --------- | ------- | -------- | --------------------- |
|
`id`
| integer | yes | The ID of the project owned by the authenticated user |
```
bash
curl
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/projects/1/error_tracking/sentry_project_settings
```
Example response:
```
json
{
"project_name"
:
"sample sentry project"
,
"sentry_external_url"
:
"https://sentry.io/myawesomeproject/project"
}
```
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