Virtual trainer to help athletes prepare for events, e.g. marathons, ironman, etc.
Method and Path | Description | ||
---|---|---|---|
GET | /users | Search for a specific user. You must specify at least 1 parameter - either a guid or email - and will receive back either 0 or 1 users. |
|
GET | /users/:guid | Returns information about the user with this guid. |
|
POST | /users | Create a new user. |
|
PUT | /users/:guid | Updates information about the user with the specified guid. |
Interfaces: None
Represents a validation error from the application.
Field | Type | Required? | Default | Description |
---|---|---|---|---|
code | string | Yes | - |
|
message | string | Yes | - |
|
Interfaces: None
Healthcheck for the application itself
Field | Type | Required? | Default | Description |
---|---|---|---|---|
status | string | Yes | - |
Example: healthy |
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
first | string | No | - |
|
last | string | No | - |
|
Interfaces: None
A user is a top level person.
Field | Type | Required? | Default | Description |
---|---|---|---|---|
guid | uuid | Yes | - | primary key of the user
|
string | Yes | - | email address. lower(email) is unique system wide
|
|
name | name | No | - |
|
Interfaces: None
Field | Type | Required? | Default | Description |
---|---|---|---|---|
string | Yes | - |
|
|
name | name | No | - |
|