API referansı İngilizce yayımlanır.
Update, archive, or restore a status card
/api/status-cards/{id}Update, archive, or restore a status card.
Archiving (archived: true) hides the card from the active list but keeps the card, its summary and its update history; it is not deleted. A person views and restores archived cards on the organization's Status page (Show archived, then Restore); give them the returned href as a Markdown link. Restoring (archived: false) starts a fresh full summary for a card with a compiled query, so restored content is regenerated before it is current.
Yetkilendirme
Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Anahtarlar nasıl çalışır.
Yol parametreleri
İstek gövdesi
application/json · zorunlu
1–20000 characters1–300 charactersone of: "manual", "interval", "reactive"> 0> 0> 0pattern: ^([01]\d|2[0-3]):[0-5]\d$pattern: ^([01]\d|2[0-3]):[0-5]\d$at least 1 character> 0Yanıtlar
details names each field that failed.Hatalar {"error": "..."} döndürür, çoğu zaman bir code ve details ile birlikte. Ayrıntılar için: hatalar ve limitler.