curl --request GET \
--url http://localhost:3001/portal-api/tags/{tag_id} \
--header 'Authorization: <api-key>'{
"ID": 1,
"Name": "monetization",
"Posts": [
{
"ID": 1,
"Title": "How to write a blog post",
"Lede": "<string>",
"Status": "published",
"Path": "ten-tips-for-gaining-advantage",
"AuthorID": 1
}
],
"Products": [
{
"ID": 1,
"Name": "public_product",
"DisplayName": "<string>",
"Path": "public_product-1",
"ReferenceID": "61a89e5b5146370001de74d4",
"Feature": false,
"DCREnabled": false,
"ProviderID": 1
}
]
}Get a tag
curl --request GET \
--url http://localhost:3001/portal-api/tags/{tag_id} \
--header 'Authorization: <api-key>'{
"ID": 1,
"Name": "monetization",
"Posts": [
{
"ID": 1,
"Title": "How to write a blog post",
"Lede": "<string>",
"Status": "published",
"Path": "ten-tips-for-gaining-advantage",
"AuthorID": 1
}
],
"Products": [
{
"ID": 1,
"Name": "public_product",
"DisplayName": "<string>",
"Path": "public_product-1",
"ReferenceID": "61a89e5b5146370001de74d4",
"Feature": false,
"DCREnabled": false,
"ProviderID": 1
}
]
}UID of a tag
1
OK
Unique identifier for the tag
1
Name of the tag
"monetization"
List of posts associated with this tag
Show child attributes
Unique identifier for the post
1
Title of the post
"How to write a blog post"
Short summary or lead paragraph of the post
Status of the post (e.g., draft, published)
"published"
URL path for the post
"ten-tips-for-gaining-advantage"
Unique identifier of the post's author
1
List of products associated with this tag
Show child attributes
Unique identifier for the product
1
Name of the product
"public_product"
Display name of the product
URL path for the product
"public_product-1"
Reference ID of the product
"61a89e5b5146370001de74d4"
Indicates if the product is featured
false
Indicates if Dynamic Client Registration is enabled for this product
false
Unique identifier of the product's provider
1
Was this page helpful?