easiness: (Default)
Easy ([personal profile] easiness) wrote in [site community profile] dw_dev2019-01-16 09:10 am
Entry tags:

XML-RPC API Questions

Hi everybody!

I have a few questions regarding the XML-RPC API and I was wondering if someone would be so nice to answer them :)

  • Checking the code I discovered that there's a restriction for the method addcomment in the API (here) that prevents non-paid accounts to use this method. I was wondering why this restriction exists because posting entries (through postevent method) is completely fine for non-paid accounts.

  • In the documentation the method getevents has the property usejournal to request entries from other journals but so far I'm only able to see entries from my own journal. Friends' journals or community journals return the error Don't have access to requested journal (here). Am I missing something? shouldn't I be able to retrieve those entries if I have the permissions to see them?

  • When retrieving entries from my journal using the method getevents, there's barely no information about the comments, only in the props property there's a subproperty called commentalter with a number which I don't know what is for. How do I get information about the comments of an entry?

  • Related to the comments, if I manage to get the ids, how do I retrieve the body? can I do it with getevents method?

  • About the getinbox method, I get some ids but no content at all. How do I get the body of those messages using those ids?

  • The documentation says that sessiongenerate is used to access web based parts of the site but it only mention comment exporter. Which other web based parts exist?

Post a comment in response:

Identity URL: 
Account name:
If you don't have an account you can create one now.
HTML doesn't work in the subject.


If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.