Skip to content

Commit

Permalink
Generated
Browse files Browse the repository at this point in the history
  • Loading branch information
cathteng authored and openapi-getsentry-bot committed Nov 11, 2024
1 parent 85c3901 commit d5c7ab5
Show file tree
Hide file tree
Showing 2 changed files with 279 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api_ownership_stats_dont_modify.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,9 @@
"product-owners-settings-integrations": {
"block_start": 640,
"public": [
"OrganizationConfigIntegrationsEndpoint::GET"
"OrganizationConfigIntegrationsEndpoint::GET",
"OrganizationIntegrationDetailsEndpoint::DELETE",
"OrganizationIntegrationDetailsEndpoint::GET"
],
"private": [
"BitbucketDescriptorEndpoint::GET",
Expand All @@ -662,6 +664,7 @@
"JiraServerSearchEndpoint::GET",
"MsTeamsWebhookEndpoint::POST",
"OrganizationConfigRepositoriesEndpoint::GET",
"OrganizationIntegrationDetailsEndpoint::POST",
"OrganizationIntegrationIssuesEndpoint::PUT",
"OrganizationIntegrationRequestEndpoint::POST",
"OrganizationPluginsConfigsEndpoint::GET",
Expand Down Expand Up @@ -704,9 +707,6 @@
"DocIntegrationDetailsEndpoint::PUT",
"DocIntegrationsEndpoint::GET",
"DocIntegrationsEndpoint::POST",
"OrganizationIntegrationDetailsEndpoint::DELETE",
"OrganizationIntegrationDetailsEndpoint::GET",
"OrganizationIntegrationDetailsEndpoint::POST",
"OrganizationIntegrationServerlessFunctionsEndpoint::GET",
"OrganizationIntegrationServerlessFunctionsEndpoint::POST",
"OrganizationRepositoryCommitsEndpoint::GET",
Expand Down
275 changes: 275 additions & 0 deletions openapi-derefed.json
Original file line number Diff line number Diff line change
Expand Up @@ -10030,6 +10030,216 @@
}
}
},
"/api/0/organizations/{organization_id_or_slug}/integrations/{integration_id}/": {
"get": {
"operationId": "Retrieve an Integration for an Organization",
"description": "OrganizationIntegrationBaseEndpoints expect both Integration and\nOrganizationIntegration DB entries to exist for a given organization and\nintegration_id.",
"parameters": [
{
"in": "path",
"name": "organization_id_or_slug",
"schema": {
"type": "string"
},
"description": "The ID or slug of the organization the resource belongs to.",
"required": true
},
{
"in": "path",
"name": "integration_id",
"schema": {
"type": "string"
},
"description": "The ID of the integration installed on the organization.",
"required": true
}
],
"tags": [
"Integrations"
],
"security": [
{
"auth_token": [
"org:admin",
"org:integrations",
"org:read",
"org:write"
]
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"icon": {
"type": "string",
"nullable": true
},
"domainName": {
"type": "string",
"nullable": true
},
"accountType": {
"type": "string",
"nullable": true
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"status": {
"type": "string"
},
"provider": {},
"configOrganization": {},
"configData": {},
"externalId": {
"type": "string"
},
"organizationId": {
"type": "integer"
},
"organizationIntegrationStatus": {
"type": "string"
},
"gracePeriodEnd": {
"type": "string",
"nullable": true
}
},
"required": [
"accountType",
"configData",
"configOrganization",
"domainName",
"externalId",
"gracePeriodEnd",
"icon",
"id",
"name",
"organizationId",
"organizationIntegrationStatus",
"provider",
"scopes",
"status"
]
},
"examples": {
"ListAllAvailableIntegrationsForAlphabetSoupFactory": {
"value": {
"id": "24817",
"name": "Alphabet Soup Factory",
"icon": "https://avatars.slack-edge.com/alphabet-soup",
"domainName": "alphabet-soup.slack.com",
"accountType": null,
"scopes": [
"channels:read",
"chat:write",
"chat:write.customize",
"chat:write.public",
"commands",
"groups:read",
"im:history",
"im:read",
"links:read",
"links:write",
"team:read",
"users:read"
],
"status": "active",
"provider": {
"key": "slack",
"slug": "slack",
"name": "Slack",
"canAdd": true,
"canDisable": false,
"features": [
"alert-rule",
"chat-unfurl"
],
"aspects": {
"alerts": [
{
"type": "info",
"text": "The Slack integration adds a new Alert Rule action to all projects. To enable automatic notifications sent to Slack you must create a rule using the slack workspace action in your project settings."
}
]
}
},
"configOrganization": [],
"configData": {
"installationType": "born_as_bot"
},
"externalId": "7252394",
"organizationId": 6234528,
"organizationIntegrationStatus": "active",
"gracePeriodEnd": null
},
"summary": "List All Available Integrations for Alphabet Soup Factory"
}
}
}
},
"description": ""
}
}
},
"delete": {
"operationId": "Delete an Integration for an Organization",
"description": "OrganizationIntegrationBaseEndpoints expect both Integration and\nOrganizationIntegration DB entries to exist for a given organization and\nintegration_id.",
"parameters": [
{
"in": "path",
"name": "organization_id_or_slug",
"schema": {
"type": "string"
},
"description": "The ID or slug of the organization the resource belongs to.",
"required": true
},
{
"in": "path",
"name": "integration_id",
"schema": {
"type": "string"
},
"description": "The ID of the integration installed on the organization.",
"required": true
}
],
"tags": [
"Integrations"
],
"security": [
{
"auth_token": [
"org:admin",
"org:integrations"
]
}
],
"responses": {
"204": {
"description": "No Content"
},
"404": {
"description": "Not Found"
}
}
}
},
"/api/0/organizations/{organization_id_or_slug}/members/": {
"get": {
"operationId": "List an Organization's Members",
Expand Down Expand Up @@ -57993,6 +58203,71 @@
"meta"
]
},
"OrganizationIntegrationResponse": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"icon": {
"type": "string",
"nullable": true
},
"domainName": {
"type": "string",
"nullable": true
},
"accountType": {
"type": "string",
"nullable": true
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"status": {
"type": "string"
},
"provider": {},
"configOrganization": {},
"configData": {},
"externalId": {
"type": "string"
},
"organizationId": {
"type": "integer"
},
"organizationIntegrationStatus": {
"type": "string"
},
"gracePeriodEnd": {
"type": "string",
"nullable": true
}
},
"required": [
"accountType",
"configData",
"configOrganization",
"domainName",
"externalId",
"gracePeriodEnd",
"icon",
"id",
"name",
"organizationId",
"organizationIntegrationStatus",
"provider",
"scopes",
"status"
]
},
"OrganizationMember": {
"type": "object",
"properties": {
Expand Down

0 comments on commit d5c7ab5

Please sign in to comment.