Apps

Create and retrieve Projects is needed to get the ingestion key.

List Apps

GET https://app.inspector.dev/api/apps

Headers

NameTypeDescription

Authentication*

string

API key.

[
    {
        "id": 123,
        "name": "App Demo",
        "favorite": false,
        "client_version": "4.7.33",
        "key": "xxxxxxxxxxxxxxxxx",
        "serverless": false,
        "weekly_report": true,
        "platform": {
            "id": 1,
            "name": "Laravel",
            "language": "PHP"
        },
        "users": [1, 2],
        "created_at": "2024-03-01 10:52",
        "updated_at": "2024-03-01 10:52"
    },
    {
        "id": 456,
        "name": "Demo 2",
        "favorite": false,
        "key": "xxxxxxxxxxxxxxxxx",
        
        ...
    }
]

App Details

GET https://app.inspector.dev/api/apps/:id

Path Parameters

NameTypeDescription

id*

integer

App's ID

Headers

NameTypeDescription

Authentication*

string

API key

{
    "id": 123,
    "name": "App Demo",
    "favorite": false,
    "client_version": "4.7.33",
    "key": "xxxxxxxxxxxxxxxxx",
    "serverless": false,
    "weekly_report": true,
    "platform": {
        "id": 1,
        "name": "Laravel",
        "language": "PHP"
    },
    "users": [1, 2],
    "created_at": "2024-03-01 10:52",
    "updated_at": "2024-03-01 10:52"
}

Create App

POST https://app.inspector.dev/api/apps

Create a new project will generate a new ingestion key.

Headers

NameTypeDescription

Authentication*

string

API key

Request Body

NameTypeDescription

name*

string

The name of the project

platform_id*

integer

The ID of the technology stack used for the project

{
    "id": 123,
    "name": "App Demo",
    "favorite": false,
    "client_version": "4.7.33",
    "key": "xxxxxxxxxxxxxxxxx",
    "serverless": false,
    "weekly_report": true,
    "platform": {
        "id": 1,
        "name": "Laravel",
        "language": "PHP"
    },
    "users": [1, 2],
    "created_at": "2024-03-01 10:52",
    "updated_at": "2024-03-01 10:52"
}

Update App

PUT https://app.inspector.dev/api/apps/:id

Path Parameters

NameTypeDescription

id*

integer

App's ID

Headers

NameTypeDescription

Authentication*

string

API key

Request Body

NameTypeDescription

weekly_report

boolean

Determine if you want to receive the weekly summary via email.

platform_id*

integer

The tech stack.

name*

string

Name of the project

{
    "id": 123,
    "name": "App Demo",
    "favorite": false,
    "client_version": "4.7.33",
    "key": "xxxxxxxxxxxxxxxxx",
    "serverless": false,
    "weekly_report": true,
    "platform": {
        "id": 1,
        "name": "Laravel",
        "language": "PHP"
    },
    "users": [1, 2],
    "created_at": "2024-03-01 10:52",
    "updated_at": "2024-03-01 10:52"
}

Delete App

DELETE https://app.inspector.dev/api/apps/:id

Path Parameters

NameTypeDescription

id*

integer

App's ID

Headers

NameTypeDescription

Authorization*

string

API key

{
    "id": 123,
    "name": "App Demo",
    "favorite": false,
    "client_version": "4.7.33",
    "key": "xxxxxxxxxxxxxxxxx",
    "serverless": false,
    "weekly_report": true,
    "platform": {
        "id": 1,
        "name": "Laravel",
        "language": "PHP"
    },
    "users": [1, 2],
    "created_at": "2024-03-01 10:52",
    "updated_at": "2024-03-01 10:52"
}

Last updated