mackstar / Spout

A PHP based headless CMS powered by BEAR.Sunday
MIT License
43 stars 7 forks source link

Set internal routing to have specific resource URIs #21

Open mackstar opened 10 years ago

mackstar commented 10 years ago

Currently internal uris largely use parameters to get dynamic resources of different types. Authoritative URI's are needed. This also allows the automatic assignment of templates.

mackstar commented 10 years ago

This is part of the HAL compliance work. The suggestion is to have media types eg:

/api/media/news/this-is-the-slug