How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

X-Road (NIIS) Keys API

keys endpoints

X-Road (NIIS) Keys API is one of 40 APIs that X-Road (NIIS) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Keys. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

This API exposes 8 operations across 5 paths, and defines 15 schemas. It is described by OpenAPI 3.2.0, at version 2.1.0.

Requests are made against a single base URL, /api/v1.

8 operations 5 paths 15 schemas 2 DELETE4 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.1.0
Base URL
https://{security-server-host}:4000/api/v1
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

X-Road (NIIS) Keys API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — X-Road-ApiKey token=

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 2 DELETE, 4 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Keys 8

keys endpoints

GET
/keys/{id}
get information for the selected key in selected token
getKey 1 param → 200400401403404406500
PATCH
/keys/{id}
update key information
updateKey 1 param body → 200400401403404406500
DELETE
/keys/{id}
delete key
deleteKey 2 params → 204400401403404500
POST
/keys/{id}/csrs
generate csr for the selected key
generateCsr 1 param body → 201400401403404406500
GET
/keys/{id}/csrs/{csr_id}
download a CSR binary
downloadCsr 3 params → 201400401403404406500
DELETE
/keys/{id}/csrs/{csr_id}
delete csr from the selected key
deleteCsr 2 params → 204400401403404406500
GET
/keys/{id}/csrs/{csr_id}/possible-actions
get possible actions for one csr
getPossibleActionsForCsr 2 params → 200400401403404406500
GET
/keys/{id}/possible-actions
get possible actions for one key
getPossibleActionsForKey 1 param → 200400401403404406500

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are CertificateDetails (18 properties), TokenCertificate (11 properties), Key (10 properties), CsrGenerate (6 properties). Each schema is shown below with its type and property counts.

KeyAlgorithm
string
Key type
ErrorInfo
TokenCertificate
object
Certificate that is stored in a Token (auth or sign cert). Also includes the possible actions that can be done to this object, e.g DELETE (only for cert relate…
11 properties 6 required
KeyUsage
string
certificate key usage
PossibleActions
array
array containing the possible actions that can be done for this item
CertificateStatus
string
certificate status
PossibleAction
string
an action to change state or edit token, key, cert or csr
KeyUsageType
string
intended usage for the key (signing or authentication)
KeyName
object
1 property 1 required
CertificateOcspStatus
string
certificate status
Key
object
Key for the certificate. Also includes the possible actions that can be done to this object, e.g DELETE (only for key related operations and does not consider…
10 properties 6 required
CsrGenerate
object
request to generate a CSR
6 properties 4 required
CsrFormat
string
format of the certificate signing request (PEM or DER)
TokenCertificateSigningRequest
object
CSR for certificate that is stored in a Token. Also includes the possible actions that can be done to this object, e.g DELETE (only for csr related operations…
4 properties 3 required
CertificateDetails
object
certificate details for any kind of certificate (TLS, auth, sign)
18 properties 16 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

x-road-global-keys-api-openapi.yml Raw ↑

Other APIs X-Road (NIIS) publishes across the network.

X-Road Management Services (SOAP)
X-Road Environmental and Operational Monitoring (SOAP)
X-Road (NIIS) Backups API
X-Road (NIIS) Certificate Authorities API
X-Road (NIIS) Certification Services API
X-Road (NIIS) Clients API
X-Road (NIIS) Configuration Parts API
X-Road (NIIS) Configuration Source Anchors API
X-Road (NIIS) Configuration Sources API
X-Road (NIIS) Dataspace API
X-Road (NIIS) Diagnostics API
X-Road (NIIS) Ds Tls Certification Authorities API
Where this information came from

This is an independent, third-party profile of X-Road (NIIS) Keys API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.