'How do the publisher front request a api that is defind in admin?
I'm trying to add a role list api for front. The role list can display as a drop list on the page. I find that the role list api has already exist like 'https://localhost:9443/api/am/admin/v2/system-scopes', I can reqeust by postman and get response like this:
{
"count": 71,
"list": [
{
"tag": "admin",
"name": "apim:api_workflow_view",
"description": "Retrive workflow requests",
"roles": [
"admin"
]
},
{
"tag": "admin",
"name": "apim:tenant_theme_manage",
"description": "Manage tenant themes",
"roles": [
"admin"
]
},
{
"tag": "devportal",
"name": "apim:admin",
"description": "Manage all admin operations",
"roles": [
"admin"
]
},...
The drop list was added at apis (https://localhost:9443/publisher/apis). What can I do to get the front end to call this API?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
