Skip to main content

validateICollectionMarker

Check for the existence of a text identifier (marker).

Description

It returns a Promise that resolves to an ICollectionIsValid object.

IntegrationCollections.validateICollectionMarker(

marker

);

Parameters schema

Schema

marker(required): string
Collection marker
example: "collection1"

Examples

Minimal example

const result = await IntegrationCollections.validateICollectionMarker('test_collection');

Example response

{
"valid": false
}

Response schema

Schema: ICollectionIsValid

valid: boolean
Valid marker object.
example: true