Migration notices
CompozyOS Migration notices HTTP endpoints.
2 endpoints36 pages in API Reference
Endpoints2
GET/api/migration-notices
List undismissed upgrade notices on this computer
httpuds
Responses
- 200
- Upgrade notices
- 401
- Sign-in required
- 403
- Operator permission required
- 500
- Internal server error
Response body
Upgrade notices
application/json- response
notices*array<>Request
curl -X GET 'http://localhost:2123/api/migration-notices'200 Upgrade notices
{ "notices": [ { "created_at": "2019-08-24T14:15:22Z", "key": "string", "payload": { "bindings_needing_confirmation": 0, "connection_profiles": 0, "devices": 0, "providers": 0 } } ]}POST/api/migration-notices/{key}/dismiss
Dismiss an upgrade notice on this computer
httpuds
Path parameters
key*stringMigration notice key
Responses
- 204
- Notice dismissed
- 401
- Sign-in required
- 403
- Operator permission required
- 500
- Internal server error
Response body
Notice dismissed
Request
curl -X POST 'http://localhost:2123/api/migration-notices/string/dismiss'401 Sign-in required
{ "blockers": [ { "id": "string", "kind": "string", "name": "string" } ], "client_message_id": "string", "code": "string", "config_path": "string", "current_turn_id": "string", "details": { "property1": "string", "property2": "string" }, "diagnostic": { "category": "string", "code": "string", "data_freshness": "string", "doc_url": "string", "evidence": { "property1": null, "property2": null }, "id": "string", "message": "string", "severity": "string", "suggested_command": "string", "title": "string" }, "error": "string", "provider_error": "string", "retryable": true, "unknown_keys": [ "string" ]}