Revision 8741c407 kamaki/clients/image/__init__.py

b/kamaki/clients/image/__init__.py
41 41
    def __init__(self, base_url, token):
42 42
        super(ImageClient, self).__init__(base_url, token)
43 43

  
44
    def test(self):
45
        """
46
        :param image_id: (str)
47

  
48
        :param member: (str) user to allow access to current user's images
49
        """
50
        path = path4url('images')
51
        data = dict(stuff='stuff')
52
        r = self.put(path, json=data, async_headers={'x-image-meta-name': 'lalakis'})
53
        r.release()
54

  
44 55
    def list_public(self, detail=False, filters={}, order=''):
45 56
        """
46 57
        :param detail: (bool)

Also available in: Unified diff