List all metadata templates
List all metadata templates
Metadata templates can be listed for either the enterprise or the global scope.
List global templates
To list all global metadata templates, call the GET /metadata_templates/global API endpoint.
curl -i -X GET "https://api.box.com/2.0/metadata_templates/global" \
-H "authorization: Bearer <ACCESS_TOKEN>"await client.metadataTemplates.getGlobalMetadataTemplates();client.metadata_templates.get_global_metadata_templates()await client.MetadataTemplates.GetGlobalMetadataTemplatesAsync();try await client.metadataTemplates.getGlobalMetadataTemplates()client.getMetadataTemplates().getGlobalMetadataTemplates()await client.MetadataTemplates.GetGlobalMetadataTemplatesAsync();await client.metadataTemplates.getGlobalMetadataTemplates();List current enterprise's templates
To list all metadata templates created for usage within the current
enterprise, call the GET /metadata_templates/enterprise API
endpoint.
curl -i -X GET "https://api.box.com/2.0/metadata_templates/enterprise" \
-H "authorization: Bearer <ACCESS_TOKEN>"await client.metadataTemplates.getEnterpriseMetadataTemplates();client.metadata_templates.get_enterprise_metadata_templates()await client.MetadataTemplates.GetEnterpriseMetadataTemplatesAsync();try await client.metadataTemplates.getEnterpriseMetadataTemplates()client.getMetadataTemplates().getEnterpriseMetadataTemplates()await client.MetadataTemplates.GetEnterpriseMetadataTemplatesAsync();await client.metadataTemplates.getEnterpriseMetadataTemplates();Pagination
This API uses marker-based pagination and can return a
next_marker value in the response body to indicate that more templates might
be available.