11#ifndef OCTANE_API_CLIENT_API_SCHEMA_H_
12#define OCTANE_API_CLIENT_API_SCHEMA_H_
15 constexpr auto SCHEMA_ERROR_RESPONSE = R
"(
17 "$schema": "https://json-schema.org/draft/2020-12/schema",
29 "required": ["code", "reason"]
34 "$schema": "https://json-schema.org/draft/2020-12/schema",
38 "enum": ["degraded", "faulty", "healthy"],
47 "required": ["health"]
52 "$schema": "https://json-schema.org/draft/2020-12/schema",
65 "$schema": "https://json-schema.org/draft/2020-12/schema",
90 "required": ["name", "timestamp"]
95 "required": ["devices", "id", "name"]
100 "$schema": "https://json-schema.org/draft/2020-12/schema",
107 "$schema": "https://json-schema.org/draft/2020-12/schema",
114 "$schema": "https://json-schema.org/draft/2020-12/schema",
126 "enum": ["clipboard", "file"],
143 "required": ["device", "hash", "mime", "timestamp", "type"]
148 "$schema": "https://json-schema.org/draft/2020-12/schema",
155 "$schema": "https://json-schema.org/draft/2020-12/schema",
constexpr auto SCHEMA_ROOM_ID_STATUS_GET
Definition: api_schema.h:112
constexpr auto SCHEMA_ROOM_ID_DELETE
Definition: api_schema.h:98
constexpr auto SCHEMA_ROOM_ID_POST
Definition: api_schema.h:105
constexpr auto SCHEMA_ROOM_POST
Definition: api_schema.h:50
constexpr auto SCHEMA_ROOM_ID_GET
Definition: api_schema.h:63
constexpr auto SCHEMA_ROOM_ID_STATUS_DELETE
Definition: api_schema.h:153
constexpr auto SCHEMA_HEALTH_GET
Definition: api_schema.h:32
constexpr auto SCHEMA_ROOM_ID_STATUS_PUT
Definition: api_schema.h:146
Definition: api_bridge.cpp:25