Q&A API

変更ログ

v1: 2024-02-12

locations.questions および locations.questions.answers を含む name フィールドの変更

2024-02-12より、question または answer の古い ID を含む name フィールドの値は新しい ID に置き換えられます。question または answer の古い ID を使用している場合、API はリクエストに対するレスポンスのオブジェクトで新しい ID を返します。

v1: 2023-11-13

ビジネスの質問が 50 件を超える場合の locations.questions.list

クエリ パラメータ「orderBy」について既知の問題が発生しています。リスト「locations.questions.list」にビジネスの質問が 50 件以上ある場合に、「upvoteCount」の順番を使用して質問が適切に並べ替えられていません。

v1: 2021-11-18

API アクセス

Q&A API は GCP Console から有効にする必要があります。OAuth スコープに変更はありません。

エンドポイント URL

Q0 エンドポイントには、https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions からではなく、https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions からアクセスできます。

Answers エンドポイントには、https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions/{questionId}/answers からではなく、https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions/{questionId}/answers からアクセスできます。