Connaissances
Add one FAQ
POST
/api/v1/collections/{id}/faqsNécessite une clé API d'organisation disposant de l'autorisation edit. Fournissez une Idempotency-Key lorsque vous renouvelez la même requête.
Authorization
apiKey AuthorizationBearer <token>
In: header
Path Parameters
id*string
Header Parameters
Idempotency-Key?string
N'utilisez la même valeur que lorsque vous tentez à nouveau la même opération logique.
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/collections/string/faqs" \ -H "Content-Type: application/json" \ -d '{ "collectionId": "string", "question": "string", "answer": "string" }'{ "id": "string", "question": "string", "answer": "string", "path": "string"}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}