Skip to content

Commit e2e6541

Browse files
committed
Update OpenAPI spec codegen-sh/cloud@2071dc5
1 parent 2071dc5 commit e2e6541

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

docs/api-reference/openapi3.json

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,6 +1701,59 @@
17011701
}
17021702
}
17031703
},
1704+
"/v1/slack-connect/generate-token": {
1705+
"post": {
1706+
"tags": [
1707+
"slack-connect",
1708+
"slack-connect"
1709+
],
1710+
"summary": "Generate Slack Connect Token Endpoint",
1711+
"description": "Generate a temporary token for Slack account connection.\n\nThis token:\n- Expires in 10 minutes\n- Can only be used once\n- Must be sent to the Codegen bot in a DM with format: \"Connect my account: {token}\"",
1712+
"operationId": "generate_slack_connect_token_endpoint_v1_slack_connect_generate_token_post",
1713+
"parameters": [
1714+
{
1715+
"name": "authorization",
1716+
"in": "header",
1717+
"required": false,
1718+
"schema": {
1719+
"title": "Authorization"
1720+
}
1721+
}
1722+
],
1723+
"requestBody": {
1724+
"required": true,
1725+
"content": {
1726+
"application/json": {
1727+
"schema": {
1728+
"$ref": "#/components/schemas/GenerateTokenRequest"
1729+
}
1730+
}
1731+
}
1732+
},
1733+
"responses": {
1734+
"200": {
1735+
"description": "Successful Response",
1736+
"content": {
1737+
"application/json": {
1738+
"schema": {
1739+
"$ref": "#/components/schemas/GenerateTokenResponse"
1740+
}
1741+
}
1742+
}
1743+
},
1744+
"422": {
1745+
"description": "Validation Error",
1746+
"content": {
1747+
"application/json": {
1748+
"schema": {
1749+
"$ref": "#/components/schemas/HTTPValidationError"
1750+
}
1751+
}
1752+
}
1753+
}
1754+
}
1755+
}
1756+
},
17041757
"/v1/alpha/organizations/{org_id}/agent/run/{agent_run_id}/logs": {
17051758
"get": {
17061759
"tags": [
@@ -2623,6 +2676,42 @@
26232676
"title": "GenerateSetupCommandsInput",
26242677
"description": "Input for generating setup commands."
26252678
},
2679+
"GenerateTokenRequest": {
2680+
"properties": {
2681+
"org_id": {
2682+
"type": "integer",
2683+
"title": "Org Id"
2684+
}
2685+
},
2686+
"type": "object",
2687+
"required": [
2688+
"org_id"
2689+
],
2690+
"title": "GenerateTokenRequest"
2691+
},
2692+
"GenerateTokenResponse": {
2693+
"properties": {
2694+
"token": {
2695+
"type": "string",
2696+
"title": "Token"
2697+
},
2698+
"message": {
2699+
"type": "string",
2700+
"title": "Message"
2701+
},
2702+
"expires_in_minutes": {
2703+
"type": "integer",
2704+
"title": "Expires In Minutes"
2705+
}
2706+
},
2707+
"type": "object",
2708+
"required": [
2709+
"token",
2710+
"message",
2711+
"expires_in_minutes"
2712+
],
2713+
"title": "GenerateTokenResponse"
2714+
},
26262715
"GithubPullRequestResponse": {
26272716
"properties": {
26282717
"id": {

0 commit comments

Comments
 (0)