Sentry
Connect to Sentry to manage projects, issues, releases, and integrations.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | available | — |
| OAuth 2.0 (Public Integration) | oauth2 | available | — |
| Sentry Integration Platform (Managed App) | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SENTRY_BULK_MUTATE_A_LIST_OF_ISSUES", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SENTRY_BULK_MUTATE_A_LIST_OF_ISSUES", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SENTRY_BULK_MUTATE_A_LIST_OF_ISSUES --data '{ }'Tool 目录
可用 Tools
17 个可调用操作
Bulk Mutate A List Of IssuesSENTRY_BULK_MUTATE_A_LIST_OF_ISSUESBulk mutate various attributes on issues. The list of issues to modify is given through the `id` query parameter. It is repeated for each issue that should be modified. - For non-status updates, the `id` query parameter is required. - For status updates, the `id` query parameter may be omitted for a batch "update all" query. - An optional `status` query parameter may be used to restrict mutations to only events with the given status. The following attributes can be modified and are supplied as JSON object in the body: If any IDs are out of scope this operation will succeed without any data mutation.需要连接1 scope
Bulk mutate various attributes on issues. The list of issues to modify is given through the `id` query parameter. It is repeated for each issue that should be modified. - For non-status updates, the `id` query parameter is required. - For status updates, the `id` query parameter may be omitted for a batch "update all" query. - An optional `status` query parameter may be used to restrict mutations to only events with the given status. The following attributes can be modified and are supplied as JSON object in the body: If any IDs are out of scope this operation will succeed without any data mutation.
认证
需要 Connected AccountScopes
event:writeTags
Create Or Update An External IssueSENTRY_CREATE_OR_UPDATE_AN_EXTERNAL_ISSUECreate or update an external issue from an integration platform integration.需要连接1 scope
Create or update an external issue from an integration platform integration.
认证
需要 Connected AccountScopes
event:writeTags
Delete An External IssueSENTRY_DELETE_AN_EXTERNAL_ISSUEDelete an external issue.需要连接1 scope
Delete an external issue.
认证
需要 Connected AccountScopes
event:adminTags
Disable Spike ProtectionSENTRY_DISABLE_SPIKE_PROTECTIONDisables Spike Protection feature for some of the projects within the organization.需要连接3 scopes
Disables Spike Protection feature for some of the projects within the organization.
认证
需要 Connected AccountScopes
project:readproject:writeproject:adminTags
Enable Spike ProtectionSENTRY_ENABLE_SPIKE_PROTECTIONEnables Spike Protection feature for some of the projects within the organization.需要连接3 scopes
Enables Spike Protection feature for some of the projects within the organization.
认证
需要 Connected AccountScopes
project:readproject:writeproject:adminTags
List A Project'S IssuesSENTRY_LIST_A_PROJECT_S_ISSUES**Deprecated**: This endpoint has been replaced with the [Organization Issues endpoint](/api/events/list-an-organizations-issues/) which supports filtering on project and additional functionality. Return a list of issues (groups) bound to a project. All parameters are supplied as query string parameters. A default query of ``is:unresolved`` is applied. To return results with other statuses send an new query value (i.e. ``?query=`` for all results). The ``statsPeriod`` parameter can be used to select the timeline stats which should be present. Possible values are: ``""`` (disable),``"24h"`` (default), ``"14d"`` User feedback items from the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget) are built off the issue platform, so to return a list of user feedback items for a specific project, filter for `issue.category:feedback`.需要连接1 scope
**Deprecated**: This endpoint has been replaced with the [Organization Issues endpoint](/api/events/list-an-organizations-issues/) which supports filtering on project and additional functionality. Return a list of issues (groups) bound to a project. All parameters are supplied as query string parameters. A default query of ``is:unresolved`` is applied. To return results with other statuses send an new query value (i.e. ``?query=`` for all results). The ``statsPeriod`` parameter can be used to select the timeline stats which should be present. Possible values are: ``""`` (disable),``"24h"`` (default), ``"14d"`` User feedback items from the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget) are built off the issue platform, so to return a list of user feedback items for a specific project, filter for `issue.category:feedback`.
认证
需要 Connected AccountScopes
event:readTags
List A Project'S Service HooksSENTRY_LIST_A_PROJECT_S_SERVICE_HOOKSReturn a list of service hooks bound to a project.需要连接1 scope
Return a list of service hooks bound to a project.
认证
需要 Connected AccountScopes
project:readTags
List A Project'S User FeedbackSENTRY_LIST_A_PROJECT_S_USER_FEEDBACKReturn a list of user feedback items within this project. *This list does not include submissions from the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget). This is because it is based on an older format called User Reports - read more [here](https://develop.sentry.dev/application/feedback-architecture/#user-reports). To return a list of user feedback items from the widget, please use the [issue API](https://docs.sentry.io/api/events/list-a-projects-issues/) with the filter `issue.category:feedback`.*需要连接1 scope
Return a list of user feedback items within this project. *This list does not include submissions from the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget). This is because it is based on an older format called User Reports - read more [here](https://develop.sentry.dev/application/feedback-architecture/#user-reports). To return a list of user feedback items from the widget, please use the [issue API](https://docs.sentry.io/api/events/list-a-projects-issues/) with the filter `issue.category:feedback`.*
认证
需要 Connected AccountScopes
project:readTags
List A Tag'S ValuesSENTRY_LIST_A_TAG_S_VALUESReturn a list of values associated with this key. The `query` parameter can be used to to perform a "contains" match on values. When [paginated](/api/pagination) can return at most 1000 values.需要连接1 scope
Return a list of values associated with this key. The `query` parameter can be used to to perform a "contains" match on values. When [paginated](/api/pagination) can return at most 1000 values.
认证
需要 Connected AccountScopes
project:readTags
List A Tag'S Values Related To An IssueSENTRY_LIST_A_TAG_S_VALUES_RELATED_TO_AN_ISSUEReturns details for given tag key related to an issue. When [paginated](/api/pagination) can return at most 1000 values.需要连接1 scope
Returns details for given tag key related to an issue. When [paginated](/api/pagination) can return at most 1000 values.
认证
需要 Connected AccountScopes
event:readTags
List An Organization'S Integration Platform InstallationsSENTRY_LIST_AN_ORGANIZATION_S_INTEGRATION_PLATFORM_INSTALLATIONSReturn a list of integration platform installations for a given organization.需要连接2 scopes
Return a list of integration platform installations for a given organization.
认证
需要 Connected AccountScopes
org:readorg:integrationsTags
Register A New Service HookSENTRY_REGISTER_A_NEW_SERVICE_HOOKRegister a new service hook on a project. Events include: - event.alert: An alert is generated for an event (via rules). - event.created: A new event has been processed. This endpoint requires the 'servicehooks' feature to be enabled for your project.需要连接1 scope
Register a new service hook on a project. Events include: - event.alert: An alert is generated for an event (via rules). - event.created: A new event has been processed. This endpoint requires the 'servicehooks' feature to be enabled for your project.
认证
需要 Connected AccountScopes
project:writeTags
Remove A Service HookSENTRY_REMOVE_A_SERVICE_HOOKRemove a service hook.需要连接1 scope
Remove a service hook.
认证
需要 Connected AccountScopes
project:adminTags
Retrieve A Service HookSENTRY_RETRIEVE_A_SERVICE_HOOKReturn a service hook bound to a project.需要连接1 scope
Return a service hook bound to a project.
认证
需要 Connected AccountScopes
project:readTags
Retrieve Files Changed In A Release'S CommitsSENTRY_RETRIEVE_FILES_CHANGED_IN_A_RELEASE_S_COMMITSRetrieve files changed in a release's commits需要连接1 scope
Retrieve files changed in a release's commits
认证
需要 Connected AccountScopes
project:releasesTags
Submit User FeedbackSENTRY_SUBMIT_USER_FEEDBACK*This endpoint is DEPRECATED. We document it here for older SDKs and users who are still migrating to the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget) or [API](https://docs.sentry.io/platforms/javascript/user-feedback/#user-feedback-api)(multi-platform). If you are a new user, do not use this endpoint - unless you don't have a JS frontend, and your platform's SDK does not offer a feedback API.* Feedback must be received by the server no more than 30 minutes after the event was saved. Additionally, within 5 minutes of submitting feedback it may also be overwritten. This is useful in situations where you may need to retry sending a request due to network failures. If feedback is rejected due to a mutability threshold, a 409 status code will be returned. Note: Feedback may be submitted with DSN authentication (see auth documentation).需要连接1 scope
*This endpoint is DEPRECATED. We document it here for older SDKs and users who are still migrating to the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget) or [API](https://docs.sentry.io/platforms/javascript/user-feedback/#user-feedback-api)(multi-platform). If you are a new user, do not use this endpoint - unless you don't have a JS frontend, and your platform's SDK does not offer a feedback API.* Feedback must be received by the server no more than 30 minutes after the event was saved. Additionally, within 5 minutes of submitting feedback it may also be overwritten. This is useful in situations where you may need to retry sending a request due to network failures. If feedback is rejected due to a mutability threshold, a 409 status code will be returned. Note: Feedback may be submitted with DSN authentication (see auth documentation).
认证
需要 Connected AccountScopes
project:writeTags
Update A Service HookSENTRY_UPDATE_A_SERVICE_HOOKUpdate a service hook.需要连接1 scope
Update a service hook.
认证
需要 Connected AccountScopes
project:writeTags