Loading...
Cross shared collection | Cenit Admin

Basic info

Title
Spree Hook
Image
Thumb spree logo
Name
spree_hook
Tags
Summary
Hooks on a Spree platform to synchronize records such as products and orders with Cenit.
Readme

Hook on Spree

The Spree Hook is a collection with preconfigured tasks to pull records from your Spree platform. Records pulls can be schedule to be executed periodically but only the new updated records are hooked. If your Spree API supports Hooks then the records sincronization is done en real-time.

Quick Start

Pull the Spree Hook Collection to configure the access to your Spree platform by providing a key to access your API.

Once you pull the collection you will can play an app to create and schedule your synchronization tasks.

Categories
IdTitleDescriptionUpdated at
ecommerceeCommerceFacilitation of trading in products or services using computer networksDecember 01, 2016 17:06
1 Categories
Authors
Name
Cenit Team
1 Cross collection authors
Pull count
30
Id
59af03d025d98518a8000355
Created at
September 05, 2017 20:06
Updated at
September 10, 2019 03:14

Compute

Translators
NamespaceNameTypeUpdated at
Spree HookAdmin / ConfigExportJuly 02, 2019 19:16
Spree HookAdmin / IndexExportJuly 02, 2019 19:16
2 Transformations
Algorithms
NamespaceNameDescriptionLanguageTagsUpdated at
Spree Hookadmin_appLogic for the Spree Hook Admin actionRuby
September 05, 2017 19:49
Spree Hookconfig_admin_appLogic for configuring the API ConnectionRuby
September 05, 2017 19:49
Spree HookrunRemote algorithm execution actionRuby
September 05, 2017 19:49
Spree HookprocessRemote flow processing actionRuby
September 05, 2017 19:49
Spree Hookprocess_eventLogic for the event processing action. Ruby
September 05, 2017 19:49
Spree Hookimport_resourceImports a resource given a data type, a parser an the resource IDRuby
September 05, 2017 19:49
Spree Hookgenerate_code_tokenGenerates a token for Code record.Ruby
September 05, 2017 19:49
Spree Hookinstall_hookInstall a single hook listening on model changes through updates triggers events. Model names are extracted from the Model Config data type.Ruby
September 05, 2017 19:49
Spree Hookpull_resourcePulls records given a configured model name.Ruby
September 05, 2017 19:49
Spree Hookpull_productsPulls products records using the Product model configuration. Only the products records updated after the last pull time-stamps are pulled.Ruby
September 05, 2017 19:49
Spree Hookpull_ordersPulls orders records using the Order model configuration. Only the orders records updated after the last pull time-stamps are pulled.Ruby
September 05, 2017 19:49
Spree Hookrender_configRender the configuration formRuby
September 05, 2017 19:49
Spree Hookcheck_default_models_configsChecks defaults model configs and create the ones doesn't existingRuby
September 05, 2017 19:49
13 Algorithms
Applications
NamespaceNameSlugRegisteredActionsApplication parametersUpdated at
Spree HookAdmin - get '/', post '/config', and get '/run/:id'admin_algorithms, admin_flows, and code_type -
1 Applications
Snippets
NamespaceNameTypeDescriptionUpdated at
Spree Hookadmin_app.rbRuby - July 11, 2019 06:27
Spree HookAdmin_Config.html.erbPlain text - July 11, 2019 06:27
Spree HookAdmin_Index.html.erbPlain text - July 11, 2019 06:23
Spree Hookconfigure.rbRuby - July 02, 2019 19:16
Spree Hookrun.rbRuby - July 02, 2019 19:16
Spree Hookprocess.rbRuby - July 02, 2019 19:16
Spree Hooktest.rbRuby - July 02, 2019 19:16
Spree HookModelConfig.jsonJavaScript - September 10, 2019 02:37
Spree Hookprocess_event.rbRuby - July 02, 2019 19:16
Spree Hookimport_resource.rbRuby - July 02, 2019 19:16
Spree HookProduct_Parser.rbRuby - July 02, 2019 19:16
Spree HookCode.jsonJavaScript - July 02, 2019 19:16
Spree Hookgenerate_code_token.rbRuby - July 02, 2019 19:16
Spree Hookcheck_hooks.rbRuby - July 02, 2019 19:16
Spree Hookpull_resource.rbRuby - July 02, 2019 19:16
Spree Hookpull_products.rbRuby - July 02, 2019 19:16
Spree Hookpull_orders.rbRuby - July 02, 2019 19:16
Spree HookTask.jsonJavaScript - July 02, 2019 19:16
Spree Hookrender_config.rbRuby - July 11, 2019 06:35
Spree HookProduct.jsonJavaScript - July 02, 2019 19:16
Spree HookOrder.jsonJavaScript - July 02, 2019 19:16
Spree Hookcheck_default_model_configs.rbRuby - July 02, 2019 19:16
22 Snippets

