system

add a configured timestamping service

Changed on
<h3>Administrator selects a new timestamping service.</h3>
post/system/timestamping-services

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/system/timestamping-services
  • Auth: API key in header Authorization

Request body

namestring text required

name of the time stamping service

urlstring url required

url of the time stamping service

cost_type'FREE' | 'PAID' | 'UNDEFINED' enum required

cost type for services like TSP-s and OCSP responders

Example request

{
  "name": "X-Road Test TSA CN",
  "url": "http://dev.xroad.rocks:123",
  "cost_type": "FREE"
}

Response

timestamping service created

namestring text required

name of the time stamping service

urlstring url required

url of the time stamping service

cost_type'FREE' | 'PAID' | 'UNDEFINED' enum required

cost type for services like TSP-s and OCSP responders

Example response

{
  "name": "X-Road Test TSA CN",
  "url": "http://dev.xroad.rocks:123",
  "cost_type": "FREE"
}

Changes

    • ▲

      added the new required request property

    • ○

      added the required property to the response with the status

    • ▲

      removed the required property from the response with the status

    • ●

      removed the request property