Skip to content

Commit

Permalink
Update OpenAPI Specification (composio.json)
Browse files Browse the repository at this point in the history
  • Loading branch information
konfig-bot[bot] authored Dec 12, 2024
1 parent 1761d7d commit 2820580
Showing 1 changed file with 272 additions and 4 deletions.
276 changes: 272 additions & 4 deletions composio.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": {
"type": "string"
},
"clientId": {
"projectId": {
"type": "string"
},
"email": {
Expand Down Expand Up @@ -60,7 +60,7 @@
"type": "object",
"required": [
"id",
"clientId",
"projectId",
"email",
"name",
"role",
Expand Down Expand Up @@ -191,13 +191,18 @@
"email": {
"type": "string",
"description": "The email associated with the client"
},
"orgId": {
"type": "string",
"description": "The organization ID associated with the client"
}
},
"type": "object",
"required": [
"clientId",
"apiKey",
"email"
"email",
"orgId"
]
},
"UserGitUserInfo": {
Expand Down Expand Up @@ -375,6 +380,50 @@
"apiKey"
]
},
"ProjectReqDTO": {
"properties": {
"name": {
"type": "string",
"description": "The name of the project"
}
},
"type": "object",
"required": [
"name"
]
},
"ProjectResDTO": {
"properties": {
"id": {
"type": "string",
"description": "The ID of the project"
},
"name": {
"type": "string",
"description": "The name of the project"
}
},
"type": "object",
"required": [
"id",
"name"
]
},
"ProjectListResDTO": {
"properties": {
"items": {
"items": {
"type": "object"
},
"type": "array",
"description": "The list of projects"
}
},
"type": "object",
"required": [
"items"
]
},
"InviteMemberReqDTO": {
"properties": {
"email": {
Expand Down Expand Up @@ -2163,6 +2212,72 @@
"totalPages"
]
},
"AdvancedUseCaseSearchQueryDTO": {
"properties": {
"useCase": {
"type": "string"
},
"limit": {
"type": "number"
},
"maxActionsPerTask": {
"type": "number"
},
"minActionsPerTask": {
"type": "number"
},
"apps": {
"type": "string"
},
"filterByAvailableApps": {
"type": "boolean"
}
},
"type": "object",
"required": [
"useCase"
]
},
"AdvancedUseCaseSearchTask": {
"properties": {
"app": {
"type": "string"
},
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"type": "string"
},
"order": {
"type": "number"
}
},
"type": "object",
"required": [
"app",
"actions",
"description",
"order"
]
},
"AdvancedUseCaseSearchResponse": {
"properties": {
"items": {
"items": {
"$ref": "#/components/schemas/AdvancedUseCaseSearchTask"
},
"type": "array"
}
},
"type": "object",
"required": [
"items"
]
},
"ExecuteActionResDTO": {
"properties": {
"response_data": {
Expand Down Expand Up @@ -3755,11 +3870,15 @@
"STARTUP"
],
"type": "string"
},
"applyCoupon": {
"type": "boolean"
}
},
"type": "object",
"required": [
"plan"
"plan",
"applyCoupon"
]
},
"SDKErrorResDTO": {
Expand Down Expand Up @@ -3844,6 +3963,83 @@
"description": "Get client info"
}
},
"/api/v1/client/auth/project/add": {
"post": {
"operationId": "_addProject",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProjectReqDTO"
}
}
},
"description": "ProjectReqDTO",
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {}
},
"description": "Successful response"
}
},
"summary": "Add project",
"tags": [
"Auth"
]
}
},
"/api/v1/client/auth/project/delete/{projectId}": {
"delete": {
"operationId": "_deleteProject",
"parameters": [
{
"in": "path",
"name": "projectId",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {}
},
"description": "Successful response"
}
},
"summary": "Delete project",
"tags": [
"Auth"
]
}
},
"/api/v1/client/auth/projects": {
"get": {
"operationId": "_getProjects",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProjectListResDTO"
}
}
},
"description": ""
}
},
"summary": "Get projects",
"tags": [
"Auth"
]
}
},
"/api/v1/api_keys": {
"post": {
"operationId": "_generateAPIKey",
Expand Down Expand Up @@ -5715,6 +5911,78 @@
"description": "Execute an action with direct auth."
}
},
"/api/v2/actions/search/advanced": {
"get": {
"operationId": "_advancedUseCaseSearch",
"parameters": [
{
"in": "query",
"name": "useCase",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "limit",
"required": false,
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "maxActionsPerTask",
"required": false,
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "minActionsPerTask",
"required": false,
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "apps",
"required": false,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "filterByAvailableApps",
"required": false,
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AdvancedUseCaseSearchResponse"
}
}
},
"description": ""
}
},
"summary": "Advanced use case search",
"tags": [
"Actions"
],
"description": "Perform use case search."
}
},
"/api/v2/triggers/{triggerName}": {
"get": {
"operationId": "_getTriggerInfoV2",
Expand Down

0 comments on commit 2820580

Please sign in to comment.