Create or update a Portal
Changed onCreate or update a Portal from PortalSpec
Request
- Base URLhttps://eu.cloudgate.gravitee.io/apim/automation
- URLhttps://eu.cloudgate.gravitee.io/apim/automation/organizations/{orgId}/environments/{envId}/portals
- Auth
- HTTP bearer
- or HTTP basic
- or HTTP bearer
Path parameters
organization ID
environment ID
Query parameters
For modifying requests, this parameter allow you to test the result of an endpoint without actually persisting the state of the underlying spec.
Request body
Example request
{
"hrid": "demo_api",
"name": "Default Portal",
"structure": {
"topNavbar": [
{
"path": "/projects/alpha",
"displayName": "Alpha"
}
]
},
"navigation": [
{
"path": "/projects/alpha",
"displayName": "Alpha"
}
],
"activeThemeHrid": "brand-theme"
}Response
State of the successfully created/updated Portal
Example response
{
"hrid": "demo_api",
"name": "Default Portal",
"structure": {
"topNavbar": [
{
"path": "/projects/alpha",
"displayName": "Alpha"
}
]
},
"navigation": [
{
"path": "/projects/alpha",
"displayName": "Alpha"
}
],
"activeThemeHrid": "brand-theme"
}Changes
- warning
changed the pattern of the request property
from^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$to^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$ - info
added the new optional request property
- info
added the new optional request property
// - info
added the new optional request property
- info
request property
deprecated - info
added the optional property
////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
response property
allOf[PortalSpec]/navigationdeprecated - info
the
////response's property pattern was changed from^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$to^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$for the status
- warning
- warning
changed the pattern of the request property
from^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$to^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$ - warning
removed the request property
- warning
removed the request property
// - warning
removed the request property
- warning
removed the optional property
////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
////from the response with the status - info
request property
reactivated - info
the
////response's property pattern was changed from^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$to^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$for the status - info
response property
allOf[PortalSpec]/navigationreactivated
- warning