I'm trying to use "PlayerStream - GetPlayerTags" (Client).
This request has parameter "Namespace", and the reference explains "Optional namespace to filter results by".
I understand that if I don't specify this parameter, I get the following response:
{ "code": 200, "status": "OK", "data": { "PlayFabId": "HOGEHOGE", "Tags": [ "title.{TitleId}.Example.TagName14", "title.{TitleId}.Example.TagName3", "title.{TitleId}.Sample.TagName9" ] } }
For example, if I want to filter by "title. {TitleId} .Example" to get the tags, can I control it with the "Namespace" parameter? I tried regular expressions and wildcards, but both returned an empty tags list.
I expect the following response:
{ "code": 200, "status": "OK", "data": { "PlayFabId": "HOGEHOGE", "Tags": [ "title.{TitleId}.Example.TagName14", "title.{TitleId}.Example.TagName3", ] } }
Answer by Sarah Zhang · Feb 09, 2021 at 07:12 AM
As this documentation -- Play Stream - Add Player Tag (PlayFab Server) | Microsoft Docs said, the tag’s namespace is generated automatically based on the source of the tag. Currently, the custom namespace is not supported. If you want this API add the feature of custom namespace, you can try to add a feature request for it.
Thank you for your answer. I understand that custom namespaces are not supported.
So what does the "Namespace" parameter mean? Shouldn't this parameter be used?
Currently, the only valid namespace of player tags is “title.[TitleId]”. Setting it to other namespaces wouldn’t make sense.
Can I pass properties from a Rule into the arguments of a ExecuteCloudScript Action? 1 Answer
Changing Stats from multiple Players 1 Answer
Cloudscript request arguments in playstream 1 Answer
CloudScript: How can I mark suspicious players? 1 Answer
How long until a task executed on a specific player 1 Answer