GPTs actionsの設定を行ってkintoneにアクセスしたい。
GPTs actionsがエラーを出さないのでswaggerとcurlから確認したところlocationの設定の問題な気がしています。
現在試しているコードがこちらです。
openapi: 3.1.0
info:
title: Sample Redirect API
description: API that includes a redirect operation.
version: 1.0.0
servers:
- url: https:/***************.cybozu.com/k/v1
description: Main (production) server
paths:
/records.json:
get:
parameters:
- name: app
in: query
required: true
description: The ID of the kintone application
schema:
type: integer
example: 137
operationId: getExample
summary: Example endpoint that might redirect.
responses:
"200":
description: A normal response
content:
application/json:
schema:
type: object
properties:
message:
type: string
"302":
description: Temporary redirect
headers:
Location:
description: The URL to redirect to
schema:
type: string