Exemple #1
0
def get_bundle_list(api_key, limit, offset, filters=None):
    """Return a list of bundles, paginated by @limit and @offset
    Filter by @collection or by providing a dictionary with filter name
    and value with @filters as described in the API documentation."""
    return _get_object_list(api_key,
                            "collectionbundle",
                            limit,
                            offset,
                            filters_dict=filters)
Exemple #2
0
def get_image_list(api_key, limit, offset, item=None, filters=None):
    """Return a list of images, paginated by @limit and @offset
    Filter by @item or by providing a dictionary with filter name
    and value with @filters as described in the API documentation."""
    return _get_object_list(api_key,
                            "image",
                            limit,
                            offset,
                            filter=item,
                            filters_dict=filters)
Exemple #3
0
def get_token_list(api_key, limit, offset, collection=None, filters=None):
    """Return a list of tokens, paginated by @limit and @offset.
    Filter by @collection or by providing a dictionary with filter name
    and value with @filters as described in the API documentation."""
    return _get_object_list(api_key,
                            "token",
                            limit,
                            offset,
                            filter=collection,
                            filters_dict=filters)
def get_version_list(api_key, limit, offset):
    """Return a list of SDK versions, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "version", limit, offset)
def get_collection_list(api_key, limit, offset):
    "Return a list of collections, paginated by @limit and @offset"
    return _get_object_list(api_key, "collection", limit, offset, filter=None)
def get_app_list(api_key, limit, offset):
    """Return a list of applications, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "app", limit, offset)
def get_token_list(api_key, limit, offset, collection=None):
    """Return a list of tokens, paginated by @limit and @offset.
    Filter by @collection"""
    return _get_object_list(api_key, "token", limit, offset, filter=collection)
def get_media_list(api_key, limit, offset):
    """Return a list of media objects, paginated by @limit and @offset"""
    return _get_object_list(api_key, "media", limit, offset)
Exemple #9
0
def get_bundle_list(api_key, limit, offset):
    """Return a list of bundles, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "collectionbundle", limit, offset)
def get_image_list(api_key, limit, offset, item=None):
    """Return a list of images, paginated by @limit and @offset
    Filter by @item"""
    return _get_object_list(api_key, "image", limit, offset, filter=item)
def get_bundle_list(api_key, limit, offset):
    """Return a list of bundles, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "collectionbundle", limit, offset)
Exemple #12
0
def get_version_list(api_key, limit, offset):
    """Return a list of SDK versions, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "version", limit, offset)
def get_item_list(api_key, limit, offset, collection=None):
    """Return a list of items, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "item", limit, offset, filter=collection)
def get_collection_list(api_key, limit, offset):
    "Return a list of collections, paginated by @limit and @offset"
    return _get_object_list(api_key, "collection", limit, offset, filter=None)
def get_media_list(api_key, limit, offset):
    """Return a list of media objects, paginated by @limit and @offset"""
    return _get_object_list(api_key, "media", limit, offset)
def get_token_list(api_key, limit, offset, collection=None):
    """Return a list of tokens, paginated by @limit and @offset.
    Filter by @collection"""
    return _get_object_list(api_key, "token", limit, offset, filter=collection)
def get_image_list(api_key, limit, offset, item=None):
    """Return a list of images, paginated by @limit and @offset
    Filter by @item"""
    return _get_object_list(api_key, "image", limit, offset, filter=item)
def get_item_list(api_key, limit, offset, collection=None):
    """Return a list of items, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "item", limit, offset, filter=collection)
Exemple #19
0
def get_app_list(api_key, limit, offset):
    """Return a list of applications, paginated by @limit and @offset
    Filter by @collection"""
    return _get_object_list(api_key, "app", limit, offset)