Version 1
Connector Overview: This page documents all 21 actions for the Bluestoneconnector v1.
Attributes
GET Get Attributes
/attributes
Describe the attributes available in the system.
id - attribute id.
itemsOnPage - items to be displayed on page.
pageNo - page number to display.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Categories (4)
GET Get Ancestors
/categories/{categoryId}/ancestors
Describe categories associated with given category.
deep - deepness of sub categories to be retrieved. default 10.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Categories
/categories
Describe the root categories available in the system.
name - category contains a name
itemsOnPage - items to be displayed on page.
pageNo - page number to display.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Category By Id
/categories/{categoryId}
Describe categories associated with given category.
deep - deepness of sub categories to be retrieved. default 10.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Scan
/categories/scan
Get paginated flat list of categories: given category and its descendants.
CategoryId is optional, if not provided all catalogs are listed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Contexts
GET lists currently available publications
/contexts
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Differences (8)
GET Get Attribute Differences
/differences/attributes
Return a set of differences done during last sync operation.
diffType - filter returned values on difference type.
itemsOnPage - items to be displayed on page.
pageNo - page number to display.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Attribute Differences On Sync Deletes
/differences/sync/{id}/attributes
Return a set of changed attributes with given sync
id - sync id for which differences should be retrieved.
diffType - filter returned values on difference type.
itemsOnPage - amount of items to be retrieved.
pageNo - page number.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
GET Get Category Differences
/differences/categories
Return a set of changed categories during last publish
diffType - filter returned values on difference type.
itemsOnPage - amount of items to be retrieved.
pageNo - page number.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Category Differences On Sync Deletes
/differences/sync/{id}/categories
Return a set of differences done with a given sync.
id - sync id for which differences should be retrieved.
itemsOnPage - items to be displayed on page.
pageNo - page number to display.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
GET Get Product Differences
/differences/products
Return a set of differences done during last sync operation.
diffType - filter returned values on difference type.
itemsOnPage - items to be displayed on page.
pageNo - page number to display.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Product Differences On Sync Deletes
/differences/sync/{id}/products
Return a set of changed products with given sync
id - sync id for which differences should be retrieved.
diffType - filter returned values on difference type.
itemsOnPage - amount of items to be retrieved.
pageNo - page number.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
GET Get Relation Differences
/differences/relations
Return a set of differences done during last sync operation.
diffType - filter returned values on difference type.
itemsOnPage - items to be displayed on page.
pageNo - page number to display.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Relation Differences On Sync Deletes
/differences/sync/{id}/relations
Return a set of changed relations with given sync
id - sync id for which differences should be retrieved.
diffType - filter returned values on difference type.
itemsOnPage - amount of items to be retrieved.
pageNo - page number.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
Health
GET Get Health
/health
A Health check for PAPI service.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Products (3)
POST Find Products
/products/list
Find products in PAPI
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Sort by name, number. Examples: sort ascending by number 'number', sort descending by name 'name:desc' |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Options (9)
|
Option Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Product
/products/{id}
Get the product with given id
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Get Products
/categories/{categoryId}/products
Get a list of products for given category.
subCategories - default false. Set to true provides products for all sub categories.
withLabels - format "label1;label2" a set of labels products should contain.
name - part of the name contained by the product
itemsOnPage - items to be displayed on page.
pageNo - page number to display.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Relations
GET Get Relations
/relations
Describe the relations available in the system.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
Syncs (2)
GET Retrieves a collection of publish info for given tenant.
/syncs
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Sort by createdAt. Examples: sort descending by createdAt 'createdAt:desc' |
|
|
Filter by publish states passed as comma-separated, capital lettered strings with no whitespaces, ie: 'CLOSED,PUBLISH', or 'CLOSED' |
|
|
Filter by "createdAt" field |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET Retrieves the information about given PublishInfo environment.
/syncs/{id}
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
(Required) publish id. |
|
|
N/A |
|
|
N/A |