Skip to content

Instantly share code, notes, and snippets.

@shurup14
Created July 12, 2017 06:45
Show Gist options
  • Save shurup14/d5571d0aa4b3431943588b92bb7f87b2 to your computer and use it in GitHub Desktop.
Save shurup14/d5571d0aa4b3431943588b92bb7f87b2 to your computer and use it in GitHub Desktop.
exporter
#wrokflow doc
{
"_id": "63761a9646ecc443c460069a5006b44b",
"_rev": "11-11813e6bff59bf0056bbc545dc2df3e0",
"type": "workflow",
"background": true,
"paginated": false,
"zip": true,
"steps": [
{
"doc_id": "63761a9646ecc443c460069a5006a63b",
"order": 0
},
{
"doc_id": "63761a9646ecc443c460069a5006997b",
"order": 1
}
],
"name": "export",
"org_id": "515a689a-375f-4f11-b286-a330dbc3c70a"
}
system-query
{
"_id": "63761a9646ecc443c460069a5006a63b",
"_rev": "5-0a196d6b669d2f5d3e17ec440816a371",
"type": "system_query",
"query": "",
"org_id": "515a689a-375f-4f11-b286-a330dbc3c70a",
"exclude_for": {
"system.authenticated_user": "doc_data.hidden"
}
}
export doc
{
"_id": "63761a9646ecc443c460069a5006997b",
"_rev": "3-6c7d6b1e3fc3068df31f5e5a9d6fa4cf",
"type": "exporter",
"name": "any_name",
"export_mapper": "63761a9646ecc443c460069a500621d7",
"public": true,
"format": "json",
"zip": true,
"org_id": "515a689a-375f-4f11-b286-a330dbc3c70a"
}
export map
{
"_id": "63761a9646ecc443c460069a500621d7",
"_rev": "2-b662a0d3fcb9c057d0e0dc28334c7088",
"type": "export_map",
"name": "sample export mapper",
"map": {
"name": "name",
"sku": "sku",
"categories": "categories_direct[]&categories:nested[]",
"cat_sub": "classify:categories[]",
"img": "img",
"aws_classifiers:cat:master": "classify:categories[]&catalog",
"catalog": "classify:catalog",
"identifier": "identifier",
"cat_main": "classify:categories[]"
},
"org_id": "515a689a-375f-4f11-b286-a330dbc3c70a"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment