Versions Compared

Key

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

...

  1. Send email to support@wmda.info with a PGP/GPG public key.  Or if you have other secure way to communicate the credential, please identify that in the email. Below we provide guide how can you generate PGP public key
  2. WMDA will provide you the credential and send email to notify you.
  3. You test the credential is working and can call  call endpoint in sandbox system. You can follow the steps below to "Implemented to Generate at "Implementation of Generating Bear Token" and  "Using the REST API" to test the credential:
    1. Implement the credential.
    2. Refresh Bear upload user guide below.

...

Expand
titleClick here to expand: The user guide to generate public key using Kleopatra

After install Kleppatra, follow steps below:

  1. Generate key pair: In File→New OpenPGP Key Pair . Please use the "Advanced Settings" to use at least RSA 2048 bits  + RSA 3072 as the algorithm. 














  2. After generate the key, click on the key that you generated, and a new window will be open.



  3. Click on the "Export" button. To review the public key that generated. It will be something like below.


  4. Please keep the secret key safe to decrypt the file that WMDA will send back.

...



Implementation of Generating Bear Token

Data Manager uses Bear Token for the authorization as all WMDA API services, please follow user guide for API authentication to implement https://share.wmda.info/x/8I7RFw.

...

Step 1: Set up the credential by following the instruction above in the "Implement credentialImplementation of Generating Bear Token

Step 2: Test to use the API in WMDA Data Manager sandbox. 
            Below is an example to guide how to get the information to upload a file:

URL
SERVER URL

Sandbox system: https://sandbox-datamanager-api.wmda.info

Production system: https://datamanager-api.wmda.info (Only process the file after get clean notification from WMDA)

URI

/api/v1/ions/list

METHODPOST
Full URL path example

https://sandbox-datamanager-api.wmda.info/api/v1/ions/list

Request body
no request body needed
HEADER

Authorization and Content-Type are required, the other ones are optional

AuthorizationBear Token
Content-Type
application/json

...

Run curl call as below to get the ion(s) you have access.  You may get one or multiple ions based on your access permission.
"-i" option can be used to check the detail details of the communication if something go wrong.

...