SLAs

API: Internal/Beta

The service-license-agreement API enforces that the SLA is accepted before using the service.

Rationale

Our SLA API allows for multiple SLA version to be stored and retrieved. A user has to accept the newest SLA to be allowed to access UCloud. This ensures that all users of UCloud are informed on what is legal usage of UCloud and what is not.


⚠️ WARNING: The API listed on this page will likely change to conform with our API conventions. Be careful when building integrations. The following changes are expected:

  • RPC names will change to conform with the conventions

  • RPC request and response types will change to conform with the conventions

  • RPCs which return a page will be collapsed into a single browse endpoint

  • Some property names will change to be consistent with Resources


Table of Contents

1. Remote Procedure Calls
Name Description
find No description
accept No description
2. Data Models
Name Description
ServiceAgreementText No description
AcceptSLARequest No description

Remote Procedure Calls

find

API: Internal/Beta Auth: Users

Request Response Error
Unit ServiceAgreementText CommonErrorMessage

accept

API: Internal/Beta Auth: Users

Request Response Error
AcceptSLARequest Unit CommonErrorMessage

Data Models

ServiceAgreementText

API: Internal/Beta

data class ServiceAgreementText(
    val version: Int,
    val text: String,
)
Properties
version: Int
text: String

AcceptSLARequest

API: Internal/Beta

data class AcceptSLARequest(
    val version: Int,
)
Properties
version: Int