Skip to content

Commit

Permalink
[#12] updated the sessions documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zephinzer committed Dec 19, 2018
1 parent 1ad3e03 commit 052aec4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/Session.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# Sessions

## Creating New Sessions
See [the User module documentation](./User.md) for information on how to create a new User. You'll need the User's UUID for the calls below.
> See [the User module documentation](./User.md) for information on how to create a new User. You'll need the User's UUID for the calls below.
| Request | Value |
| --- | --- |
| Method | `POST` |
| URL | `/session` |

| Body Parameter | Description |
| --- | --- |
| account_uuid | UUID of the user (**required**) |
| ipv4 | IP address (version 4) where the session was started |
| ipv6 | IP address (version 6) where the session was started |
| source | A source for where the user session is being created for |
| device | A device code for where the device the user is using |
| token_refresh | The refresh token for the user |
| token_access | The access token for the user |
| date_expires | A timestamp for the expiry of this session |

### Example
```sh
Expand Down

0 comments on commit 052aec4

Please sign in to comment.