issues
search
PRX
/
cms.theworld.org
Wordpress CMS for The World
Apache License 2.0
0
stars
2
forks
source link
HOTFIX: Alias API support numeric slug
#202
Closed
rpeterman-gp
closed
4 months ago
rpeterman-gp
commented
4 months ago
To Review
[x] Checkout Branch.
[x] Run
npm run local
(or
npm run refresh
if you want a fresh database.)
[x] Open your favorite RESTful client (Postman, VS Code Thunder Client)
...then...
[x] Make a request using a story nid:
http://the-world-wp.lndo.site/wp-json/tw/v2/alias?slug=191147
[x] Expect data fro the story to be returned.
[x] Make a request using an audio file fid:
http://the-world-wp.lndo.site/wp-json/tw/v2/alias?slug=358024
[x] Expect data for the audio to be return, unless it was segment audio, then the segment data should be returned.
To Review
npm run local
(ornpm run refresh
if you want a fresh database.)