@hello.nrfcloud.com/proto
Version:
Documents the communication protocol between the hello.nrfcloud.com backend and the web application
20 lines (19 loc) • 1.06 kB
JavaScript
var baseURL = "https://github.com/hello-nrfcloud/proto";
export var Context = {
deviceIdentity: new URL("".concat(baseURL, "/deviceIdentity")),
historicalDataRequest: new URL("".concat(baseURL, "/historical-data-request")),
historicalDataResponse: new URL("".concat(baseURL, "/historical-data-response")),
problemDetail: new URL("".concat(baseURL, "/ProblemDetail")),
lwm2mObjectUpdate: new URL("".concat(baseURL, "/lwm2m/object/update")),
lwm2mObjectHistory: new URL("".concat(baseURL, "/lwm2m/object/history")),
senMLImports: new URL("".concat(baseURL, "/senml/imports")),
shadow: new URL("".concat(baseURL, "/shadow")),
apiHealth: new URL("".concat(baseURL, "/api/health")),
fotaBundles: new URL("".concat(baseURL, "/fota/bundles")),
fotaBundle: new URL("".concat(baseURL, "/fota/bundle")),
fotaJob: new URL("".concat(baseURL, "/fota/job")),
fotaJobs: new URL("".concat(baseURL, "/fota/jobs")),
error: function(type) {
return new URL("https://hello.nrfcloud.com/errors/".concat(type));
}
};