List all tags in use for the given projectId
ParametersExpand Collapse
List
import os
from scenario_sdk import Scenario
client = Scenario(
api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted
)
page = client.tags.list()
page = page.tags[0]
print(page.created_at){
"tags": [
{
"createdAt": "createdAt",
"itemCount": 0,
"ownerId": "ownerId",
"tagName": "tagName",
"updatedAt": "updatedAt"
}
],
"nextPaginationToken": "nextPaginationToken"
}Returns Examples
{
"tags": [
{
"createdAt": "createdAt",
"itemCount": 0,
"ownerId": "ownerId",
"tagName": "tagName",
"updatedAt": "updatedAt"
}
],
"nextPaginationToken": "nextPaginationToken"
}