GET
/
tags
/
{tag_id}
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
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

tag_id
integer
required

UID of a tag

Example:

1

Response

200 - application/json

OK

ID
integer

Unique identifier for the tag

Example:

1

Name
string

Name of the tag

Example:

"monetization"

Posts
object[]

List of posts associated with this tag

Products
object[]

List of products associated with this tag