action pandorabots_get_bot_file1 { label: "Retrieve a bot file (AIML, set, map, substitution)" description: "Retrieve an AIML, set, map or substitution bot file.
For malformed file-kind, a 404 error is returned. For invalid filename or botname, a 400 error is returned. For unknown bot or file, a 412 error is returned.
" provider: pandorabots method: GET path: "/bot/{app_id}/{botname}/{file-kind}/{filename}" encoding: json input: { type: "object" properties: { app_id: { type: "string" } botname: { type: "string" } "file-kind": { type: "string" } filename: { type: "string" } } required: ["app_id", "botname", "file-kind", "filename"] additionalProperties: false } output: { type: "object" additionalProperties: true } }curl -v -X GET 'https://aiaas.pandorabots.com/bot/APP_ID/BOTNAME/FILE-KIND/FILENAME?user_key=USER_KEY'