File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
packages/core/server/routes Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " strapi-plugin-webtools " : minor
3+ ---
4+
5+ feat: expose the URL alias crud endpoints to the content-api to allow for URL alias management from external systems
Original file line number Diff line number Diff line change @@ -10,6 +10,38 @@ export default {
1010 policies : [ ] ,
1111 } ,
1212 } ,
13+ {
14+ method : 'GET' ,
15+ path : '/url-alias/:id' ,
16+ handler : 'url-alias.findOne' ,
17+ config : {
18+ policies : [ ] ,
19+ } ,
20+ } ,
21+ {
22+ method : 'DELETE' ,
23+ path : '/url-alias/:id' ,
24+ handler : 'url-alias.delete' ,
25+ config : {
26+ policies : [ ] ,
27+ } ,
28+ } ,
29+ {
30+ method : 'PUT' ,
31+ path : '/url-alias/:id' ,
32+ handler : 'url-alias.update' ,
33+ config : {
34+ policies : [ ] ,
35+ } ,
36+ } ,
37+ {
38+ method : 'POST' ,
39+ path : '/url-alias' ,
40+ handler : 'url-alias.create' ,
41+ config : {
42+ policies : [ ] ,
43+ } ,
44+ } ,
1345 {
1446 method : 'GET' ,
1547 path : '/router' ,
You can’t perform that action at this time.
0 commit comments