Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Example scenarios

Joanna Rozestwinska edited this page Jan 12, 2015 · 2 revisions

Example scenarios using Discovery Peak API

I. Create user and account

  1. Create user
  2. Get user token
  3. Create account using token from 2.
  4. Get new user token with access to the new account

Add another user to your account

You

  1. Perform step I.
  2. Create an invitation using your token from I.4

Invited user

  1. Get list of your pending invitations
  2. Accept invitation, having invitation id from previous step
  3. Get new user token with access to the account you were invited to
Clone this wiki locally