Skip to content

API v1 happy path#33

Merged
dolftax merged 20 commits intomasterfrom
api-v1
Mar 15, 2018
Merged

API v1 happy path#33
dolftax merged 20 commits intomasterfrom
api-v1

Conversation

@kaustavdm
Copy link
Contributor

@kaustavdm kaustavdm commented Mar 15, 2018

Does the basics for #1 and #2. Closes #8.

Implements these endpoints:

  • GET / - Get list of api

Accounts API

  • POST /accounts/ - Create new user account
  • POST /accounts/password - Update user password
  • POST /accounts/auth/local - Authenticate using username and password
  • POST /accounts/invite - Create an invite for a new user account
  • POST /accounts/invite/verify - Verify an invite using email and invite token

Streams API

  • POST /streams/ - Create new stream for current user
  • GET /streams/ - Get all streams configured for current user
  • GET /streams/{streamID} - Get details of specific stream
  • POST /streams/{streamID}/destination - Add a destination for a stream
  • POST /streams/{streamID}/changeKey - Update streaming key for an existing stream

Agents API

  • GET /agents/config/{streamKey} - Get destinations for a given stream key

TODO

  • Agent auth
  • Agent API controls
  • Handling corner cases

Note: The API structure may change as well as the authentication mechanism as we build this out.

Once this is in, @debloper can start building basic UI.

Kaustav Das Modak added 20 commits March 11, 2018 17:51
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
@kaustavdm kaustavdm added this to the v0.1.0 milestone Mar 15, 2018
@kaustavdm kaustavdm requested a review from dolftax March 15, 2018 10:30
@dolftax
Copy link

dolftax commented Mar 15, 2018

+1,330 −1,068

Dik.

@kaustavdm
Copy link
Contributor Author

Look at the branch.

@dolftax dolftax merged commit 3c51fae into master Mar 15, 2018
@dolftax dolftax deleted the api-v1 branch March 15, 2018 14:32
@dolftax
Copy link

dolftax commented Mar 15, 2018

To start with, this LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants