Choose your language:
    List all site automatically generated tags
    Returns
    Returns an array of upload_smart_tag objects.

    Examples

    Example code:
    const SiteClient = require('datocms-client').SiteClient;
    const client = new SiteClient('YOUR-API-TOKEN');
    client.uploadSmartTags.all()
    .then((uploadSmartTags) => {
    uploadSmartTags.forEach((uploadSmartTag) => {
    console.log(uploadSmartTag);
    });
    })
    .catch((error) => {
    console.error(error);
    });
    Returned output:
    > node example.js
    {
    "id": "42",
    "name": "building"
    }