Cron job

This endpoint is getting triggered by cron job every 5 minutes

URL :

/auto-publish

/auto-publish?pendingLimit=10

Method : GET

X-HMAC required : YES

Request Query Parameters :

  • pendingLimit optional

number

Status Codes

The endpoint will return the following status codes based on the operation outcome:

  • 204No content: The request was successful.
  • 400Bad Request: No data are published.
  • 500Internal Server Error: An error occurred on the server while processing the request.

Example Request

GET /auto-publish HTTP/1.1
Host: localhost:3000
X-HMAC: 5d41402abc4b2a76b9719d911017c592

Example Response

{
  "statusCode": 204,
  "message": "No content"
}