Update an existing conpherence room.
Conduit conpherence.updatethread
conpherence.updatethread
conpherence.updatethread
API Method: conpherence.updatethread
API Method: conpherence.updatethread
Login Required: This method requires authentication. You must log in before you can make calls to it.
- Stability
- Frozen Method: This method is frozen and will eventually be deprecated. New code should use "conpherence.edit" instead.
- Returns
- bool
- Errors
- ERR_USAGE_NO_ROOM_ID: You must specify a room ID or room PHID to query transactions from.
- ERR_USAGE_ROOM_NOT_FOUND: Room does not exist or logged in user can not see it.
- ERR_USAGE_ONLY_SELF_REMOVE: Only a user can remove themselves from a room.
- ERR_USAGE_NO_UPDATES: You must specify data that actually updates the Conpherence.
- ERR-CONDUIT-CORE: See error message for details.
- OAuth Scope
- OAuth clients may never call this method.
Description
Call Method
Call Method
Examples
Examples
- Use the Conduit API Tokens panel in Settings to generate or manage API tokens.
- If you submit parameters, these examples will update to show exactly how to encode the parameters you submit.
$ echo <json-parameters> | arc call-conduit --conduit-uri https://forge.softwareheritage.org/ --conduit-token <conduit-token> -- conpherence.updatethread
$ curl https://forge.softwareheritage.org/api/conpherence.updatethread \
-d api.token=api-token \
-d param=value \
...
-d api.token=api-token \
-d param=value \
...
<?php
require_once 'path/to/libphutil/src/__phutil_library_init__.php';
$api_token = "<api-token>";
$api_parameters = array(<parameters>);
$client = new ConduitClient('https://forge.softwareheritage.org/');
$client->setConduitToken($api_token);
$result = $client->callMethodSynchronous('conpherence.updatethread', $api_parameters);
print_r($result);