Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BoolOpAnd CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict If CompareIn NameLoad NameLoad body Return Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword BinOpMod Str NameLoad keyword Str keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Str body Return Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict If CompareIn NameLoad NameLoad body Return Assign NameStore BoolOpAnd CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Assign NameStore Dict Str Str Str BinOpMod Str NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call NameLoad NameLoad Dict Str Str Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad SubscriptLoad NameLoad Index Str body Raise Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Dict Str Str Str AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore CompareLt AttributeLoad NameLoad attr Num If BoolOpOr CompareEq AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str decorator_list
N/A N/A uuid N/A six pyramid httpexceptions pyramid.settings asbool pyramid.security NO_PERMISSION_REQUIRED Authenticated cliquet.errors raise_invalid cliquet.events ACTIONS cliquet.utils build_request reapply_cors hmac_digest cliquet.storage exceptions storage_exceptions kinto.authorization RouteFactory kinto.views.buckets Bucket kinto.views.collections Collection create_bucket N/A N/A request bucket_id N/A N/A N/A Create a bucket if it doesn't exists. N/A bucket_put N/A N/A N/A N/A N/A request method lower put N/A N/A N/A request path endswith buckets/default N/A bucket_put N/A N/A N/A already_created N/A N/A N/A request bound_data setdefault buckets N/A N/A N/A bucket_id already_created N/A N/A N/A bucket N/A resource_create_object request request resource_cls Bucket uri N/A /buckets/%s bucket_id resource_name bucket obj_id bucket_id N/A N/A already_created N/A bucket_id bucket N/A create_collection N/A N/A request bucket_id N/A N/A N/A subpath N/A N/A N/A request matchdict get subpath N/A N/A N/A subpath N/A N/A subpath startswith collections/ N/A N/A N/A collection_id N/A N/A N/A subpath split / N/A 1 N/A collection_uri N/A /buckets/%s/collections/%s N/A bucket_id collection_id N/A already_created N/A N/A N/A request bound_data setdefault collections N/A N/A N/A collection_uri already_created N/A N/A N/A collection_put N/A N/A N/A N/A N/A request method lower put N/A N/A N/A request path endswith collection_id N/A collection_put N/A N/A N/A backup_matchdict N/A request matchdict N/A N/A request matchdict N/A dict bucket_id bucket_id id collection_id N/A request matchdict N/A collection N/A resource_create_object request request resource_cls Collection uri collection_uri resource_name collection obj_id collection_id N/A N/A already_created N/A collection_uri collection N/A N/A request matchdict backup_matchdict N/A resource_create_object N/A N/A request resource_cls uri resource_name obj_id N/A N/A N/A In the default bucket, the bucket and collection are implicitly
    created. This helper instantiate the resource and simulate a request
    with its RootFactory on the instantiated resource.
    :returns: the created object
    :rtype: dict
     N/A context N/A RouteFactory request N/A N/A context get_permission_object_id N/A N/A N/A r i N/A uri N/A resource N/A resource_cls request context N/A N/A N/A N/A N/A N/A resource model id_generator match obj_id N/A N/A error_details N/A location description path N/A Invalid %s id resource_name N/A N/A raise_invalid N/A resource request error_details N/A data N/A id obj_id N/A N/A N/A obj N/A N/A N/A resource model create_record data N/A N/A N/A resource request current_resource_name resource_name N/A N/A N/A resource postprocess data action N/A ACTIONS CREATE N/A N/A N/A N/A storage_exceptions UnicityError N/A e N/A N/A obj N/A e record N/A obj N/A default_bucket N/A N/A request N/A N/A N/A N/A N/A N/A N/A request method lower options N/A N/A path N/A N/A N/A request path replace default unknown N/A subrequest N/A build_request request N/A method path OPTIONS path N/A N/A N/A request invoke_subrequest subrequest N/A N/A Authenticated N/A request effective_principals N/A N/A N/A N/A httpexceptions HTTPForbidden N/A settings N/A N/A request registry settings N/A N/A asbool N/A settings N/A readonly N/A N/A N/A N/A httpexceptions HTTPMethodNotAllowed N/A bucket_id N/A request default_bucket_id N/A path N/A N/A N/A request path replace /buckets/default N/A /buckets/%s bucket_id N/A querystring N/A N/A request url N/A N/A N/A N/A N/A request url index N/A request path N/A len N/A request path N/A N/A create_bucket request bucket_id N/A N/A create_collection request bucket_id N/A subrequest N/A build_request request N/A method path body N/A request method N/A path querystring N/A request body N/A N/A subrequest bound_data N/A request bound_data N/A N/A N/A response N/A N/A request invoke_subrequest subrequest N/A N/A N/A N/A httpexceptions HTTPException N/A error N/A N/A is_redirect N/A N/A error status_code 400 N/A N/A N/A N/A error content_type application/json is_redirect N/A N/A response N/A reapply_cors subrequest error N/A N/A error N/A response N/A default_bucket_id N/A N/A request N/A N/A N/A settings N/A N/A request registry settings N/A secret N/A settings N/A userid_hmac_secret N/A digest N/A hmac_digest secret N/A request prefixed_userid N/A N/A N/A six text_type N/A N/A uuid UUID N/A digest N/A 32 N/A get_user_info N/A N/A request N/A N/A N/A user_info N/A id bucket N/A request prefixed_userid N/A request default_bucket_id N/A user_info N/A includeme N/A N/A config N/A N/A N/A N/A N/A config add_view default_bucket route_name default_bucket permission NO_PERMISSION_REQUIRED N/A N/A N/A config add_view default_bucket route_name default_bucket_collection permission NO_PERMISSION_REQUIRED N/A N/A N/A config add_route default_bucket_collection /buckets/default/{subpath:.*} N/A N/A N/A config add_route default_bucket /buckets/default N/A N/A N/A config add_request_method default_bucket_id reify True N/A N/A N/A config add_request_method get_user_info N/A N/A N/A config add_api_capability default_bucket description The default bucket is an alias for a personal bucket where collections are created implicitly. url http://kinto.readthedocs.io/en/latest/api/1.x/buckets.html#personal-bucket-default N/A