Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

 Performance Information

...

API Limitations

...

Add Members API

...

  • Maximum of 100,000 tag members supported efficiently. 

  • Each batch can include

Estimated Processing Times

Number of MembersApproximate Processing Time
1,000~1.03 sec
10,000~4.24 sec
100,000~39 sec
500,000~4 min 40 sec

Delete Members API

...

  • up to 2,000 tag members

...

Estimated Processing Times

Number of MembersApproximate Processing Time
1,000~1.02 sec
10,000~4.39 sec
100,000~37 sec
500,000~4 min 56 sec

API Limitations

Add Members API

    Maximum of 100,000 tag members supported efficiently. 
  • . If a tag is supposed to have 20,000 members, 10 sequential requests need to be sent, one after another.
  • Adding more than this can cause delays in tag-related operations.

  • Optimization for handling larger volumes is currently in progress.

Get Members API

  • Recommended for tags with fewer than 100,000 members.

  • Use cautiously with larger tags to avoid performance issues.

 API endpoints

SAT token requirements

Client should have following SAT capabilities:

Code Block
 "x1:coast:cmtagds:assign",
 "x1:coast:cmtagds:read",
 "x1:coast:cmtagds:unassign",
 "x1:coast:xconf:read",
 "x1:coast:xconf:read:maclist",
 "x1:coast:xconf:write",
 "x1:coast:xconf:write:maclist",

Get tag by id

Returns representation of XConf tag by provided tag id

...

Code Block
{
    "id": "test:tag:demotag",
    "description": "",
    "members": [
        "A2:A2:A2:A2:B2:B2"
    ],
    "updated": 1711651165855
}

Delete Tag

Removes tag from XDAS Redis based in-memory service first and in case of success from XConf

...

Response: 204 NO CONTENT, 404 NOT FOUND

Add members to tag

Adds new members to the tag. If tag does not exist – new tag is created in XConf. By default XConf does tag member normalization: whitespaces are trimmed, string data is set to upper case.

...

Code Block
{
    "id": "test:tag:demotag",
    "description": "",
    "members": [
        "A1:A1:A1:A1:B1:B1",
        "A2:A2:A2:A2:B2:B2"
    ],
    "updated": 1711651165855
}

 Remove members from tag

Removes members from the tag. If all members are removed, the tag is automatically deleted.

...

Response:404 NOT FOUND, 204 NO CONTENT status.

Remove member from tag

Removes member record from XDAS Redis based in-memory service first, in case of success removes tag member from XConf. Remove API takes non normalized data, normalization is done by XConf.

...

Response: 204 NO CONTENT status.

Get tag members

Code Block
GET /taggingService/tags/{tag}/members
Headers:
Accept = application/json
Content-Type = application/json
Authorization = Bearer {SAT token}

...

Code Block
[
    "A2:A2:A2:A2:B2:B2"
]


 XConf Rule Configuration with tags

1. Create New Firmware Rule with the tag as the condition using EXISTS operation.

Image RemovedImage Added


Image RemovedImage Added

2. Add needed MAC address or any other parameters to the tag, use "Add member to tag" API

...