Publish a drafted answer
POST
Writes the drafted answer to the site's answers page now, as one undoable edit, and redeploys the site. Nothing is charged. A question with no draft waiting, or a site that can't take the edit now (a change in progress, the answer held by moderation), is 409 whose detail says why. Returns the What people ask section. Needs coding:apps:publish; a portal member who is not an owner or admin is 403.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidsite_id*stringFormat
uuidkey*stringRequest fulfilled, document follows
application/json- response
autopilot*booleanno_website*booleanpages?array<>questions*array<>topics*array<string>curl -X POST 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/seo/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/questions/string/publish'Example Response
{ "autopilot": true, "no_website": true, "pages": [ { "impressions": 0, "impressions_before": 0, "path": "string", "topic": "string" } ], "questions": [ { "answer": "string", "impressions": 0, "key": "string", "sources": [ "string" ], "state": "string", "text": "string", "topic": "string", "undo_commit": "string", "url": "string" } ], "topics": [ "string" ]}