Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Return If CompareNotIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Return Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Call NameLoad NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Return Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Return Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Assign NameStore IfExp NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Return Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Return Return NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str
N/A N/A json cornice Service pyramid.security Everyone daybed.backends.exceptions RecordNotFound ModelNotFound daybed.schemas.validators RecordSchema record_validator validate_against_schema N/A records N/A Service name records path /models/{model_id}/records description Collection of records N/A record N/A Service name record path /models/{model_id}/records/{record_id} description Single record get_records N/A N/A request N/A N/A N/A Retrieves all model records. N/A model_id N/A N/A request matchdict N/A model_id N/A N/A N/A N/A N/A N/A request db get_model_definition model_id N/A N/A N/A ModelNotFound N/A N/A N/A N/A N/A request errors add path model_id model not found N/A N/A N/A request errors status 404 Not Found N/A N/A N/A read_all_records N/A request permissions N/A N/A results N/A N/A N/A request db get_records_with_authors model_id N/A results N/A N/A r N/A record N/A r results N/A N/A N/A set N/A request principals intersection N/A r N/A authors N/A N/A results N/A N/A N/A request db get_records model_id N/A N/A records results N/A N/A N/A records get permission get_records N/A N/A records get accept application/vnd.geo+json renderer geojson permission get_records post_record N/A N/A request N/A N/A N/A Saves a single model record.

    Posted record attributes will be matched against the related model
    definition.

     N/A N/A N/A N/A N/A request headers get Validate-Only false true N/A N/A N/A model_id N/A N/A request matchdict N/A model_id N/A N/A request credentials_id N/A N/A credentials_id N/A request credentials_id N/A N/A credentials_id Everyone N/A record_id N/A N/A N/A request db put_record model_id N/A request data_clean N/A credentials_id N/A N/A N/A request notify RecordCreated model_id record_id N/A created N/A %s/models/%s/records/%s N/A N/A request application_url model_id record_id N/A N/A N/A request response status 201 Created N/A N/A N/A N/A request response headers N/A location N/A str created N/A N/A id record_id N/A N/A N/A records post validators record_validator permission post_record delete_records N/A N/A request N/A N/A N/A Deletes all records of model. N/A model_id N/A N/A request matchdict N/A model_id N/A N/A N/A records N/A N/A N/A request db delete_records model_id N/A record records N/A N/A N/A N/A request notify RecordDeleted model_id N/A record N/A id N/A N/A N/A ModelNotFound N/A N/A N/A N/A N/A request errors add path model_id model not found N/A N/A N/A request errors status 404 Not Found N/A N/A N/A records records N/A N/A N/A records delete permission delete_records get N/A N/A request N/A N/A N/A Retrieves a singe record. N/A model_id N/A N/A request matchdict N/A model_id N/A record_id N/A N/A request matchdict N/A record_id N/A N/A N/A N/A N/A N/A request db get_record model_id record_id N/A N/A N/A RecordNotFound N/A N/A N/A N/A N/A request errors add path record_id record not found N/A N/A N/A request errors status 404 Not Found N/A N/A N/A record get permission get_record put N/A N/A request N/A N/A N/A Updates or creates a record. N/A N/A N/A N/A N/A request headers get Validate-Only false true N/A N/A N/A model_id N/A N/A request matchdict N/A model_id N/A record_id N/A N/A request matchdict N/A record_id N/A N/A N/A N/A N/A N/A request db get_record model_id record_id N/A create True N/A N/A N/A RecordNotFound N/A N/A create False N/A N/A request credentials_id N/A N/A credentials_id N/A request credentials_id N/A N/A credentials_id Everyone N/A record_id N/A N/A N/A request db put_record model_id N/A request data_clean N/A credentials_id record_id record_id N/A event N/A create RecordCreated RecordUpdated N/A N/A N/A request notify event model_id record_id N/A N/A id record_id N/A N/A N/A record put validators record_validator permission put_record patch N/A N/A request N/A N/A N/A Updates an existing record. N/A model_id N/A N/A request matchdict N/A model_id N/A record_id N/A N/A request matchdict N/A record_id N/A N/A request credentials_id N/A N/A credentials_id N/A request credentials_id N/A N/A credentials_id Everyone N/A N/A N/A record N/A N/A N/A request db get_record model_id record_id N/A N/A N/A RecordNotFound N/A N/A N/A N/A N/A request errors add path record_id record not found N/A N/A N/A request errors status 404 Not Found N/A N/A N/A N/A record update N/A N/A json loads N/A N/A N/A request body decode utf-8 N/A definition N/A N/A N/A request db get_model_definition model_id N/A N/A validate_against_schema request N/A RecordSchema definition record N/A N/A N/A request errors N/A N/A N/A N/A N/A request db put_record model_id record N/A credentials_id record_id N/A N/A N/A request notify RecordUpdated model_id record_id N/A N/A id record_id N/A N/A N/A record patch permission patch_record delete N/A N/A request N/A N/A N/A Deletes a record. N/A model_id N/A N/A request matchdict N/A model_id N/A record_id N/A N/A request matchdict N/A record_id N/A N/A N/A deleted N/A N/A N/A request db delete_record model_id record_id N/A N/A N/A request notify RecordDeleted model_id record_id N/A N/A N/A RecordNotFound N/A N/A N/A N/A N/A request errors add path record_id record not found N/A N/A N/A request errors status 404 Not Found N/A N/A deleted N/A N/A N/A record delete permission delete_record