XML-RPC API Questions
Jan. 16th, 2019 09:10 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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 :)
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?