예제 #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)
예제 #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)
예제 #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)
예제 #4
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)
예제 #5
0
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)
예제 #6
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)
예제 #7
0
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)
예제 #8
0
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)
예제 #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)
예제 #10
0
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)
예제 #11
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)
예제 #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)
예제 #13
0
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)
예제 #14
0
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)
예제 #15
0
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)
예제 #16
0
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)
예제 #17
0
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)
예제 #18
0
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)
예제 #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)