From 697fbddc3562e1c79b90e70865cde99f84693d28 Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Mon, 4 Apr 2022 11:41:43 -0300 Subject: [PATCH 01/10] Added /hook/enable route --- .../examples/enableHook/success.yaml | 6 ++++++ .../schemas/responses/enableHook.yaml | 14 +++++++++++++ openapi/openapi.yaml | 2 ++ openapi/paths/enable.yaml | 20 +++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 openapi/components/examples/enableHook/success.yaml create mode 100644 openapi/components/schemas/responses/enableHook.yaml create mode 100644 openapi/paths/enable.yaml diff --git a/openapi/components/examples/enableHook/success.yaml b/openapi/components/examples/enableHook/success.yaml new file mode 100644 index 0000000..6083b37 --- /dev/null +++ b/openapi/components/examples/enableHook/success.yaml @@ -0,0 +1,6 @@ +success: + value: |- + + SUCCESS + true + \ No newline at end of file diff --git a/openapi/components/schemas/responses/enableHook.yaml b/openapi/components/schemas/responses/enableHook.yaml new file mode 100644 index 0000000..7935ece --- /dev/null +++ b/openapi/components/schemas/responses/enableHook.yaml @@ -0,0 +1,14 @@ +type: object +required: + - response +properties: + response: + type: object + required: + - returncode + - hookID + properties: + returncode: + type: string + hookID: + type: string \ No newline at end of file diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index fc9ec2c..6880411 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -58,6 +58,8 @@ paths: $ref: './paths/list.yaml' /hooks/destroy: $ref: './paths/destroy.yaml' + /hooks/enable: + $ref: './paths/enable.yaml' /getDefaultConfigXML: $ref: './paths/getDefaultConfigXML.yaml' diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml new file mode 100644 index 0000000..a8375c0 --- /dev/null +++ b/openapi/paths/enable.yaml @@ -0,0 +1,20 @@ +get: + summary: enable + operationId: hooks-enable + description: Enables a Hook to activate functionalities from api-webhooks. + tags: + - hooks + parameters: + - $ref: '../components/parameters/hookID.yaml' + required: true + - $ref: '../components/parameters/checksum.yaml' + + responses: + '200': + description: Successful operation + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/success.yaml' + schema: + $ref: '../components/schemas/responses/enableHook.yaml' \ No newline at end of file From de732aad1a3f7e76b09e2994c2f8cdd61864837a Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Mon, 4 Apr 2022 11:44:36 -0300 Subject: [PATCH 02/10] Revert "Added /hook/enable route" This reverts commit 697fbddc3562e1c79b90e70865cde99f84693d28. --- .../examples/enableHook/success.yaml | 6 ------ .../schemas/responses/enableHook.yaml | 14 ------------- openapi/openapi.yaml | 2 -- openapi/paths/enable.yaml | 20 ------------------- 4 files changed, 42 deletions(-) delete mode 100644 openapi/components/examples/enableHook/success.yaml delete mode 100644 openapi/components/schemas/responses/enableHook.yaml delete mode 100644 openapi/paths/enable.yaml diff --git a/openapi/components/examples/enableHook/success.yaml b/openapi/components/examples/enableHook/success.yaml deleted file mode 100644 index 6083b37..0000000 --- a/openapi/components/examples/enableHook/success.yaml +++ /dev/null @@ -1,6 +0,0 @@ -success: - value: |- - - SUCCESS - true - \ No newline at end of file diff --git a/openapi/components/schemas/responses/enableHook.yaml b/openapi/components/schemas/responses/enableHook.yaml deleted file mode 100644 index 7935ece..0000000 --- a/openapi/components/schemas/responses/enableHook.yaml +++ /dev/null @@ -1,14 +0,0 @@ -type: object -required: - - response -properties: - response: - type: object - required: - - returncode - - hookID - properties: - returncode: - type: string - hookID: - type: string \ No newline at end of file diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 6880411..fc9ec2c 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -58,8 +58,6 @@ paths: $ref: './paths/list.yaml' /hooks/destroy: $ref: './paths/destroy.yaml' - /hooks/enable: - $ref: './paths/enable.yaml' /getDefaultConfigXML: $ref: './paths/getDefaultConfigXML.yaml' diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml deleted file mode 100644 index a8375c0..0000000 --- a/openapi/paths/enable.yaml +++ /dev/null @@ -1,20 +0,0 @@ -get: - summary: enable - operationId: hooks-enable - description: Enables a Hook to activate functionalities from api-webhooks. - tags: - - hooks - parameters: - - $ref: '../components/parameters/hookID.yaml' - required: true - - $ref: '../components/parameters/checksum.yaml' - - responses: - '200': - description: Successful operation - content: - application/xml: - examples: - $ref: '../components/examples/enableHook/success.yaml' - schema: - $ref: '../components/schemas/responses/enableHook.yaml' \ No newline at end of file From b0993a125c190d8736ad219ab7b04679cca31b6b Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Mon, 4 Apr 2022 11:47:01 -0300 Subject: [PATCH 03/10] Added /hook/enable route --- .../examples/enableHook/success.yaml | 6 ++++++ .../schemas/responses/enableHook.yaml | 14 +++++++++++++ openapi/openapi.yaml | 2 ++ openapi/paths/enable.yaml | 20 +++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 openapi/components/examples/enableHook/success.yaml create mode 100644 openapi/components/schemas/responses/enableHook.yaml create mode 100644 openapi/paths/enable.yaml diff --git a/openapi/components/examples/enableHook/success.yaml b/openapi/components/examples/enableHook/success.yaml new file mode 100644 index 0000000..6083b37 --- /dev/null +++ b/openapi/components/examples/enableHook/success.yaml @@ -0,0 +1,6 @@ +success: + value: |- + + SUCCESS + true + \ No newline at end of file diff --git a/openapi/components/schemas/responses/enableHook.yaml b/openapi/components/schemas/responses/enableHook.yaml new file mode 100644 index 0000000..7935ece --- /dev/null +++ b/openapi/components/schemas/responses/enableHook.yaml @@ -0,0 +1,14 @@ +type: object +required: + - response +properties: + response: + type: object + required: + - returncode + - hookID + properties: + returncode: + type: string + hookID: + type: string \ No newline at end of file diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index fc9ec2c..6880411 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -58,6 +58,8 @@ paths: $ref: './paths/list.yaml' /hooks/destroy: $ref: './paths/destroy.yaml' + /hooks/enable: + $ref: './paths/enable.yaml' /getDefaultConfigXML: $ref: './paths/getDefaultConfigXML.yaml' diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml new file mode 100644 index 0000000..a8375c0 --- /dev/null +++ b/openapi/paths/enable.yaml @@ -0,0 +1,20 @@ +get: + summary: enable + operationId: hooks-enable + description: Enables a Hook to activate functionalities from api-webhooks. + tags: + - hooks + parameters: + - $ref: '../components/parameters/hookID.yaml' + required: true + - $ref: '../components/parameters/checksum.yaml' + + responses: + '200': + description: Successful operation + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/success.yaml' + schema: + $ref: '../components/schemas/responses/enableHook.yaml' \ No newline at end of file From 84558f7d5f2ea4aca060a13663e1adc23ca19b63 Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Wed, 6 Apr 2022 10:50:29 -0300 Subject: [PATCH 04/10] Simplified hook/enable description --- openapi/paths/enable.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml index a8375c0..3869b9e 100644 --- a/openapi/paths/enable.yaml +++ b/openapi/paths/enable.yaml @@ -1,7 +1,7 @@ get: summary: enable operationId: hooks-enable - description: Enables a Hook to activate functionalities from api-webhooks. + description: Enables a Hook to receive meetings events. tags: - hooks parameters: From a055f055fccd85b9e36c2f333587ce0322ed6c83 Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Tue, 12 Apr 2022 18:26:51 -0300 Subject: [PATCH 05/10] Updated parameters of hook/enabl --- openapi/components/parameters/sharedSecretGUID.yaml | 5 +++++ openapi/paths/enable.yaml | 1 + 2 files changed, 6 insertions(+) create mode 100644 openapi/components/parameters/sharedSecretGUID.yaml diff --git a/openapi/components/parameters/sharedSecretGUID.yaml b/openapi/components/parameters/sharedSecretGUID.yaml new file mode 100644 index 0000000..2a57c11 --- /dev/null +++ b/openapi/components/parameters/sharedSecretGUID.yaml @@ -0,0 +1,5 @@ +name: sharedSecretGUID +in: query +description: The GUID used to created the secret. +schema: + type: string \ No newline at end of file diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml index 3869b9e..f995c50 100644 --- a/openapi/paths/enable.yaml +++ b/openapi/paths/enable.yaml @@ -7,6 +7,7 @@ get: parameters: - $ref: '../components/parameters/hookID.yaml' required: true + - $ref: '../components/parameters/sharedSecretGUID.yaml' - $ref: '../components/parameters/checksum.yaml' responses: From 793b10e430a31893f82e0e9ea8dc18b609c3148c Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Thu, 14 Apr 2022 11:49:26 -0300 Subject: [PATCH 06/10] Removed sharedsecretguid from enable hook --- openapi/paths/enable.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml index f995c50..3869b9e 100644 --- a/openapi/paths/enable.yaml +++ b/openapi/paths/enable.yaml @@ -7,7 +7,6 @@ get: parameters: - $ref: '../components/parameters/hookID.yaml' required: true - - $ref: '../components/parameters/sharedSecretGUID.yaml' - $ref: '../components/parameters/checksum.yaml' responses: From b3db18b5908d577af1a4245841fc8f81e7d310d8 Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Tue, 19 Apr 2022 14:47:57 -0300 Subject: [PATCH 07/10] Added possible errors for the new enableHook route --- .../components/examples/enableHook-fail.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 openapi/components/examples/enableHook-fail.yaml diff --git a/openapi/components/examples/enableHook-fail.yaml b/openapi/components/examples/enableHook-fail.yaml new file mode 100644 index 0000000..b11686a --- /dev/null +++ b/openapi/components/examples/enableHook-fail.yaml @@ -0,0 +1,37 @@ +fail: + value: |- + + FAILED + checksumError + You did not pass the checksum security check + + + + FAILED + missingParamHookID + You must specify a hookID in the parameters. + + + + FAILED + invalidParamHookID + You must specify a valid hookID in the parameters. + + + + FAILED + enableHookError + An error happened while enabling your hook. Please contact the system's administrators. + + + + FAILED + enableMissingHook + The hook informed was not found or the shared secret didn't match the hook's. + + + + FAILED + enableWrongSecret + The secret informed is not able to enable this hook. + \ No newline at end of file From 6158eb45056ea01a5664822d33761bc2817547a5 Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Mon, 25 Apr 2022 12:28:58 -0300 Subject: [PATCH 08/10] Separated enable hook errors --- .../components/examples/enableHook-fail.yaml | 37 ---------------- .../enableHook/enableHook-enableError.yaml | 7 ++++ .../examples/enableHook/enableHook-fail.yaml | 7 ++++ .../enableHook-hookNotFoundError.yaml | 7 ++++ .../enableHook-invalidHookIDError.yaml | 7 ++++ .../enableHook-missingParamError.yaml | 7 ++++ .../schemas/responses/enableHookError.yaml | 15 +++++++ openapi/paths/enable.yaml | 42 ++++++++++++++++++- 8 files changed, 91 insertions(+), 38 deletions(-) delete mode 100644 openapi/components/examples/enableHook-fail.yaml create mode 100644 openapi/components/examples/enableHook/enableHook-enableError.yaml create mode 100644 openapi/components/examples/enableHook/enableHook-fail.yaml create mode 100644 openapi/components/examples/enableHook/enableHook-hookNotFoundError.yaml create mode 100644 openapi/components/examples/enableHook/enableHook-invalidHookIDError.yaml create mode 100644 openapi/components/examples/enableHook/enableHook-missingParamError.yaml create mode 100644 openapi/components/schemas/responses/enableHookError.yaml diff --git a/openapi/components/examples/enableHook-fail.yaml b/openapi/components/examples/enableHook-fail.yaml deleted file mode 100644 index b11686a..0000000 --- a/openapi/components/examples/enableHook-fail.yaml +++ /dev/null @@ -1,37 +0,0 @@ -fail: - value: |- - - FAILED - checksumError - You did not pass the checksum security check - - - - FAILED - missingParamHookID - You must specify a hookID in the parameters. - - - - FAILED - invalidParamHookID - You must specify a valid hookID in the parameters. - - - - FAILED - enableHookError - An error happened while enabling your hook. Please contact the system's administrators. - - - - FAILED - enableMissingHook - The hook informed was not found or the shared secret didn't match the hook's. - - - - FAILED - enableWrongSecret - The secret informed is not able to enable this hook. - \ No newline at end of file diff --git a/openapi/components/examples/enableHook/enableHook-enableError.yaml b/openapi/components/examples/enableHook/enableHook-enableError.yaml new file mode 100644 index 0000000..43a002b --- /dev/null +++ b/openapi/components/examples/enableHook/enableHook-enableError.yaml @@ -0,0 +1,7 @@ +fail: + value: |- + + FAILED + enableHookError + An error happened while enabling your hook. Please contact the system's administrators. + \ No newline at end of file diff --git a/openapi/components/examples/enableHook/enableHook-fail.yaml b/openapi/components/examples/enableHook/enableHook-fail.yaml new file mode 100644 index 0000000..5aeccbb --- /dev/null +++ b/openapi/components/examples/enableHook/enableHook-fail.yaml @@ -0,0 +1,7 @@ +fail: + value: |- + + FAILED + checksumError + You did not pass the checksum security check + \ No newline at end of file diff --git a/openapi/components/examples/enableHook/enableHook-hookNotFoundError.yaml b/openapi/components/examples/enableHook/enableHook-hookNotFoundError.yaml new file mode 100644 index 0000000..61c6535 --- /dev/null +++ b/openapi/components/examples/enableHook/enableHook-hookNotFoundError.yaml @@ -0,0 +1,7 @@ +fail: + value: |- + + FAILED + enableMissingHook + The hook informed was not found or the shared secret didn't match the hook's. + \ No newline at end of file diff --git a/openapi/components/examples/enableHook/enableHook-invalidHookIDError.yaml b/openapi/components/examples/enableHook/enableHook-invalidHookIDError.yaml new file mode 100644 index 0000000..6978e8a --- /dev/null +++ b/openapi/components/examples/enableHook/enableHook-invalidHookIDError.yaml @@ -0,0 +1,7 @@ +fail: + value: |- + + FAILED + invalidParamHookID + You must specify a valid hookID in the parameters. + \ No newline at end of file diff --git a/openapi/components/examples/enableHook/enableHook-missingParamError.yaml b/openapi/components/examples/enableHook/enableHook-missingParamError.yaml new file mode 100644 index 0000000..b22e0bb --- /dev/null +++ b/openapi/components/examples/enableHook/enableHook-missingParamError.yaml @@ -0,0 +1,7 @@ +fail: + value: |- + + FAILED + missingParamHookID + You must specify a hookID in the parameters. + \ No newline at end of file diff --git a/openapi/components/schemas/responses/enableHookError.yaml b/openapi/components/schemas/responses/enableHookError.yaml new file mode 100644 index 0000000..90aa262 --- /dev/null +++ b/openapi/components/schemas/responses/enableHookError.yaml @@ -0,0 +1,15 @@ +type: object +required: + - response + - messageKey + - message +properties: + response: + type: object + properties: + returncode: + type: string + messageKey: + type: string + message: + type: string \ No newline at end of file diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml index 3869b9e..b6ae330 100644 --- a/openapi/paths/enable.yaml +++ b/openapi/paths/enable.yaml @@ -17,4 +17,44 @@ get: examples: $ref: '../components/examples/enableHook/success.yaml' schema: - $ref: '../components/schemas/responses/enableHook.yaml' \ No newline at end of file + $ref: '../components/schemas/responses/enableHook.yaml' + '204': + description: Hook Not Found + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/enableHook-hookNotFoundError.yaml' + schema: + $ref: '../components/schemas/responses/enableHookError.yaml' + '400': + description: Invalid Hook ID + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/enableHook-invalidHookIDError.yaml' + schema: + $ref: '../components/schemas/responses/enableHookError.yaml' + '401': + description: Checksum test failed + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/enableHook-fail.yaml' + schema: + $ref: '../components/schemas/responses/enableHookError.yaml' + '422': + description: Missing Hook ID + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/enableHook-missingParamError.yaml' + schema: + $ref: '../components/schemas/responses/enableHookError.yaml' + '500': + description: Couldn't enable hook + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/enableHook-enableError.yaml' + schema: + $ref: '../components/schemas/responses/enableHookError.yaml' \ No newline at end of file From b3db145180969e68978f536e83adf926e4453c8b Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Tue, 26 Apr 2022 15:16:24 -0300 Subject: [PATCH 09/10] Modified file names and changed enable route codes --- .../{enableHook-fail.yaml => checksumError.yaml} | 0 ...bleHook-enableError.yaml => enableError.yaml} | 0 ...NotFoundError.yaml => hookNotFoundError.yaml} | 0 ...dHookIDError.yaml => invalidHookIDError.yaml} | 0 ...ingParamError.yaml => missingParamError.yaml} | 0 openapi/paths/enable.yaml | 16 ++++++++-------- 6 files changed, 8 insertions(+), 8 deletions(-) rename openapi/components/examples/enableHook/{enableHook-fail.yaml => checksumError.yaml} (100%) rename openapi/components/examples/enableHook/{enableHook-enableError.yaml => enableError.yaml} (100%) rename openapi/components/examples/enableHook/{enableHook-hookNotFoundError.yaml => hookNotFoundError.yaml} (100%) rename openapi/components/examples/enableHook/{enableHook-invalidHookIDError.yaml => invalidHookIDError.yaml} (100%) rename openapi/components/examples/enableHook/{enableHook-missingParamError.yaml => missingParamError.yaml} (100%) diff --git a/openapi/components/examples/enableHook/enableHook-fail.yaml b/openapi/components/examples/enableHook/checksumError.yaml similarity index 100% rename from openapi/components/examples/enableHook/enableHook-fail.yaml rename to openapi/components/examples/enableHook/checksumError.yaml diff --git a/openapi/components/examples/enableHook/enableHook-enableError.yaml b/openapi/components/examples/enableHook/enableError.yaml similarity index 100% rename from openapi/components/examples/enableHook/enableHook-enableError.yaml rename to openapi/components/examples/enableHook/enableError.yaml diff --git a/openapi/components/examples/enableHook/enableHook-hookNotFoundError.yaml b/openapi/components/examples/enableHook/hookNotFoundError.yaml similarity index 100% rename from openapi/components/examples/enableHook/enableHook-hookNotFoundError.yaml rename to openapi/components/examples/enableHook/hookNotFoundError.yaml diff --git a/openapi/components/examples/enableHook/enableHook-invalidHookIDError.yaml b/openapi/components/examples/enableHook/invalidHookIDError.yaml similarity index 100% rename from openapi/components/examples/enableHook/enableHook-invalidHookIDError.yaml rename to openapi/components/examples/enableHook/invalidHookIDError.yaml diff --git a/openapi/components/examples/enableHook/enableHook-missingParamError.yaml b/openapi/components/examples/enableHook/missingParamError.yaml similarity index 100% rename from openapi/components/examples/enableHook/enableHook-missingParamError.yaml rename to openapi/components/examples/enableHook/missingParamError.yaml diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml index b6ae330..1f8ae0d 100644 --- a/openapi/paths/enable.yaml +++ b/openapi/paths/enable.yaml @@ -23,31 +23,31 @@ get: content: application/xml: examples: - $ref: '../components/examples/enableHook/enableHook-hookNotFoundError.yaml' + $ref: '../components/examples/enableHook/hookNotFoundError.yaml' schema: $ref: '../components/schemas/responses/enableHookError.yaml' '400': - description: Invalid Hook ID + description: Missing Hook ID content: application/xml: examples: - $ref: '../components/examples/enableHook/enableHook-invalidHookIDError.yaml' + $ref: '../components/examples/enableHook/missingParamError.yaml' schema: $ref: '../components/schemas/responses/enableHookError.yaml' '401': - description: Checksum test failed + description: Checksum check failed content: application/xml: examples: - $ref: '../components/examples/enableHook/enableHook-fail.yaml' + $ref: '../components/examples/enableHook/checksumError.yaml' schema: $ref: '../components/schemas/responses/enableHookError.yaml' '422': - description: Missing Hook ID + description: Invalid Hook ID content: application/xml: examples: - $ref: '../components/examples/enableHook/enableHook-missingParamError.yaml' + $ref: '../components/examples/enableHook/invalidHookIDError.yaml' schema: $ref: '../components/schemas/responses/enableHookError.yaml' '500': @@ -55,6 +55,6 @@ get: content: application/xml: examples: - $ref: '../components/examples/enableHook/enableHook-enableError.yaml' + $ref: '../components/examples/enableHook/enableError.yaml' schema: $ref: '../components/schemas/responses/enableHookError.yaml' \ No newline at end of file From bffa7fbee62aaa222ff3b8aea33d011c0d67bc94 Mon Sep 17 00:00:00 2001 From: gabrielcastrosilva Date: Tue, 26 Apr 2022 17:42:05 -0300 Subject: [PATCH 10/10] Changed error code to 404 --- openapi/paths/enable.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/openapi/paths/enable.yaml b/openapi/paths/enable.yaml index 1f8ae0d..3a568d0 100644 --- a/openapi/paths/enable.yaml +++ b/openapi/paths/enable.yaml @@ -18,14 +18,6 @@ get: $ref: '../components/examples/enableHook/success.yaml' schema: $ref: '../components/schemas/responses/enableHook.yaml' - '204': - description: Hook Not Found - content: - application/xml: - examples: - $ref: '../components/examples/enableHook/hookNotFoundError.yaml' - schema: - $ref: '../components/schemas/responses/enableHookError.yaml' '400': description: Missing Hook ID content: @@ -42,6 +34,14 @@ get: $ref: '../components/examples/enableHook/checksumError.yaml' schema: $ref: '../components/schemas/responses/enableHookError.yaml' + '404': + description: Hook Not Found + content: + application/xml: + examples: + $ref: '../components/examples/enableHook/hookNotFoundError.yaml' + schema: + $ref: '../components/schemas/responses/enableHookError.yaml' '422': description: Invalid Hook ID content: