Jump to content

Names in routes


Luke

Recommended Posts

In order to fix some escaping issues, we're going to adopt the slug pattern for names in routes.

 

That means anytime you're using the following:

 

/Artists/{Name}

/Artists/{Name}/Images

 

The '/' and '?' characters in the names must be replaced with a dash. '-'. This should happen before the name gets passed into your url encoding functions.

 

This applies to Artists, Persons, Studios and Genres, and it only applies when the name is part of the route. If it's part of a query string param then ignore this.

 

https://github.com/MediaBrowser/MediaBr ... ms-by-name

 

Scott, I'll put this in api client later today and that'll take care of it for you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...