Author Topic: Request: Add API for creating new posts  (Read 1142 times)

0 Members and 1 Guest are viewing this topic.

Offline m!m

  • 211
Request: Add API for creating new posts
The reason I would like this feature is that the nightly build script fails to create the build thread because the browser it uses fails for some reason. In the past it submitted the create thread post by submitting the "Start new topic" form with the appropriate values but that broke when the forum version was upgraded.

I would like to ask if it is possible to provide a stable way of creating the nightly post (maybe only available to the SirKnightly account) that doesn't break as easily as the current nightly script code. I found a page on the SMF Wiki about a REST API but I am not sure if it is possible to add this to the forum software currently used by HLP.

Thank you.

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Request: Add API for creating new posts
I found the same mod, but unfortunately, the API changed in the SMF 2.0.14 version, and we are on 2.0.15.  The original author hasn't been active in some time so there aren't any updates to work with the new login method.

If someone is able to update the code to work with SMF 2.0.15, I'll happily add it to our installation.