General Information
...
Service | API | Method |
---|
urac | /join/validate | GET |
Data Model: %Link to Data Model%
Workflow: %Link to Architecture Page%
Input
Models: Users, Tokens
workflow: Validate Join Flow
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|
Body | ...
Generated by Urac and email to user after registration is completed. |
Output
...
Valid Response
Code Block |
---|
language | js |
---|
title | Valid Response Sample |
---|
|
{
"result": true,
"data": {
"..."
}
} |
...
Invalid Response
Code Block |
---|
language | js |
---|
title | Error Response Sample |
---|
|
{
"result":false,
"errors":{
"codes":[400406],
"details":[
{
"code":400406,
"message":"ProblemInvalid withor thetoken providedhas passwordexpired."
}
]
}
} |
400 | Database Error406 | Invalid or token has expired. |
407 | Problem validating Request. Please try again. |
Example (CURL)
...
Request
Code Block |
---|
language | bash |
---|
title | Calling Validate API |
---|
|
...
...
GET http://127.0.0.1:4000 |
...
/urac/join/validate?token=abcdef |
Response
Code Block |
---|
language | js |
---|
title | Validate API |
---|
|
...
|
{
"result": true,
"data": |
...