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
27
Id
59af03d025d98518a8000355
Created at
September 05, 2017 20:06
Updated at
October 31, 2017 15:27

Compute

Translators
NamespaceNameTypeStyleMime typeFile extensionUpdated at
Spree HookAdmin / ConfigExporthtml.erbtext/htmlhtmlSeptember 05, 2017 19:49
Spree HookAdmin / IndexExporthtml.erbtext/htmlhtmlSeptember 05, 2017 19:49
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 - -
1 Applications
Snippets
NamespaceNameTypeDescriptionCode
Spree Hookadmin_app.rbRuby -
Spree HookAdmin_Config.html.erbPlain text -
Spree HookAdmin_Index.html.erbPlain text -
Spree Hookconfigure.rbRuby -
Spree Hookrun.rbRuby -
Spree Hookprocess.rbRuby -
Spree Hooktest.rbRuby -
Spree HookModelConfig.jsonJavaScript -
Spree Hookprocess_event.rbRuby -
Spree Hookimport_resource.rbRuby -
Spree HookProduct_Parser.rbRuby -
Spree HookCode.jsonJavaScript -
Spree Hookgenerate_code_token.rbRuby -
Spree Hookcheck_hooks.rbRuby -
Spree Hookpull_resource.rbRuby -
Spree Hookpull_products.rbRuby -
Spree Hookpull_orders.rbRuby -
Spree HookTask.jsonJavaScript -
Spree Hookrender_config.rbRuby -
Spree HookProduct.jsonJavaScript -
Spree HookOrder.jsonJavaScript -
Spree Hookcheck_default_model_configs.rbRuby -
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/v1zmxzGq7CC_ZzmURiXiEvSeptember 05, 2017 19:49
1 Connections
Resources
NamespaceNamePathDescriptionOperationsUpdated at
Spree HookAPI Resources/{{resource_slug}}Lists or creates a generic resource.Spree Hook | API Resources [Shared] | GET [Shared]October 31, 2017 15:27
Spree HookAPI Resource/{{resource_slug}}/{{resource_id}}Manage a generic resource given its API slug and ID.Spree Hook | API Resource [Shared] | GET [Shared]October 31, 2017 15:27
Spree HookEvents/eventsList or creates observer events.Spree Hook | Events [Shared] | GET [Shared] and Spree Hook | Events [Shared] | POST [Shared]October 31, 2017 15:27
Spree HookWeb Hooks/web_hooksList or create web-hooks.Spree Hook | Web Hooks [Shared] | GET [Shared] and Spree Hook | Web Hooks [Shared] | POST [Shared]October 31, 2017 15:27
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]October 31, 2017 15:27
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 HookModelConfigmodel_configJson Data Type0 BytesSeptember 05, 2017 19:49
Spree HookCodecodeJson Data Type0 BytesSeptember 05, 2017 19:49
Spree HookTasktaskJson Data Type0 BytesSeptember 05, 2017 19:49
Spree HookProductproductJson Data Type0 BytesSeptember 05, 2017 19:49
Spree HookOrderorderJson Data Type0 BytesSeptember 05, 2017 19:49
SetupDataTypedata_typeCenit Data Type0 BytesNovember 03, 2017 17:18
SetupParserparserCenit Data Type754 BytesNovember 03, 2017 17:18
7 Data Types

Security

OAuth Providers
NamespaceNameTypeResponse typeAuthorization endpointToken endpointToken methodUpdated at
CenitOAuthOauth 2 Providercodehttps://cenit.io/oauth/authorizehttps://cenit.io/oauth/tokenPOSTOctober 31, 2017 17:58
1 Providers

Config

Namespaces
NameSlugUpdated at
Spree Hookspree_hook -
SetupsetupAugust 16, 2016 23:38
CenitcenitAugust 26, 2016 14:06
3 Namespaces

Metadata