Bluestoneconnector v1.0

Version 1.0

Connector Overview: This page documents all 21 actions for the Bluestoneconnector v1.0.

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

headers

Additional HTTP header name/value pairs to include in the request.

Id

Filter attributes by a specific identifier.

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Categoryid

(Required)

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Name

Filter categories by name.

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Deep

Include nested child data when set to a positive integer.

Categoryid

(Required)

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Categoryid

Starting category identifier for the scan.

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

Contexts

GET lists currently available publications

/contexts

List all currently available publication contexts.

Parameters

Parameter Name

Description

headers

Additional HTTP header name/value pairs to include in the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Id

(Required)

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Id

(Required)

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Id

(Required)

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Difftype

Type of difference to retrieve (e.g., added, removed, changed).

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Id

(Required)

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

Health

GET Get Health

/health

A Health check for PAPI service.

Parameters

Parameter Name

Description

headers

Additional HTTP header name/value pairs to include in the request.

Response Type

The response format expected from the API (e.g. application/json).

Products (3)

POST Find Products

/products/list

Find products in PAPI

Parameters

Parameter Name

Description

Content Type

The content type of the request payload sent to the API (e.g. application/json).

headers

Additional HTTP header name/value pairs to include in the request.

Sort

Sort by name, number. Examples: sort ascending by number 'number', sort descending by name 'name:desc'

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

Options (9)

Option Name

Description

Ids

Filter products by their internal IDs.

Names

Filter products by their names.

Numbers

Filter products by their product numbers.

Labels

Filter products by assigned labels.

Categories

Filter products by their category assignments.

Attributes

Filter products by their attribute values.

Relations

Filter products by their related entities.

Producttypes

Filter products by their product type.

Bundles

Filter products that are part of specified bundles.

GET Get Product

/products/{id}

Get the product with given id

Parameters

Parameter Name

Description

headers

Additional HTTP header name/value pairs to include in the request.

Id

(Required)

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

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

headers

Additional HTTP header name/value pairs to include in the request.

Subcategories

Include products from subcategories of the given category when set to true.

Labels

Filter products by one or more labels.

Name

Filter categories by name.

Number

Filter products by a specific product number.

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Categoryid

(Required)

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

Relations

GET Get Relations

/relations

Describe the relations available in the system.

Parameters

Parameter Name

Description

headers

Additional HTTP header name/value pairs to include in the request.

Context

Context header for scoping the request.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

Syncs (2)

GET Retrieves a collection of publish info for given tenant.

/syncs

Retrieve a collection of publish information records for the current tenant, optionally filtered by context.

Parameters

Parameter Name

Description

headers

Additional HTTP header name/value pairs to include in the request.

Context

Filter the publish info collection by a specific context string.

Sort

Sort by createdAt. Examples: sort descending by createdAt 'createdAt:desc'

Publishstates

Filter by publish states passed as comma-separated, capital lettered strings with no whitespaces, ie: 'CLOSED,PUBLISH', or 'CLOSED'

Createdafter

Filter by "createdAt" field

Itemsonpage

Number of items to return per page.

Pageno

Page number to retrieve.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).

GET Retrieves the information about given PublishInfo environment.

/syncs/{id}

Retrieve detailed information about a specific publish info environment identified by its unique ID.

Parameters

Parameter Name

Description

headers

Additional HTTP header name/value pairs to include in the request.

Id

(Required) publish id.

Accept

Accept header for response format negotiation.

Response Type

The response format expected from the API (e.g. application/json).