Resume a pinned app on its latest version
POST
Clears the pin POST .../publication/redeploy set and publishes the default branch's head (content review included), so new commits redeploy the site again while auto_redeploy is on. Answers 202 with the publication; charges nothing. Needs coding:apps:publish; 404 (never published), 422 VERIFY_FAILED.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidcoding_repository_id*stringFormat
uuidRequest accepted, processing continues off-line
application/json- response
publication?|nullcurl -X POST 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/publication/resume'Example Response
{ "publication": { "accounts": true, "auto_redeploy": true, "feature_requests": "off", "feature_requests_autostart_on": false, "feature_requests_min_votes": 6, "generation": 0, "hosting": "syndai", "hosting_over_limit": false, "hosting_paid_cap_usd": 20, "hosting_paid_on": false, "hosting_usd_this_month": 0, "id": "string", "latest_deployment": { "created_at": "string", "error_cause": "string", "error_kind": "string", "error_message": "string", "finished_at": "string", "id": "string", "sha": "string", "status": "string", "url": "string" }, "members": true, "operation_error_cause": "string", "operation_error_kind": "string", "operation_error_message": "string", "pinned_sha": "string", "search_visible": true, "signup": "string", "site_languages_consent_current": false, "site_languages_max_usd": 0, "site_languages_paid_on": false, "site_languages_terms": "", "site_languages_usage_markup": 0, "slug": "string", "state": "string", "taps_counted": true, "url": "string", "visitors": true, "writes_paused": true }}