|
1 | 1 | openapi: 3.1.0 |
2 | 2 | info: |
3 | 3 | title: TheHive |
4 | | - version: v5.6.1 |
| 4 | + version: v5.6.2 |
5 | 5 | description: "\n## General\n\nAlmost all of the endpoints will require an authentication.\ |
6 | 6 | \ Supported ways of authentication are detailed below.\n\nEach user has permissions,\ |
7 | 7 | \ defined by their role. The permissions of the user are checked when making api\ |
@@ -23991,20 +23991,6 @@ paths: |
23991 | 23991 | application/json: |
23992 | 23992 | schema: |
23993 | 23993 | $ref: '#/components/schemas/OutputInvokeFunctionOk' |
23994 | | - '500': |
23995 | | - description: GenericError |
23996 | | - content: |
23997 | | - application/json: |
23998 | | - schema: |
23999 | | - type: object |
24000 | | - required: |
24001 | | - - type |
24002 | | - - message |
24003 | | - properties: |
24004 | | - type: |
24005 | | - type: string |
24006 | | - message: |
24007 | | - type: string |
24008 | 23994 | '400': |
24009 | 23995 | description: BadRequest |
24010 | 23996 | content: |
@@ -24061,6 +24047,22 @@ paths: |
24061 | 24047 | type: string |
24062 | 24048 | message: |
24063 | 24049 | type: string |
| 24050 | + '500': |
| 24051 | + description: InternalError |
| 24052 | + content: |
| 24053 | + application/json: |
| 24054 | + schema: |
| 24055 | + anyOf: |
| 24056 | + - $ref: '#/components/schemas/OutputInvokeFunctionKo' |
| 24057 | + - type: object |
| 24058 | + required: |
| 24059 | + - type |
| 24060 | + - message |
| 24061 | + properties: |
| 24062 | + type: |
| 24063 | + type: string |
| 24064 | + message: |
| 24065 | + type: string |
24064 | 24066 | security: |
24065 | 24067 | - Api Key: [] |
24066 | 24068 | - Basic: [] |
@@ -24123,20 +24125,6 @@ paths: |
24123 | 24125 | anyOf: |
24124 | 24126 | - $ref: '#/components/schemas/OutputInvokeFunctionOk' |
24125 | 24127 | - $ref: '#/components/schemas/OutputInvokeFunctionBackground' |
24126 | | - '500': |
24127 | | - description: GenericError |
24128 | | - content: |
24129 | | - application/json: |
24130 | | - schema: |
24131 | | - type: object |
24132 | | - required: |
24133 | | - - type |
24134 | | - - message |
24135 | | - properties: |
24136 | | - type: |
24137 | | - type: string |
24138 | | - message: |
24139 | | - type: string |
24140 | 24128 | '400': |
24141 | 24129 | description: BadRequest |
24142 | 24130 | content: |
@@ -24193,6 +24181,22 @@ paths: |
24193 | 24181 | type: string |
24194 | 24182 | message: |
24195 | 24183 | type: string |
| 24184 | + '500': |
| 24185 | + description: InternalError |
| 24186 | + content: |
| 24187 | + application/json: |
| 24188 | + schema: |
| 24189 | + anyOf: |
| 24190 | + - $ref: '#/components/schemas/OutputInvokeFunctionKo' |
| 24191 | + - type: object |
| 24192 | + required: |
| 24193 | + - type |
| 24194 | + - message |
| 24195 | + properties: |
| 24196 | + type: |
| 24197 | + type: string |
| 24198 | + message: |
| 24199 | + type: string |
24196 | 24200 | security: |
24197 | 24201 | - Api Key: [] |
24198 | 24202 | - Basic: [] |
@@ -24528,20 +24532,6 @@ paths: |
24528 | 24532 | application/json: |
24529 | 24533 | schema: |
24530 | 24534 | $ref: '#/components/schemas/OutputInvokeFunctionOk' |
24531 | | - '500': |
24532 | | - description: GenericError |
24533 | | - content: |
24534 | | - application/json: |
24535 | | - schema: |
24536 | | - type: object |
24537 | | - required: |
24538 | | - - type |
24539 | | - - message |
24540 | | - properties: |
24541 | | - type: |
24542 | | - type: string |
24543 | | - message: |
24544 | | - type: string |
24545 | 24535 | '400': |
24546 | 24536 | description: BadRequest |
24547 | 24537 | content: |
@@ -24598,6 +24588,22 @@ paths: |
24598 | 24588 | type: string |
24599 | 24589 | message: |
24600 | 24590 | type: string |
| 24591 | + '500': |
| 24592 | + description: InternalError |
| 24593 | + content: |
| 24594 | + application/json: |
| 24595 | + schema: |
| 24596 | + anyOf: |
| 24597 | + - $ref: '#/components/schemas/OutputInvokeFunctionKo' |
| 24598 | + - type: object |
| 24599 | + required: |
| 24600 | + - type |
| 24601 | + - message |
| 24602 | + properties: |
| 24603 | + type: |
| 24604 | + type: string |
| 24605 | + message: |
| 24606 | + type: string |
24601 | 24607 | security: |
24602 | 24608 | - Api Key: [] |
24603 | 24609 | - Basic: [] |
@@ -28687,19 +28693,21 @@ paths: |
28687 | 28693 | message: |
28688 | 28694 | type: string |
28689 | 28695 | '500': |
28690 | | - description: GenericError |
| 28696 | + description: InternalError |
28691 | 28697 | content: |
28692 | 28698 | application/json: |
28693 | 28699 | schema: |
28694 | | - type: object |
28695 | | - required: |
28696 | | - - type |
28697 | | - - message |
28698 | | - properties: |
28699 | | - type: |
28700 | | - type: string |
28701 | | - message: |
28702 | | - type: string |
| 28700 | + anyOf: |
| 28701 | + - $ref: '#/components/schemas/OutputInvokeFunctionKo' |
| 28702 | + - type: object |
| 28703 | + required: |
| 28704 | + - type |
| 28705 | + - message |
| 28706 | + properties: |
| 28707 | + type: |
| 28708 | + type: string |
| 28709 | + message: |
| 28710 | + type: string |
28703 | 28711 | security: |
28704 | 28712 | - Api Key: [] |
28705 | 28713 | - Basic: [] |
@@ -34971,8 +34979,10 @@ components: |
34971 | 34979 | - stderr |
34972 | 34980 | properties: |
34973 | 34981 | errorType: |
| 34982 | + description: Error type encountered by the server |
34974 | 34983 | type: string |
34975 | 34984 | errorMessage: |
| 34985 | + description: Precise error that led to execution failure |
34976 | 34986 | type: string |
34977 | 34987 | stdout: |
34978 | 34988 | description: Content of stdout |
|
0 commit comments