Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint to onboard an organization #45

Merged
merged 8 commits into from
Jun 6, 2022
Merged

Endpoint to onboard an organization #45

merged 8 commits into from
Jun 6, 2022

Conversation

sudheshna-donthineni
Copy link
Contributor

@sudheshna-donthineni sudheshna-donthineni commented May 17, 2022

Fixes #44

Summary

  • This code adds an endpoint to create a new organization.
  • When this API is called, an API key is auto created and organization is added.
  • An organization name must be sent with the API call.

Screenshot 2022-05-17 at 12 57 38 PM

P.S. Merges into the #42 PR, not main.

app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
@sudheshna-donthineni sudheshna-donthineni linked an issue May 18, 2022 that may be closed by this pull request
app/models.py Outdated Show resolved Hide resolved
app/models.py Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/models.py Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
Copy link
Contributor

@pritamps pritamps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small code thing, then good to go

app/routers/organizations.py Outdated Show resolved Hide resolved
app/models.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
app/routers/organizations.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create organization endpoint
4 participants