Xcapclient » History » Revision 1
Revision 1/22
| Next »
Adrian Georgescu, 10/26/2008 01:55 PM
To use this script you must to have a valid [wiki:configuration_file configuration file].
=== Description ===
{{{
adigeo@ag-imac3:~$xcapclient -h
xcapclient: Client for managing full or partial XML documents on XCAP servers (RFC 4825)
xcapclient [OPTIONS] --app AUID ACTION [NODE-SELECTOR]
ACTION is an operation to perform: get, replace, insert, put or delete.
Presence of NODE-SELECTOR indicates that action is to be performed on an
element or an attribute.
Options:
h, --help show this help message and exit
-a NAME, --account-name=NAME
the account name from which to read account settings.
Corresponds to section Account_NAME in the
configuration file. If not supplied, the section
[Account] will be read.
--show-config show options from the configuration file; use
together with --account-name
--xcap-root=XCAP_ROOT XCAP root, e.g. https://xcap.example.com/xcap-root
--sip-address=SIP_ADDRESS
SIP address of the user in the form username@domain
-p PASSWORD, --password=PASSWORD
password to use if authentication is required. If not
supplied will be asked interactively
--app=AUID Application Unique ID. There's no default value;
however, it may be guessed from NODE-SELECTOR or from
the input file. Known apps: watchers, pidf
manipulation, rls-services, resource-lists, xcap-
caps, pres-rules, test-app
--filename=FILENAME
-c CONTEXT, --context=CONTEXT
document context, users or global; default is users
for everything except xcap-caps
--etag=ETAG perform a conditional operation
-i INPUT_FILENAME source file for the PUT request; default is <stdin>
-o OUTPUT_FILENAME output file for the body of the server response
(successful or not); default is <stdout>
-d, --dump print HTTP traffic to stderr
}}}
Updated by Adrian Georgescu about 16 years ago · 1 revisions