Skip to content
This page View Markdown Open in ChatGPT Open in Claude

Third party API settings

Deprecated : removed in API Maker v4

Third party APIs and the store are deprecated. See Third party APIs.

Two levels : the settings of a version of a bundle (with caching) and the settings of one API of it.

Page API Info → Third Party API (under Deprecated Features) → the version or the API → Add Third party API settings.
Types T.ITPApiSettingsTypes for a version, T.ITPApiSettingsTypesAPILevel for one API.
Settings of a version
import * as T from 'types';

let thirdPartyApiSetting: T.ITPApiSettingsTypes = {
    enableCaching: false,
    resetCacheOnModificationOf: [
        // 'DB:instance_name:database_name:collection',   // a write to this table resets the cache
        // 'TP:api_bundle_name:api_version',              // a data changing API of this version resets it
        // 'CA:custom_api_name',                          // a call of this custom API resets it
    ],
    apiAccessType: T.EAPIAccessType.TOKEN_ACCESS,
    acceptOnlyEncryptedData: false,
    // authProviders: ['users_tg'],
};
module.exports = thirdPartyApiSetting;

  • The keys mean the same as in the custom API settings. The API level settings have apiAccessType, acceptOnlyEncryptedData and authProviders.