MyBB Community Forums

Full Version: RESTful API System - ALPHA testers needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2014-09-02, 01:18 PM)TheGarfield Wrote: [ -> ]
(2014-09-02, 01:09 PM)Euan T Wrote: [ -> ]Starred, thanks!

Oh thank you Smile

How we can proceed further on my request in the other thread,( I have requested an api to insert thread)

If you could point me some reference or can you start and i will do the rest, or some thing to initiate the first step.

I am looking into the mybbword plugin in wordpress repository, that is not working with latest mybb, but, just looking into that to understand how it is coded.
[url=http://www.pinterest.com/pin/create/extension/][/url]
(2014-09-06, 10:11 PM)tekkiram Wrote: [ -> ]How we can proceed further on my request in the other thread,( I have requested an api to insert thread)

If you could point me some reference or can you start and i will do the rest, or some thing to initiate the first step.

I am looking into the mybbword plugin in wordpress repository, that is not working with latest mybb, but, just looking into that to understand how it is coded.
[url=http://www.pinterest.com/pin/create/extension/][/url]

Actually I've created the "createthread" API.

1. Install the plugin

2. From the Admin CP > Configuration > RESTful API System, under Configuration tab, activate "createthread" API.

3. Under "New API Key" create a new API key, and give it access to the "createthread" API.

4. Now you can query your API as follows :

http://mybb/api.php/createthread

Pass the following headers :

output : json
apikey : [put the API key you generated]
username : The user that will be posting the thread's username
password : The user's password

And the following parameters :
forumid : The ID to the forum you want to post a thread
subject : The thread subject
message : The thread's message (content)
ipaddress : The API address of the user


Could you start by testing that?
Does this mean that the create thread API worked fine for you? I would appreciate your feedback, I'll be working on a createuser API soon Smile
This is a GREAT piece of software. I am willing to contribute building it if you want. I have little time available but it's enough to work on this. Contact me privately and we can talk together.
(2014-09-21, 07:06 PM)Shade Wrote: [ -> ]This is a GREAT piece of software. I am willing to contribute building it if you want. I have little time available but it's enough to work on this. Contact me privately and we can talk together.

Hey, I would appreciate that, I'm going to go back working on this project right after I release MyProfile, which shouldn't be long.

I'll send you a PM in minutes Wink
nvm, after few months got it.
How do the headers work?? I am so lost. I don't understand what it means by "pass the following headers"
what are the example endpoints in this api?
i see there is for example
https://MYDOMAIN/api.php/user/
or
https://MYDOMAIN/api.php/online/?usernam...key=APIKEY
but it does not give any results

how to display results online on forum with these parameters
https://github.com/medbenji/MyBB-RESTful....class.php
Been trying to get this working for the past night as it would be very useful. No luck.
Pages: 1 2 3