Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Signature creation and validation service (SignAPI) hosts:

EnvironmentHost <SignAPI_base_url>
Testsignapi-prep.eparaksts.lv
Productionsignapi.eparaksts.lv

Description

Signature creation and validation service API's (SignAPI) work is based on sessions.

...

Code Block
themeEclipse
titleSession API URL
/api-session/v1.0/

Operations

MethodEndpointDescription
GET
start
Data processing session creation
GET
{sessionId}/close
Closing data processing session

Storage API

Code Block
themeEclipse
titleStorage API URL
/api-storage/v1.0/

Operations

MethodEndpointDescription
PUT
{sessionId}/upload
Upload file
GET
{sessionId}/list
Retrieve file list in specific session
GET
{sessionId}/{documentiId}
Download file
DELETE
{sessionId}/{documentiId}
Delete file
POST
{sessionId}/addDocumentDigest
Add file digest and file name for signing.

Signing API

Code Block
themeEclipse
titleSigning API URI
/api-sign/v1.0/

Operations

MethodEndpointDescription
POST
calculateDigest
Signable data calculation.
POST
finalizeSigning
Signed document finalization.
POST
addArchive
Archive timestamp requesting.
POST
eSealCreate
Creates electronic seal with client provided electronic seal key.

Validation API

Code Block
themeEclipse
titleValidation API URI
/api-validation/v1.0/

Operations

MethodEndpointDescription
GET
{sessionId}/{documentiId}/validate
Validation of signed file

Configuration API

Code Block
themeEclipse
titleConfiguration API URI
/api-config/v1.0/

Operations

MethodEndpointDescription
GET
Retrieve Service provider's configuration