1.1.1 • Published 9 months ago

@universis/ediplomas v1.1.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
gitlab
Last release
9 months ago

@universis/ediplomas

Universis api server plugin for eDiplomas

Installation

npm i @universis/ediplomas

Configuration

Register @universis/ediplomas under universis api server services section of application configuration:

{
    "services": [
        ...,
        {
            "serviceType": "@universis/ediplomas#eDiplomasService"
        }
    ]

Add the eDiplomaSchemaLoader under universis api server schema/loaders section of application configuration:

{
  ...
  "schema": {
    "loaders": [
      ...
      { "loaderType": "@universis/ediplomas#eDiplomasSchemaLoader"}
      ...
    ]
  }
  ...
}
...

Add service whitelist, which is are an array of remote addresses that have the right to access endpoints, under settings/universis/ediplomas section of application configuration:

 "settings": {
    "universis": {
        ...
        "ediplomas": {
            "whitelist": [
                "127.0.0.1",
                ...
            ]
        }
    }
 }

Usage

Get service version

Returns the current version of eDiplomas plugin

curl --location --request GET 'https://universis-api/ediplomas/version'

Get degrees

curl --location --request POST 'https://universis-api/ediplomas/items' \
--header 'Content-Type: application/json' \
--data-raw '[
    {"ssn": "12345678901"}
]'
1.1.1

9 months ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.12

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago