Pinned topics/posts are useful to help new users and we use them in all the categories. Some users end up directly in "unread" or "recent" and it would be helpful if we could pin topics to those as well.
API V3 pin topic with pinExpiry via api
-
I want to set a topic to pinned with pinExpiry via api
/api/v3/topics/${tid}/pin
body
{
"pinExpiry": "2023-06-27T22:00:00.000Z"
}or post a new topic with pin and pinExpiry
-
fix: update openapi spec to specify optional `expiry` argument available to be passed in via request body. by julianlam · Pull Request #11546 · NodeBB/NodeBB
Also updated test runner to ignore any request bodies in spec that are explicitly not required.
GitHub (github.com)