Teams
Provides methods for interacting with Teams in the Sentry API.
Table of Contents
Constructor
Teams
-
client
Parameters:
-
client
Client[description]
Methods
create
-
orgSlug
-
body
-
callback
Create a new team bound to an organization.
Parameters:
-
orgSlug
StringOrganization slug.
-
body
Object-
name
StringThe human readable name for the new team.
-
slug
StringThe unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
-
-
callback
Function
Returns:
createProject
-
orgSlug
-
teamSlug
-
body
-
callback
Create new project
Parameters:
-
orgSlug
StringOrganization slug.
-
teamSlug
StringTeam slug.
-
body
Object-
name
StringThe new name for the project.
-
slug
String(optional) A slug for the new project, will be generated if not given.
-
callsign
String(optional) a callsign for the new project.
-
-
callback
Function
Returns:
delete
-
orgSlug
-
teamSlug
-
callback
Delete a team.
Parameters:
-
orgSlug
StringOrganization slug.
-
teamSlug
StringTeam slug.
-
callback
Function
Returns:
get
-
orgSlug
-
teamSlug
-
callback
Retrieve a team.
Parameters:
-
orgSlug
StringOrganization slug.
-
teamSlug
StringTeam slug.
-
callback
Function
Returns:
list
-
orgSlug
-
callback
List an organization's teams.
Parameters:
-
orgSlug
StringOrganization slug.
-
callback
Function
Returns:
projects
-
orgSlug
-
teamSlug
-
callback
List a team's projects.
Parameters:
-
orgSlug
StringOrganization slug.
-
teamSlug
StringTeam slug.
-
callback
Function
Returns:
stats
-
orgSlug
-
teamSlug
-
callback
Retrieve event counts for a team.
Parameters:
-
orgSlug
StringOrganization slug.
-
teamSlug
StringTeam slug.
-
callback
Function
Returns:
update
-
orgSlug
-
teamSlug
-
body
-
callback
Update a team.
Parameters:
-
orgSlug
StringOrganization slug.
-
teamSlug
StringTeam slug.
-
body
Object-
name
StringThe new name for the team.
-
slug
StringA new slug for the team. It has to be unique and available.
-
-
callback
Function