create Registry

Authorization: apiKey

name: x-api-key
in: header
type: apiKey
curl -L -X POST 'https://api.korewireless.com/omnicore/subscriptions/:subscriptionId/registries' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-H 'x-api-key: <API_KEY_VALUE>' \
--data-raw '{
  "id": "string",
  "credentials": [
    {
      "publicKeyCertificate": {
        "certificate": "string",
        "format": "X509_CERTIFICATE_PEM",
        "x509Details": {
          "expiryTime": "string",
          "issuer": "string",
          "publicKeyType": "string",
          "signatureAlgorithm": "string",
          "startTime": "string",
          "subject": "string"
        }
      }
    }
  ],
  "httpConfig": {
    "httpEnabledState": "HTTP_ENABLED"
  },
  "mqttConfig": {
    "mqttEnabledState": "MQTT_ENABLED"
  },
  "logLevel": "INFO",
  "eventNotificationConfigs": [
    {
      "pubsubTopicName": "string",
      "subfolderMatches": "string"
    }
  ],
  "logNotificationConfig": {
    "pubsubTopicName": "string"
  },
  "stateNotificationConfig": {
    "pubsubTopicName": "string"
  },
  "customOnboardNotificationConfig": {
    "pubsubTopicName": "string"
  },
  "customOnboardEnabled": true
}'

Last updated