Skip to main content

9. API Proposal

Introduction

You will find below a link to the latest version of the swagger file that contains all entities manipulated by the system and the API calls associated with them. The swagger includes the roles that have access to each API call.

Production Swagger:

https://prod.rncv.lu/backend/api/v1/swagger-ui/

Staging Swagger:

https://staging.rncv.lu/backend/api/v1/swagger-ui/

How to test the API

The RNCV API allows you to interact withthe backend services of the registry. This guide explains how to access the API, authenticate, and send test requests. The screenshots below illustrate each step.

Accessing the API Documentation

Open the Swagger (OpenAPI) documentation corresponding to the environment you want to test (staging or production). This interface enables you to explore all available endpoints and test them interactively once you are authenticated. 

Please be aware that the API keys are environment dependent. 

Authentication

To use the API interactively in Swagger, you need an authentication token provided by MyConnectivity. You will find below the steps needed to configure the authentication on Swagger-UI.

  1. Click the “Authorize” button at the bottom right of the Swagger page.

     

     

    image.png

     

  2. In the pop-up window, enter your authentication token in the following format: Token <your_token>.
  3. Click “Authorize” to confirm.

    Screenshot 2025-11-06 at 09.49.10.png

Sending a Request

  1. Choose the API endpoint you wish to test from the documentation list.
  2. Click “Try it out” to enable editing of the request parameters.

    Screenshot 2025-11-06 at 09.51.48.png

  3. Optionally set filters (e.g., includeInactive, search).
  4. Click “Execute” to send the request.

    Screenshot 2025-11-06 at 09.52.39.png

  5. Review the server’s response (status code, JSON body, and headers).

    Screenshot 2025-11-06 at 09.55.28.png

Troubleshooting

  • 401 Unauthorized → Check that your token is valid and formatted as “Token <your_token>”
  • 404 Not Found → Verify that the endpoint path and parameters are correct
  • 500 Internal Server Error → Contact the MyConnectivity technical team with your request details

Notes

  • API access may be restricted to specific IP ranges
  • The staging environment is intended for testing and may differ slightly from production
  • Never share your token publicly