Make the trailing slash optional for some endpoints

Some older URLs make use of endpoints without the trailing slash.  A better approach might be to create redirects, but that would mean duplicating much of this regex, and the conical URLs for each endpoint are already being listed.