Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str body Return Call NameLoad keyword Num Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr attr Str Str Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad decorator_list Call NameLoad ListLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str keyword NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr keyword Num Return Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list Call NameLoad ListLoad NameLoad decorator_list
N/A __future__ absolute_import rest_framework serializers status rest_framework.response Response sentry.api.base DocSection sentry.api.bases.organization OrganizationEndpoint sentry.api.serializers serialize sentry.api.serializers.models.team TeamWithProjectsSerializer sentry.models AuditLogEntryEvent OrganizationMember OrganizationMemberTeam Team TeamStatus sentry.utils.apidocs scenario attach_scenarios create_new_team_scenario N/A N/A runner N/A N/A N/A N/A N/A runner request method POST path N/A /organizations/%s/teams/ N/A N/A runner org slug data N/A name Ancient Gabelers N/A N/A scenario CreateNewTeam list_organization_teams_scenario N/A N/A runner N/A N/A N/A N/A N/A runner request method GET path N/A /organizations/%s/teams/ N/A N/A runner org slug N/A N/A scenario ListOrganizationTeams TeamSerializer N/A N/A serializers Serializer N/A N/A name N/A N/A serializers CharField max_length 200 required True N/A slug N/A N/A serializers CharField max_length 200 required False N/A OrganizationTeamsEndpoint N/A OrganizationEndpoint N/A N/A doc_section N/A DocSection TEAMS get N/A N/A self request organization N/A N/A N/A 
        List an Organization's Teams
        ````````````````````````````

        Return a list of teams bound to a organization.

        :pparam string organization_slug: the slug of the organization for
                                          which the teams should be listed.
        :auth: required
         N/A N/A N/A request auth N/A hasattr N/A request auth project N/A N/A N/A Response status 403 N/A team_list N/A list N/A N/A N/A N/A N/A Team objects filter organization organization status N/A TeamStatus VISIBLE order_by name slug N/A N/A Response N/A serialize team_list N/A request user N/A TeamWithProjectsSerializer N/A N/A attach_scenarios N/A list_organization_teams_scenario post N/A N/A self request organization N/A N/A N/A 
        Create a new Team
        ``````````````````

        Create a new team bound to an organization.  Only the name of the
        team is needed to create it, the slug can be auto generated.

        :pparam string organization_slug: the slug of the organization the
                                          team should be created for.
        :param string name: the name of the organization.
        :param string slug: the optional slug for this organization.  If
                            not provided it will be auto generated from the
                            name.
        :auth: required
         N/A serializer N/A TeamSerializer data N/A request DATA N/A N/A N/A serializer is_valid N/A N/A result N/A serializer object N/A team N/A N/A N/A Team objects create name N/A result N/A name slug N/A N/A result get slug organization organization N/A N/A N/A N/A request user is_authenticated N/A N/A N/A N/A member N/A N/A N/A OrganizationMember objects get user N/A request user organization organization N/A N/A N/A N/A OrganizationMember DoesNotExist N/A N/A N/A N/A N/A N/A N/A OrganizationMemberTeam objects create team team organizationmember member N/A N/A N/A self create_audit_entry request request organization organization target_object N/A team id event N/A AuditLogEntryEvent TEAM_ADD data N/A N/A team get_audit_log_data N/A N/A Response N/A serialize team N/A request user status 201 N/A N/A Response N/A serializer errors status N/A status HTTP_400_BAD_REQUEST N/A N/A attach_scenarios N/A create_new_team_scenario N/A