---
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

## Changes

- **2024-06-29** `bfba75adb807` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `408`
  - added the non-success response with the status `500`
- **2023-06-12** `d4f4e58029fb` — 2 info
  - api tag `Discovery` added
  - api tag `DiscoveryMethods` removed
- **2023-05-02** `e285a38b6ca1` — 5 info
  - api tag `DiscoveryMethods` added
  - api tag `Discovery` removed
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `408`
  - …1 more

[Change history](https://skmtc.dev/azure/apis/opcpublisher/changes/v2/discovery/register/post.md)

---

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