-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Friendlier URLs #32
Comments
OverviewDepends on StoryShop/api#21, #134, and #52. The above has been revised through the Writer design process to a new URL structure. This task involves migrating the following existing URLs to their new URIs:
In addition, the following are new URIs to be implemented along with their respective components, outside the scope of this task:
Lastly, the following URIs are considered deprecated and will not be updated. Per this issue, the endpoints are their components are to be removed:
Note When loading a route, we will need to fetch a world from the resource in question. For worlds and world lists, we already have the world ID in the route params; for characters (and later for books), we will need to do a reverse lookup on those resources. |
Characters, elements, and outlines need not be children of worlds, though they can be if the added added context would assist users.
Slugs should be added for characters and outlines, though are probably not needed for elements. E.g.:
The text was updated successfully, but these errors were encountered: