Create Portal
Creates the portal with populated attributes. Sets the userID based on the value received inthe SSO token. Invokes the base class implementation to create the portal.
Request
URI
POST
https://{api_host}/api/portals
COPY
Request Body
array of
object
portletConfigurations
Optional
portletConfigurations
array of
integer
columnLengths
Optional
columnLengths
string
name
Optional
name
string
tenantId
Optional
tenantId
string
layoutType
Optional
layoutType
Possible values are :
SINGLE_COLUMN,
TWO_COLUMN_EVEN,
TWO_COLUMN_WIDE_RIGHT,
TWO_COLUMN_WIDE_LEFT,
THREE_COLUMN_EVEN,
THREE_COLUMN_WIDE_CENTER,
FOUR_COLUMN_EVEN,
string As uuid
As uuid
id
Optional
id
string
userId
Optional
userId
Responses
200
successful operation
Returns
Portal
of type(s)
*/*
{
"portletConfigurations": [
{
"mode": "string",
"id": "string",
"state": "string",
"extensionId": "string",
"portletPreferences": {
"portletPreferences": {
"portletPreferenceValues": [
{
"value": "string"
}
],
"key": "string"
}
}
}
],
"columnLengths": [
0
],
"name": "string",
"tenantId": "string",
"layoutType": "string",
"id": "string",
"userId": "string"
}
array of
object
portletConfigurations
Optional
portletConfigurations
array of
integer
columnLengths
Optional
columnLengths
string
name
Optional
name
string
tenantId
Optional
tenantId
string
layoutType
Optional
layoutType
Possible values are :
SINGLE_COLUMN,
TWO_COLUMN_EVEN,
TWO_COLUMN_WIDE_RIGHT,
TWO_COLUMN_WIDE_LEFT,
THREE_COLUMN_EVEN,
THREE_COLUMN_WIDE_CENTER,
FOUR_COLUMN_EVEN,
string As uuid
As uuid
id
Optional
id
string
userId
Optional
userId
201
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/portals