Revision ee041529

b/docs/developers/clients-api.rst
307 307
    IMAGE_CONTAINER = 'images'
308 308

  
309 309
    astakos = AstakosClient(AUTHENTICATION_URL, TOKEN)
310
    USER_UUID = astakos.user_info['uuid']
310
    USER_UUID = astakos.user_info['id']
311 311

  
312 312
    PITHOS_URL = astakos.get_service_endpoints('object-store')['publicURL']
313 313
    pithos = PithosClient(PITHOS_URL, TOKEN, USER_UUID, IMAGE_CONTAINER)
......
325 325
        except ClientError:
326 326
            print 'Failed to register image %s' % IMAGE_PATH
327 327

  
328
..note::
328
.. note::
329 329

  
330
    In plankton.register, the `location` argument can be either a triplet, as
331
    shown above, or a qualified URL of the form
332
    pithos://USER_UUID/IMAGE_CONTAINER/IMAGE_PATH
333
    which is the format used by the image API.
330
    In `plankton.register`, the `location` argument can be either `a triplet`,
331
    as shown above, or `a qualified URL` of the form
332
    ``pithos://USER_UUID/IMAGE_CONTAINER/IMAGE_PATH``.
334 333

  
335 334
Two servers and a private network
336 335
'''''''''''''''''''''''''''''''''

Also available in: Unified diff