Endpoints' Overview

Endpoints' Overview

https://api.worldota.net/api/b2b/v3/overview/

The call gets the list of the ETG API endpoints to which your API key has permission.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/overview/'

Response

endpoint String
The endpoint URI.
is_active Boolean
Whether the endpoint is active or not.
is_debug_mode Boolean
Whether the debug mode is available or not.
is_limited Boolean
Whether the endpoint has a limit for the request in seconds or not.
requests_number Int
The maximum number of requests that can be executed within seconds specified in the seconds_number field.
seconds_number Int
The number of seconds within the request can be executed. Shouldn’t exceed the value of the requests_number field.

Response example

{
  "data": [
    {
      "endpoint": "api/b2b/v3/hotel/incremental_reviews/dump/",
      "is_active": true,
      "is_debug_mode": false,
      "is_limited": true,
      "requests_number": 100,
      "seconds_number": 86400
    },
    {
      "endpoint": "api/b2b/v3/general/contract/data/info/",
      "is_active": true,
      "is_debug_mode": false,
      "is_limited": true,
      "requests_number": 30,
      "seconds_number": 60
    },
    {
      "endpoint": "api/b2b/v3/ordergroup/create/",
      "is_active": true,
      "is_debug_mode": false,
      "is_limited": true,
      "requests_number": 30,
      "seconds_number": 60
    },
    {
      "endpoint": "api/b2b/v3/ordergroup/order/add/",
      "is_active": true,
      "is_debug_mode": false,
      "is_limited": true,
      "requests_number": 30,
      "seconds_number": 60
    },
    {
      "endpoint": "api/b2b/v3/ordergroup/order/remove/",
      "is_active": true,
      "is_debug_mode": false,
      "is_limited": true,
      "requests_number": 30,
      "seconds_number": 60
    },
    {
      "endpoint": "api/b2b/v3/ordergroup/disband/",
      "is_active": true,
      "is_debug_mode": false,
      "is_limited": true,
      "requests_number": 30,
      "seconds_number": 60
    },
    {
      "endpoint": "api/b2b/v3/ordergroup/info/",
      "is_active": true,
      "is_debug_mode": false,
      "is_limited": true,
      "requests_number": 30,
      "seconds_number": 60
    }
  ],
  "debug": null,
  "error": null,
  "status": "ok"
}