On Each file I see classification label from the web interface. But it doesn't list it through API call. How do I access this tag through python sdk ? Also how do I list all the classification labels ?
I only get these tags from the API call
type
id
file_version
sequence_id
etag
sha1
name
description
size
path_collection
created_at
modified_at
trashed_at
purged_at
content_created_at
content_modified_at
created_by
modified_by
owned_by
shared_link
parent
item_status
Here is the code
sdk = JWTAuth(
client_id="super secret client id",
client_secret="super secret",
enterprise_id="enterprise_id",
jwt_key_id="key_id",
rsa_private_key_file_sys_path="private.pem",
)
client = Client(sdk)
user = client.user(user_id=***phone number removed for privacy***')
for item in (client.as_user(user).file(file_id=***number removed for privacy***111).get()):
print(item)