| sidebar_position | title | description |
|---|---|---|
6 |
Documentation of Foo's API REST methods for its page experience testing services |
Documentation of Foo's API REST methods for its page experience testing services. Foo provides testing and monitoring services using Lighthouse and Web Vitals. |
Important
Foo API is now deprecated and will sunset on 01/01/2026. It will be permanently offline soon after that date.
Foo's REST API expects standard requests and payloads. Below are examples of different REST methods via cURL.
curl -X GET "https://www.foo.software/api/v2/pages?limit=5" \
-H "authorization: abc123"curl -X POST "https://www.foo.software/api/v2/pages" \
-H "authorization: abc123" \
-H "content-type: application/json" \
-d "{ \"url\": \"https://www.foo.software\", \"name\": \"Foo home page\" }"curl -X PUT "https://www.foo.software/api/v2/pages/123" \
-H "authorization: abc123" \
-H "content-type: application/json" \
-d "{ \"name\": \"Foo home page (updated name)\" }"curl -X DELETE "https://www.foo.software/api/v2/pages/123" \
-H "authorization: abc123" \
-H "content-type: application/json"