| Method and Path | Description | ||
|---|---|---|---|
| POST | /adventures | ||
| GET | /adventures | ||
| GET | /adventures/:guid | ||
| Name | Value | Description |
|---|---|---|
| Food | Food | Required to keep going |
| Clothes | Clothes | Required to fend of nature |
| Camp | Camp | Required for sleep |
| Utensils | Utensils | Required for eating |
| Gear | Gear | Required to perform the given activity |
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - | primary key
|
Interfaces: database_record
Represents an adventure.
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - |
|
| name | string | Yes | - |
|
| description | string | No | - |
|
| location | string | No | - |
|
| participants | [participant] | No | - |
|
| pack_lists | [item] | No | - |
|
Interfaces: None
Represents a validation error from the application.
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| code | string | Yes | - |
|
| message | string | Yes | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| string | No | - |
|
|
| name | string | No | - |
|
Interfaces: None
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - |
|
| size | double | No | - |
|
| description | string | No | - |
|
| type | item_type | No | - |
|
Interfaces: None
Represents a adventure participant and what items they will bring.
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| person | person | Yes | - |
|
| items | [item] | No | - |
|
Interfaces: database_record
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - |
|
| string | No | - |
|
|
| name | string | No | - |
|
Interfaces: person
| Type | Discriminator Value | Example Json | Description |
|---|---|---|---|
| guest | guest | Minimal | Full |
|
| user | user | Minimal | Full |
|