Insights
Set Insight Status
posthttps://d1iwal3igywepk.cloudfront.net/insights/{id}/status
Marks an insight applied, dismissed or back to proposed, with an optional note. Setting the current status again is idempotent and only replaces the note when one is given.
Requires the insights:write scope; read:* does not grant it.
AuthorizationBearer <token>
API key as Bearer token
In: header
Path Parameters
id*string
Request Body
application/json
Responses
The updated insight
post
/insights/{id}/statuscurl -X POST "https://d1iwal3igywepk.cloudfront.net/insights/string/status" \ -H "Content-Type: application/json" \ -d '{ "status": "proposed" }'Example Request Body
json{ "status": "proposed"}Example Responses
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "body_md": "string", "category": "string", "severity": "string", "action_lever": "string", "click_stage": "string", "page_url": "string", "issue_md": "string", "fix_md": "string", "target_step": "string", "tags": [ "string" ], "earning": { "low_cents": 0, "high_cents": 0, "currency": "string" }, "published_at": "string", "status": "proposed", "status_note": "string", "applied_at": "string", "status_changed_at": "string", "status_changed_via": "string"}application/json
