Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

API hreflang generation

Start process

Request

POST https://www.websale.de/api/hreflangCollection/start

Content-Type

application/json

Authorization token

requires

Response

Returns an empty JSON object if successful.

Get process status

Request

GET https://www.websale.de/api/hreflangCollection/state

Content-Type

application/json

Authorization token

requires

Response

Returns a JSON object with the following structure if successful:

Field

Type

Description

result

String

Possible values:

  • "Program running": more detailed information follows, when the process was started and in which stage the process is (collecting the information about the subshop groupings, collecting the data for subshop group x, writing the data into the database for subshop group x)

  • "Last call...": Indication whether call was successful or not. In case of success, the duration of the last run is indicated, as well as any errors in the processing of the data, caused, among other things, by the category mapping file. In case of error, indication of the reason.

  • No labels