REST API Apps Create and retrieve Projects is needed to get the ingestion key.
List Apps
GET
https://app.inspector.dev/api/apps
200
Copy [
{
"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
200 404
Copy {
"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"
}
Copy {
"message": "Resource not found."
}
Create App
POST
https://app.inspector.dev/api/apps
Create a new project will generate a new ingestion key.
Request Body
The ID of the technology stack used for the project
200 422 If some data is incorrect.
Copy {
"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"
}
Copy {
"message" : "The given data are incorrect" ,
"errors" : {
"name" : [
"The name field is required" ,
"The name field should contains more than 3 characters"
]
}
}
Update App
PUT
https://app.inspector.dev/api/apps/:id
Path Parameters
Request Body
Determine if you want to receive the weekly summary via email.
200
Copy {
"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
200
Copy {
"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 9 months ago