Skip to main content

Schedule a strace measurement for a single http request

POST/projects/{projectId}/straces/
v2
POST
pageinsights-schedule-strace

Request

  • projectIdstring (uuid)
    required

    ID of a project to own the created strace. It must exist a ingress with the same hostname as in the url to be measured.

Responses

application/json

Scheduled

  • idstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"url":"https://example.com"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/projects/f0f86186-0a5a-45b2-aa33-502777496347/straces