@pitaj That makes sense.
Thank you, I think that answers my question.
@pitaj That makes sense.
Thank you, I think that answers my question.
@pitaj Thanks for replying, I'm looking for a list of categories, i.e. all the categories which include topics where the user been involved.
Currently I can potentially do this by fetching all the posts via the API and get their corresponding categories, but this seems counter-intuitive and requires looping so it might be very consumptive I reckon.
I'm looking to build a page with the categories where the user is involved somehow, by posting, replying or doing something else additionally, pretty much like the watch feature on Jira, when you do an action related to a Jira ticket.
Is there an easy way to do this without looping through all the categories and topics to check for user activity?
If not, would someone have a suggestion as to what is the best approach to create this list, say, as a plugin?
Thanks in advance,
Hi all,
Is there actually no way to create a flag via the API? It seems like such a strange omission. I can get the existing flags using the /api/flags/
or even a particular flag with its id /api/flags/1
, but I can't find a way to create a flag via the API.
Is it really missing? What would be an easy way to make it possible to create flags via the API?
Thanks in advance,
Using the /api/post/upload
endpoint with master token ignores the _uid
param as it replies with
{
"status": {
"code": "forbidden",
"message": "[[error:no-privileges]]"
},
"response": {}
}
I have edited the privileges to allow guests to upload and this and immediately worked so I guess the /api/post/upload
endpoint simply ignores the _uid param? Or do I need to send it somehow specifically?