API-ParallelsWPB
view release on metacpan or search on metacpan
lib/API/ParallelsWPB/Requests.pm view on Meta::CPAN
my $uuid = $self->_get_uuid( %param );
return $self->f_request( [ 'sites', $uuid, 'limits' ], {
req_type => 'put',
post_data => [ \%param ],
}
);
}
sub configure_buy_and_publish_dialog {
my ( $self, $params ) = @_;
return $self->f_request(['system', 'trial-mode', 'messages'], {req_type => 'put', post_data => [ $params ]});
}
sub _get_uuid {
my ( $self, %param ) = @_;
my $uuid = $param{uuid} ? $param{uuid} : $self->{uuid};
lib/API/ParallelsWPB/Requests.pm view on Meta::CPAN
%param:
uuid
Site UUID. This parameter is mandatory.
localeCode
This parameter is optional.
It specifies the language that should be set for the user interface when the user (site owner) logs in to the editor.
The following languages are supported:
en_US - American English.
en_GB - British English.
de_DE - German.
es_ES - Spanish.
fr_FR - French
it_IT - Italian.
ja_JP - Japanese.
lib/API/ParallelsWPB/Requests.pm view on Meta::CPAN
pt_BR - Brazilian Portuguese
ru_RU - Russian.
zh_CN - simplified Chinese.
zh_TW - traditional Chinese.
If no locale is defined, en_US will be used.
sessionLifeTime
This parameter is optional. It specifies the period of inactivity for a user's session in the editor. When this period elapses,
the security token expires and the user needs to log in again. 1800 seconds by default.
L<Generating a Security Token for Accessing a Site|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide/index.htm?fileName=69691.htm>
=head2 B<deploy($self, %param)>
Creates site based on a specified topic.
my $response =
$client->deploy( localeCode => 'en_US', templateCode => 'music_blog' );
%param:
uuid
Site UUID. This parameter is mandatory.
localeCode
Locale code. The default value is en_US.
lib/API/ParallelsWPB/Requests.pm view on Meta::CPAN
Number of pages on a site.
video
Embedded Video module.
imagegallery
Image Gallery module.
blog
Blog module.
eshop
Online Store and Shopping Cart modules.
commenting
Commenting module.
contact
lib/API/ParallelsWPB/Requests.pm view on Meta::CPAN
script
Script module.
slider
Image Slider module.
L<Restricting Resources by Means of the API|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide/index.htm?fileName=71986.htm>
=head2 B<configure_buy_and_publish_dialog>
Configuration for Buy & Publish dialog box in constructor.
$params:
[
{
"localeCode" => "de_DE",
"messages" => {
"upsellDialogTitle" => $title,
"upsellDialogMsg" => $html
}
},
{
"localeCode" => "ru_RU",
"messages" => {
"upsellDialogTitle" => $title,
"upsellDialogMsg" => $html
}
}
]
L<Configuring the Buy and Publish Dialog Window|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide/index.htm?fileName=71987.htm>
=head1 NAME
API::ParallelsWPB::Requests
=head1 SEE ALSO
L<Parallels Presence Builder Guide|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide>
L<API::ParallelsWPB>
( run in 1.181 second using v1.01-cache-2.11-cpan-49f99fa48dc )