About configuration levels
75
When you use the server management API over HTTP, the arguments for each command
must be named. This is different from ActionScript, where the arguments are not named
because the meaning of each argument is determined by the order in which it is passed to the
command.
For instance, the syntax for the
addAdmin
command is as follows:
:/admin/
addAdmin?auser=adminname&apswd=adminpassword&username="joe"&password="
axbycz"&vhost="_defaultRoot_/foo.myCompany.com"
The syntax for the
gc
command is as follows:
/admin/gc?auser=adminname&apswd=adminpassword
The following table lists the names of the arguments for each command. Remember that the
admin user name and admin password are required for every command.
Command
Required
arguments
Optional
arguments
Sample URL
addAdmin
username,
password
scope
/admin/
addAdmin?username="joe"&pas
sword="axbycz"&vhost="_defaul
tRoot_/foo.myCompany.com"
addApp
appName
n/a
/admin/
addApp?appName="app1"
addVHostAlias
vhost/
vhostName,
alias/
aliasName,
persist
n/a
/admin/
addVHostAlias?vhost="_default
VHost_"&alias="www.somealias.
com"&persist=false
approveDebugSession
appInst,
debugPIN
n/a
/admin/
approveDebugSession?appNa
me="app1/
inst1"&debugPIN="1234"
broadcastMsg
scope,
method
arg0, arg1,
arg2 ...
/admin/
broadcastMsg?scope="App:my
App"&method="myMethod"&ar
g0="foo"&arg1="bar"
changePswd
username,
password
scope
/admin/
broadcastMsg?username="admi
n1"&password="nimda1"&scope
="_defaultRoot_/
foo.macromedia.com"
Summary of Contents for FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA...
Page 1: ...Managing Flash Media Server...
Page 6: ...6 Contents...
Page 10: ...10 About This Manual...