curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/tags \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"value": "<string>",
"config": {
"filtering": [
"achievement"
],
"display": [
"achievement"
],
"iconifyIcon": "<string>"
}
}
'{
"id": "<string>",
"organisationId": "<string>",
"value": "<string>",
"config": {
"filtering": [
"achievement"
],
"display": [
"achievement"
],
"iconifyIcon": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>"
}Create a new tag.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/tags \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"value": "<string>",
"config": {
"filtering": [
"achievement"
],
"display": [
"achievement"
],
"iconifyIcon": "<string>"
}
}
'{
"id": "<string>",
"organisationId": "<string>",
"value": "<string>",
"config": {
"filtering": [
"achievement"
],
"display": [
"achievement"
],
"iconifyIcon": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>"
}The language for the initial content of the tag. If not provided, the default language for the organisation will be used.
The input required to create a tag
The value of the tag
1The configuration of a tag
Show child attributes
The filtering options for the tag
achievement, action, community, challenge, post, reward, reward-asset, reward-entry The display options for the tag
achievement, action, community, challenge, post, reward, reward-asset, reward-entry The iconify icon for the tag
Successful response
A tag
The id of the tag
The id of the organisation the tag belongs to
The value of the tag
1The configuration of a tag
Show child attributes
The filtering options for the tag
achievement, action, community, challenge, post, reward, reward-asset, reward-entry The display options for the tag
achievement, action, community, challenge, post, reward, reward-asset, reward-entry The iconify icon for the tag
The date the tag was created
The date the tag was last updated
The id of the user who created the tag
The id of the user who last updated the tag
Was this page helpful?