API v2

Yes, the /docs endpoint is the Swagger documentation.  Without this check, the /docs endpoint would also get throttled, and the Swagger UI makes many hits to /api/* in a short span of time.