@@ -55,7 +55,7 @@ Cookie: umami.auth=eyTMjU2IiwiY...4Q0JDLUhWxnIjoiUE_A
5555
5656Operations around Websites that Umami is tracking.
5757
58- ## ` POST /api/website `
58+ ## ` POST /api/websites `
5959
6060Creates a website.
6161
@@ -115,7 +115,7 @@ There are several endpoints your can call to get stats for your website. All the
115115stats endpoints require sending a ` GET ` request with the ` umami.auth ` authentication cookie.
116116
117117
118- ## ` GET /api/website /{id}/stats `
118+ ## ` GET /api/websites /{id}/stats `
119119
120120Gets summarized website statistics.
121121
@@ -126,7 +126,7 @@ Gets summarized website statistics.
126126
127127** Sample example**
128128
129- GET (with Authorization header) from url : ` https://umami.mydomain.com/api/website /1/stats?start_at=1656679719687&end_at=1656766119687 `
129+ GET (with Authorization header) from url : ` https://umami.mydomain.com/api/websites /1/stats?start_at=1656679719687&end_at=1656766119687 `
130130
131131```
132132{
@@ -143,7 +143,7 @@ GET (with Authorization header) from url : `https://umami.mydomain.com/api/websi
143143- ` totaltime ` : Time spent on the website
144144
145145
146- ## ` GET /api/website /{id}/pageviews `
146+ ## ` GET /api/websites /{id}/pageviews `
147147
148148Gets pageviews within a given time range.
149149
@@ -169,7 +169,7 @@ Gets pageviews within a given time range.
169169}
170170```
171171
172- ## ` GET /api/website /{id}/events `
172+ ## ` GET /api/websites /{id}/events `
173173
174174Gets events within a given time range.
175175
@@ -189,7 +189,7 @@ Gets events within a given time range.
189189]
190190```
191191
192- ## ` GET /api/website /{id}/metrics `
192+ ## ` GET /api/websites /{id}/metrics `
193193
194194Gets metrics for a given time range.
195195
0 commit comments