cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-490684%22%20slang%3D%22en-US%22%3ECustom%20Tag%20Usage%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-490684%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3ESo%20far%20I've%20not%20been%20able%20to%20find%20a%20way%20to%20do%20this%20so%20I%20expect%20it%20can't%20be%20done%2C%20but%20does%20anybody%20know%20a%20way%20of%20querying%20either%20API%20v1%20or%20v2%20to%20find%20out%20how%20many%20times%20a%20particular%20custom%20tag%20has%20been%20used%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ENathan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-490708%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Tag%20Usage%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-490708%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F55712%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40VikasB%3C%2FA%3E%20but%20I%20think%20that's%20just%20for%20use%20with%20standard%20front%20end%20tags%2C%20not%20the%20Moderator%20custom%20tags...%20as%20in%20these%20ones%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2FCustom-tags%2FUsing-the-Community-API-with-Custom-Tags%2Fta-p%2F39908%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Flithosphere.lithium.com%2Ft5%2FCustom-tags%2FUsing-the-Community-API-with-Custom-Tags%2Fta-p%2F39908%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-490707%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Tag%20Usage%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-490707%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F32681%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40snaffle%3C%2FA%3E%3C%2FP%3E%3CP%3ETag's%20API%20returns%20it%20weight%20which%20represents%20the%20usage%20count%20of%20that%20tag.%26nbsp%3B%3CBR%20%2F%3ETry%20to%20hit%20this%20API%3C%2FP%3E%3CPRE%3E%2Frestapi%2Fvc%2Fboards%2Fid%2FBoard_id%2Ftagging%2Ftags%2Fall%3C%2FPRE%3E%3CP%3EHere%20you%20can%20see%20how%20the%20response%20will%20look%20like%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fprnt.sc%2Fkl2ow6%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fprnt.sc%2Fkl2ow6%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Advisor

Custom Tag Usage

Hi there,

So far I've not been able to find a way to do this so I expect it can't be done, but does anybody know a way of querying either API v1 or v2 to find out how many times a particular custom tag has been used?

Thanks

Nathan

2 Replies 2
Highlighted
Honored Contributor

@snaffle

Tag's API returns it weight which represents the usage count of that tag. 
Try to hit this API

/restapi/vc/boards/id/Board_id/tagging/tags/all

Here you can see how the response will look like https://prnt.sc/kl2ow6

Give kudos if you find my posts helpful or mark solution if it answers your query
Highlighted

Thanks @VikasB but I think that's just for use with standard front end tags, not the Moderator custom tags... as in these ones:

https://lithosphere.lithium.com/t5/Custom-tags/Using-the-Community-API-with-Custom-Tags/ta-p/39908