Get own registered configuration

Scope

Returns Service Provider configuration registered in the Sign API service. 

Description

Configuration information about the authorized Service provider is returned.

Request

The Service provider's application sends the following GET request using TLS:

GET /api-config/v1.0/

Authorization

The request must contain an Authorization header with an OAuth Introspect access token obtained via Integration Platform a Service provider's credentials grant flow.

Unable to render {include} The included page could not be found.

Example

GET /api-config/v1.0/ HTTP/1.1
Authorization: Bearer a477b3a3366768c07e4c458f518711b4b351e8d2c2f0f78a1524e4d3efd00603
Host: signapi-prep.eparaksts.lv

Response

JSON object:

"data": {
    "oauthClientId": {String},
    "name": {String},
    "created": {Datetime},
    "changed": {Datetime},
    "fileMaxLength": {Number},
    "sessionExpirationTimeout": {Number}
}
PropertyDescription
data
Contains information about Service providers configuration
data.oauthClientId
OAuth2.0 Service provider’s application identifier issued by LVRTC
data.name
Registered name of Service provider
data.created
Date of creation
data.changed
Date of last modifications
data.fileMaxLength
Maximal possible upload file size
data.sessionExpirationTimeout
Session expiration in seconds

Example

"data": {
    "oauthClientId": "SIAUznemums",
    "name": "SIA Uzņēmums",
    "created": "2019-10-22T10:34:10.666528",
    "changed": "2019-10-22T10:34:10.666528",
    "fileMaxLength": 4202406,
    "sessionExpirationTimeout": 5105880
}
  • No labels