Databases

API Documentation for the BugSplat Databases Endpoint

Operations related to a user or company's databases in BugSplat. Get a list of databases for the currently authenticated user or company, create a new database, transfer a database's ownership to another company, or delete a database.

Databases

GET https://app.bugsplat.com/api/databases

Returns databases for the current user or a company specified by companyId.

Query Parameters

Name
Type
Description

companyId

number

ID of the company that owns the databases

[{
    "dbName": "Fred",
    "companyId": "545",
    "companyName": "BugSplat Public Testing",
    "Volume30Day": "1075",
    "Volume365Day": "8868",
    "CrashDataDays": "6544"}]

Databases

POST https://app.bugsplat.com/api/databases

Create a new database for the current user. Default values for the new database are copied from the current database.

Request Body

Name
Type
Description

database*

string

Name of the database being created

{
    "status": "success",
    "database": "fred"}

Databases

PUT https://app.bugsplat.com/api/databases

Transfer the ownership of a database to a different company.

Request Body

Name
Type
Description

companyId

number

ID of the company the database is being transferred to

database

string

Name of the database being transferred

{
    "status": "success",
    "database": "fred",
    "companyId": 25
}

Databases

DELETE https://app.bugsplat.com/api/databases

Deletes a database and all associated data from BugSplat. This action is irreversible

Query Parameters

Name
Type
Description

database

string

BugSplat database to delete

{
    "status": "success",
    "database": "fred",
    "deleted":true
}

Last updated