alarm_analysis:meta_tags
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
alarm_analysis:meta_tags [2023/06/21 10:31] – su | alarm_analysis:meta_tags [2023/06/21 13:46] – [How to add a "Meta Tag" to an Alarm Analysis Tag Index] su | ||
---|---|---|---|
Line 26: | Line 26: | ||
To administer an Alarm Analysis Tag Index, you must log on the App Store Connect server hosting the Alarm Analysis data source. The instructions below are useful Powershell command. | To administer an Alarm Analysis Tag Index, you must log on the App Store Connect server hosting the Alarm Analysis data source. The instructions below are useful Powershell command. | ||
- | **1. Identifiy Alarm Analysis | + | **1. Identifiy Alarm Analysis |
### Get all AA Tag Indices | ### Get all AA Tag Indices | ||
Line 39: | Line 39: | ||
e.g. " | e.g. " | ||
- | **2. Query a Tag Index** | + | **2. Find a meta-tag in the tag index** |
- | + | ||
- | ### Find tag in tag index | + | |
+ | ### Find tag | ||
+ | | ||
$body=' | $body=' | ||
" | " | ||
" | " | ||
- | " | + | " |
} | } | ||
} | } | ||
Line 54: | Line 54: | ||
-ContentType ' | -ContentType ' | ||
-Method Post ` | -Method Post ` | ||
- | -Body ' | + | -Body $body ` |
| ConvertTo-Json -Depth 20 | | ConvertTo-Json -Depth 20 | ||
| | ||
- | The above query is checking the " | + | The above query is checking the " |
- | **3. Add an entry to a Tag Index** | + | **3. Add an meta-tag |
- | If a tag doesn' | + | Only add a meta-tag to the tag-index, if... |
- | | + | |
+ | * You have a valid meta-tag name - //check against the meta-tag list.// | ||
+ | |||
+ | ### Create tag | ||
+ | | ||
$body=' | $body=' | ||
- | | + | |
- | "term":{ | + | "fullName": |
- | "id":" | + | "name": "Oil Co/Osprey/ALM BA report/3.priority", |
- | } | + | " |
- | } | + | " |
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
}' | }' | ||
- | + | | |
- | Invoke-RestMethod -Uri http:// | + | Invoke-RestMethod -Uri http:// |
-ContentType ' | -ContentType ' | ||
-Method Post ` | -Method Post ` | ||
- | -Body ' | + | -Body $body ` |
| ConvertTo-Json -Depth 20 | | ConvertTo-Json -Depth 20 | ||
+ | | ||
+ | **4. Delete a meta-tag from the tag index** | ||
- | **4. Remove an entry to a Tag Index** | + | Every tag in the tag index has a unique " |
+ | |||
+ | Use the search query above to obtain the " | ||
+ | ### Delete tag | ||
+ | | ||
+ | Invoke-RestMethod -Uri http:// | ||
+ | -ContentType ' | ||
+ | -Method Delete ` | ||
+ | | ConvertTo-Json -Depth 20 | ||
+ | | ||
alarm_analysis/meta_tags.txt · Last modified: 2024/01/31 14:23 by su