---
title: "Register"
method: POST
path: "/v2/discovery/register"
tags: ["Discovery"]
---

# Register

`POST /v2/discovery/register`

Start server registration. The results of the registration are published as events to the default event transport.

## Request body

- ServerRegistrationRequestModel — Server registration request
  - `discoveryUrl` string, required — Discovery url to use for registration
  - `id` string — User defined request id
  - `context` OperationContextModel — Operation log model
    - `AuthorityId` string — User
    - `Time` string, date-time — Operation time

## Response `200`

The operation was successful or the response payload contains relevant error information.

- boolean

## Other responses

- `400` — The passed in information is invalid
- `408` — The operation timed out.
- `500` — An unexpected error occurred

---

[API](https://skmtc.net/azure/apis/opcpublisher.md) · [All operations](https://skmtc.net/azure/apis/opcpublisher/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/opcpublisher/revisions/8eac19a554d6/schema)
