Projects
Provides methods for interacting with Projects in the Sentry API.
Table of Contents
-
Methods
- createKey(orgSlugprojectSlugbodycallback)
- delete(orgSlugprojectSlugcallback)
- deleteKey(orgSlugprojectSlugkeyIdcallback)
- get(orgSlugprojectSlugcallback)
- keys(orgSlugprojectSlugcallback)
- releases(orgSlugprojectSlugcallback)
- stats(orgSlugprojectSlugcallback)
- tag(orgSlugprojectSlugkeycallback)
- update(orgSlugprojectSlugbodycallback)
- updateKey(orgSlugprojectSlugkeybodycallback)
- users(orgSlugprojectSlugcallback)
Constructor
Projects
-
client
Parameters:
-
client
Client
Methods
createKey
-
orgSlug
-
projectSlug
-
body
-
callback
Create a new client key.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
body
Object-
name
StringThe name for the new key.
-
-
callback
Function
Returns:
delete
-
orgSlug
-
projectSlug
-
callback
Delete a project.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
callback
Function
Returns:
deleteKey
-
orgSlug
-
projectSlug
-
keyId
-
callback
Delete a client key.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
keyId
StringThe ID of the key to delete.
-
callback
Function
Returns:
get
-
orgSlug
-
projectSlug
-
callback
Retrieve a project.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
callback
Function
Returns:
keys
-
orgSlug
-
projectSlug
-
callback
List a project's client keys.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
callback
Function
Returns:
releases
-
orgSlug
-
projectSlug
-
callback
List a project's releases.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
callback
Function
Returns:
stats
-
orgSlug
-
projectSlug
-
callback
Retrieve event counts for a project.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
callback
Function
Returns:
tag
-
orgSlug
-
projectSlug
-
key
-
callback
List a tag's values.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
key
StringThe tag to lookup.
-
callback
Function
Returns:
update
-
orgSlug
-
projectSlug
-
body
-
callback
Update a project.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
body
Object-
name
StringThe new name for the project.
-
slug
StringThe new slug for the project.
-
options
ObjectOptional options to override in the project settings.
-
-
callback
Function
Returns:
updateKey
-
orgSlug
-
projectSlug
-
key
-
body
-
callback
Update a client key.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
key
type[description]
-
body
Object-
name
StringThe new name for the key.
-
-
callback
Function
Returns:
users
-
orgSlug
-
projectSlug
-
callback
List a project's users.
Parameters:
-
orgSlug
StringOrganization slug.
-
projectSlug
StringProject slug.
-
callback
Function