Xcapclient » History » Version 1
Adrian Georgescu, 10/26/2008 01:55 PM
| 1 | 1 | Adrian Georgescu | == xcapclient == |
|---|---|---|---|
| 2 | |||
| 3 | To use this script you must to have a valid [wiki:configuration_file configuration file]. |
||
| 4 | |||
| 5 | |||
| 6 | === Description === |
||
| 7 | |||
| 8 | |||
| 9 | {{{ |
||
| 10 | adigeo@ag-imac3:~$xcapclient -h |
||
| 11 | |||
| 12 | xcapclient: Client for managing full or partial XML documents on XCAP servers (RFC 4825) |
||
| 13 | xcapclient [OPTIONS] --app AUID ACTION [NODE-SELECTOR] |
||
| 14 | |||
| 15 | ACTION is an operation to perform: get, replace, insert, put or delete. |
||
| 16 | Presence of NODE-SELECTOR indicates that action is to be performed on an |
||
| 17 | element or an attribute. |
||
| 18 | |||
| 19 | Options: |
||
| 20 | -h, --help show this help message and exit |
||
| 21 | -a NAME, --account-name=NAME |
||
| 22 | the account name from which to read account settings. |
||
| 23 | Corresponds to section Account_NAME in the |
||
| 24 | configuration file. If not supplied, the section |
||
| 25 | [Account] will be read. |
||
| 26 | --show-config show options from the configuration file; use |
||
| 27 | together with --account-name |
||
| 28 | --xcap-root=XCAP_ROOT XCAP root, e.g. https://xcap.example.com/xcap-root |
||
| 29 | --sip-address=SIP_ADDRESS |
||
| 30 | SIP address of the user in the form username@domain |
||
| 31 | -p PASSWORD, --password=PASSWORD |
||
| 32 | password to use if authentication is required. If not |
||
| 33 | supplied will be asked interactively |
||
| 34 | --app=AUID Application Unique ID. There's no default value; |
||
| 35 | however, it may be guessed from NODE-SELECTOR or from |
||
| 36 | the input file. Known apps: watchers, pidf- |
||
| 37 | manipulation, rls-services, resource-lists, xcap- |
||
| 38 | caps, pres-rules, test-app |
||
| 39 | --filename=FILENAME |
||
| 40 | -c CONTEXT, --context=CONTEXT |
||
| 41 | document context, users or global; default is users |
||
| 42 | for everything except xcap-caps |
||
| 43 | --etag=ETAG perform a conditional operation |
||
| 44 | -i INPUT_FILENAME source file for the PUT request; default is <stdin> |
||
| 45 | -o OUTPUT_FILENAME output file for the body of the server response |
||
| 46 | (successful or not); default is <stdout> |
||
| 47 | -d, --dump print HTTP traffic to stderr |
||
| 48 | }}} |