Changing topic status via api to pinned-global does not work

Ah good :ok_hand:. Taking a look through the code, I see this which would cause a 400 error

I think you need pinned_globally instead of pinned-globally. Can you try that and see if it works? Looks like that’s a typo in our API documentation - I’ll get it fixed.

Edit: fixed in Correct pinned_globally in topic status documentation · discourse/discourse_api_docs@fcf0d5f · GitHub

5 Likes