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.

Get 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"
}]

Curl Example

curl --location 'https://app.bugsplat.com/api/databases' \
--header 'Cookie: user=fred%40bugsplat.com; PHPSESSID=4g3pr9rdtehoddac9ohrt1qrc3cehg54; xsrf-token=ajKqRF12QJJ3IlLFdCEH0RhMjpuD5scz86mul3zdjTYA'

Create Database

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

Curl Example

Update Databases

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

Transfer ownership of a database to another 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

Delete Database

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

Last updated

Was this helpful?