On this page:
/users resource
The /users resource lets you add a new user, update all or part of an existing user, list all users, list a user by its ID, or delete an existing user by its ID. Users represent the whale watching enthusiasts who report orca sightings.
Also see /sightings resource.
Endpoint
{base_url}/users
Also see Base URL.
Properties
Shows an example of a full /users resource:
{
"last_name": "Marsh",
"first_name": "Stan",
"email": "stan.marsh@gmail.com",
"id": 1
}
Describes all properties available in the /users resource:
| Property | Type | Description | Example |
|---|---|---|---|
last_name | string | The user’s last name. | "Marsh" |
first_name | string | The user’s first name. | "Stan" |
email | string | The user’s email address. Must be unique. | "stan.marsh@gmail.com" |
id | integer | Unique identifier for the user. Read-only, automatically generated. | 1 |