RESTful API System - ALPHA testers needed
#11
(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]
Reply
#12
(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?
Rasmus Lerdorf Wrote:If eval() is the answer, you're almost certainly asking the wrong question. - Rasmus Lerdorf
Reply
#13
Reply
#14
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
Rasmus Lerdorf Wrote:If eval() is the answer, you're almost certainly asking the wrong question. - Rasmus Lerdorf
Reply
#15
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.
[Image: fSGNVQj.png]
Reply
#16
(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
Rasmus Lerdorf Wrote:If eval() is the answer, you're almost certainly asking the wrong question. - Rasmus Lerdorf
Reply
#17
nvm, after few months got it.
Reply
#18
How do the headers work?? I am so lost. I don't understand what it means by "pass the following headers"
Reply
#19
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
Reply
#20
Been trying to get this working for the past night as it would be very useful. No luck.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)