ML Prep API (v1)
Download OpenAPI description
Languages
Servers
Mock server
http://{{your_prep_ip_address}}/
- Mock server
http://{{your_prep_ip_address}}/api/v1/verification/routines/initialize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://{{your_prep_ip_address}}/api/v1/verification/routines/initialize' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
http://{{your_prep_ip_address}}/api/v1/verification/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://{{your_prep_ip_address}}/api/v1/verification/status' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "isWorkflowInProgress": true, "isRunInProgress": true, "isServiceRoutineInProgress": true, "startTime": "2019-08-24T14:15:22Z", "currentIndex": 0, "runs": [ { … } ], "serviceRoutine": { "id": 0, "name": "string", "isRecommended": true, "lastRun": "2019-08-24T14:15:22Z" } }
- Mock server
http://{{your_prep_ip_address}}/api/v1/verification/signature
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://{{your_prep_ip_address}}/api/v1/verification/signature' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"signatureStr": "string",
"email": "string",
"certPassword": "string",
"location": "string",
"reason": "string",
"userName": "string"
}'