{
    "openapi": "3.1.0",
    "info": {
        "title": "Anyflow Webhook",
        "version": "1.0"
    },
    "servers": [
        {
            "url": "https://hooks.embed.anyflow.jp/general"
        }
    ],
    "components": {
        "securitySchemes": {}
    },
    "security": [
        {}
    ],
    "paths": {
        "/unique_id": {
            "get": {
                "summary": "Webhook - GET request",
                "description": "管理画面でWebhookタイプを「GET request」に設定した場合の例です。",
                "operationId": "webhook-get-request",
                "parameters": [
                    {
                        "name": "unique_id",
                        "in": "path",
                        "description": "ウィザードに表示されているパスを指定します。",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "name": "your_param",
                        "in": "query",
                        "description": "管理画面で設定したパラメータに準じます。",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "200",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "OK": {
                                        "value": "{ \"status\": \"ok\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "example": "ok"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "400",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Bad request": {
                                        "value": "{ \"error_message\": \"Bad request\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Bad request"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "404",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Solution not found or stopped": {
                                        "value": "{ \"error_message\": \"Solution not found or stopped\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Solution not found or stopped"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "500",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Server error": {
                                        "value": "{ \"error_message\": \"Server error\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Server error"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "deprecated": false,
                "security": [],
                "x-readme": {
                    "code-samples": [
                        {
                            "language": "curl",
                            "code": "curl --request GET 'https://hooks.embed.anyflow.jp/general/{unique_id}' \\\n     --data-urlencode \"your_param=your_value\""
                        }
                    ],
                    "samples-languages": [
                        "curl"
                    ]
                }
            },
            "put": {
                "summary": "Webhook - PUT/POST with unicode text data",
                "description": "管理画面でWebhookタイプを「PUT/POST with unicode text data」に設定した場合の例です。PUT/POSTどちらでも実行できます。",
                "operationId": "webhook-put-post-with-unicode-text-data",
                "parameters": [
                    {
                        "name": "unique_id",
                        "in": "path",
                        "description": "ウィザードに表示されているパスを指定します。",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "RAW_BODY"
                                ],
                                "properties": {
                                    "RAW_BODY": {
                                        "type": "string",
                                        "description": "送信するファイルを指定します。",
                                        "format": "binary"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "200",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "OK": {
                                        "value": "{ \"status\": \"ok\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "example": "ok"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "400",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Bad request": {
                                        "value": "{ \"error_message\": \"Bad request\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Bad request"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "404",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Solution not found or stopped": {
                                        "value": "{ \"error_message\": \"Solution not found or stopped\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Solution not found or stopped"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "500",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Server error": {
                                        "value": "{ \"error_message\": \"Server error\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Server error"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "deprecated": false,
                "security": [],
                "x-readme": {
                    "code-samples": [
                        {
                            "language": "curl",
                            "code": "curl --request PUT https://hooks.embed.anyflow.jp/general/{unique_id} \\\n     --header \"Content-Type: text/csv\" \\\n     --data-binary '@your_file.csv'"
                        }
                    ],
                    "samples-languages": [
                        "curl"
                    ]
                }
            },
            "post": {
                "summary": "Webhook - PUT/POST with JSON payload",
                "description": "管理画面でWebhookタイプを「PUT/POST with JSON payload」に設定した場合の例です。PUT/POSTどちらでも実行できます。",
                "operationId": "webhook-put-post-with-json-payload",
                "parameters": [
                    {
                        "name": "unique_id",
                        "in": "path",
                        "description": "ウィザードに表示されているパスを指定します。",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "your_param"
                                ],
                                "properties": {
                                    "your_param": {
                                        "type": "string",
                                        "description": "管理画面で設定したパラメータに準じます。"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "200",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "OK": {
                                        "value": "{ \"status\": \"ok\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "example": "ok"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "400",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Bad request": {
                                        "value": "{ \"error_message\": \"Bad request\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Bad request"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "404",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Solution not found or stopped": {
                                        "value": "{ \"error_message\": \"Solution not found or stopped\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Solution not found or stopped"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "500",
                        "content": {
                            "application/json": {
                                "examples": {
                                    "Server error": {
                                        "value": "{ \"error_message\": \"Server error\" }"
                                    }
                                },
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_message": {
                                            "type": "string",
                                            "example": "Server error"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "deprecated": false,
                "security": [],
                "x-readme": {
                    "code-samples": [
                        {
                            "language": "curl",
                            "code": "curl --request POST https://hooks.embed.anyflow.jp/general/{unique_id} \\\n     --header \"Content-Type: application/json\" \\\n     --data '{\"your_param\": \"your_value\"}'"
                        }
                    ],
                    "samples-languages": [
                        "curl"
                    ]
                }
            }
        }
    },
    "x-readme": {
        "headers": [],
        "explorer-enabled": false,
        "proxy-enabled": true
    },
    "x-readme-fauxas": true
}