sentryIo.json•10.9 kB
{
"nodeType": "n8n-nodes-base.sentryIo",
"displayName": "Sentry.io",
"description": "Consume Sentry.io API",
"version": 1,
"properties": [
{
"name": "organizationSlug",
"displayName": "Organization Slug Name or ID",
"type": "options",
"default": "",
"description": "The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"event"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "projectSlug",
"displayName": "Project Slug Name or ID",
"type": "options",
"default": "",
"description": "The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"event"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "full",
"displayName": "Full",
"type": "boolean",
"default": true,
"description": "Whether the event payload will include the full event body, including the stack trace",
"displayOptions": {
"show": {
"resource": [
"event"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"event"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 100,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 500
},
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"event"
],
"returnAll": [
false
]
}
}
},
{
"name": "eventId",
"displayName": "Event ID",
"type": "string",
"default": "",
"description": "The ID of the event to retrieve (either the numeric primary-key or the hexadecimal ID as reported by the raven client)",
"required": true,
"displayOptions": {
"show": {
"resource": [
"event"
],
"operation": [
"get"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "get",
"description": "Get event by ID",
"options": [
{
"name": "Get",
"value": "get",
"description": "Get event by ID"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many events"
}
],
"displayOptions": {
"show": {
"resource": [
"event"
]
}
}
},
{
"name": "issueId",
"displayName": "Issue ID",
"type": "string",
"default": "",
"description": "ID of issue to get",
"placeholder": "1234",
"required": true,
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"get",
"delete"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "An optional Sentry structured search query. If not provided, an implied \"is:unresolved\" is assumed. Info <a href=\"https://docs.sentry.io/product/sentry-basics/search/\">here</a>.",
"placeholder": "Add Field",
"options": [
{
"name": "query",
"displayName": "Query",
"type": "string",
"default": "",
"description": "An optional Sentry structured search query. If not provided, an implied \"is:unresolved\" is assumed. Info <a href=\"https://docs.sentry.io/product/sentry-basics/search/\">here</a>."
}
],
"displayOptions": {
"show": {
"resource": [
"issue"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "name",
"displayName": "Name",
"type": "string",
"default": "",
"description": "The slug of the organization the team should be created for",
"required": true,
"displayOptions": {
"show": {
"resource": [
"organization"
],
"operation": [
"create"
]
}
}
},
{
"name": "agreeTerms",
"displayName": "Agree to Terms",
"type": "boolean",
"default": false,
"description": "Whether you agree to the applicable terms of service and privacy policy of Sentry.io",
"displayOptions": {
"show": {
"resource": [
"organization"
],
"operation": [
"create"
]
}
}
},
{
"name": "organization_slug",
"displayName": "Slug Name or ID",
"type": "options",
"default": "",
"description": "The slug of the organization to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"organization"
],
"operation": [
"update"
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "The new name of the organization",
"placeholder": "Add Field",
"options": [
{
"name": "name",
"displayName": "Name",
"type": "string",
"default": "",
"description": "The new name of the organization"
},
{
"name": "slug",
"displayName": "Slug",
"type": "string",
"default": "",
"description": "The new URL slug for this organization"
}
],
"displayOptions": {
"show": {
"resource": [
"organization"
],
"operation": [
"update"
]
}
}
},
{
"name": "teamSlug",
"displayName": "Team Slug Name or ID",
"type": "options",
"default": "",
"description": "The slug of the team to create a new project for. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"project"
],
"operation": [
"create"
]
}
}
},
{
"name": "version",
"displayName": "Version",
"type": "string",
"default": "",
"description": "The version identifier of the release",
"required": true,
"displayOptions": {
"show": {
"resource": [
"release"
],
"operation": [
"get",
"delete"
]
}
}
},
{
"name": "url",
"displayName": "URL",
"type": "string",
"default": "",
"description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"release"
],
"operation": [
"create"
]
}
}
},
{
"name": "projects",
"displayName": "Project Names or IDs",
"type": "multiOptions",
"default": [],
"description": "A list of project slugs that are involved in this release. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"release"
],
"operation": [
"create"
]
}
}
},
{
"name": "sentryVersion",
"displayName": "Sentry Version",
"type": "options",
"default": "cloud",
"options": [
{
"name": "Cloud",
"value": "cloud"
},
{
"name": "Server (Self Hosted)",
"value": "server"
}
]
},
{
"name": "authentication",
"displayName": "Authentication",
"type": "options",
"default": "accessToken",
"options": [
{
"name": "Access Token",
"value": "accessToken"
},
{
"name": "OAuth2",
"value": "oAuth2"
}
],
"displayOptions": {
"show": {
"sentryVersion": [
"cloud"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "event",
"options": [
{
"name": "Event",
"value": "event"
},
{
"name": "Issue",
"value": "issue"
},
{
"name": "Organization",
"value": "organization"
},
{
"name": "Project",
"value": "project"
},
{
"name": "Release",
"value": "release"
},
{
"name": "Team",
"value": "team"
}
]
}
],
"credentialsConfig": [
{
"name": "sentryIoOAuth2Api",
"required": true
},
{
"name": "sentryVersion",
"required": false
},
{
"name": "authentication",
"required": false
},
{
"name": "authentication",
"required": false
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}