added /p/{type}.json which returns 200(OK) or 403(Forbidden).