Workflows

Events
NamespaceNameTypeUpdated at
Spree HookEvery 10minScheduler -
Spree HookEvery 15minScheduler -
Spree HookEvery 20minScheduler -
Spree HookEvery 30minScheduler -
Spree HookEvery 1hScheduler -
5 Events

Connectors

Connections
NamespaceNameUrlKeyTokenAuthorizationUpdated at
Spree HookAPI Connection{{url}}/api/v1July 02, 2019 19:17
1 Connections
Resources
NamespaceNamePathDescriptionOperationsUpdated at
Spree HookAPI Resources/{{resource_slug}}Lists or creates a generic resource.Spree Hook | API Resources [Shared] | GET [Shared]September 10, 2019 03:14
Spree HookAPI Resource/{{resource_slug}}/{{resource_id}}Manage a generic resource given its API slug and ID.Spree Hook | API Resource [Shared] | GET [Shared]September 10, 2019 03:14
Spree HookEvents/eventsList or creates observer events.Spree Hook | Events [Shared] | GET [Shared] and Spree Hook | Events [Shared] | POST [Shared]September 10, 2019 03:14
Spree HookWeb Hooks/web_hooksList or create web-hooks.Spree Hook | Web Hooks [Shared] | GET [Shared] and Spree Hook | Web Hooks [Shared] | POST [Shared]September 10, 2019 03:14
Spree HookWeb Hooks {id}/web_hooks/{{id}}Manage a web-hook by its ID.Spree Hook | Web Hooks {id} [Shared] | GET [Shared], Spree Hook | Web Hooks {id} [Shared] | PUT [Shared], and Spree Hook | Web Hooks {id} [Shared] | DELETE [Shared]September 10, 2019 03:14
5 Resources
Operations
ResourceMethodDescriptionParameters
Spree Hook | API Resources [Shared]getList API resources
Spree Hook | API Resource [Shared]getGets the resource details.
Spree Hook | Events [Shared]getList observers events.
Spree Hook | Events [Shared]postCreate an observer event.
Spree Hook | Web Hooks [Shared]getList web-hooks.
Spree Hook | Web Hooks [Shared]postCreate a web-hook.
Spree Hook | Web Hooks {id} [Shared]getShow web-hook details.
Spree Hook | Web Hooks {id} [Shared]putUpdate the web-hook.
Spree Hook | Web Hooks {id} [Shared]deleteDeletes the web-hook.
9 Operations

Data

Data Types
NamespaceNameSlugTypeStorage sizeUpdated at
Spree HookModelConfig - Json Data Type0 BytesSeptember 10, 2019 03:14
Spree HookCode - Json Data Type0 BytesSeptember 10, 2019 03:14
Spree HookTask - Json Data Type0 BytesSeptember 10, 2019 03:14
Spree HookProduct - Json Data Type0 BytesSeptember 10, 2019 03:14
Spree HookOrder - Json Data Type0 BytesSeptember 10, 2019 03:14
5 Data Types

Security

OAuth Providers
NamespaceNameTypeAuthorization endpoint
CenitOAuthOauth 2 Providerhttps://cenit.io/oauth/authorize
1 Providers

Config

Namespaces
NameSlugUpdated at
Spree Hookspree_hook -
Cenitcenit -
2 Namespaces

Metadata